View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002811ITKpublic2006-02-01 14:282006-02-21 16:22
ReporterAndinet 
Assigned ToAndinet 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002811: Output requested region doesn't get updated correctly in ShrinkImageFilter
DescriptionA second call for Update() will not cause the the output requested region to be set to a new largest possible region.
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships
related to 0008245closedBill Lorensen ShrinkImageFilter does not stream 

  Notes
(0003667)
Andinet (developer)
2006-02-01 14:42

A second call of Update() in ShrinkImageFilter results in InvalidRequest region error.

Reading the "itk::ProcessObject" documentation reveals that to update the output requested region more than one time, UpdateLargetstPossibleRegion() should be used instead of Update() method.

However, this is not an elegant way of dealing with such a special case. Especially for toolkit users who are used to invoking Update() functions..

Addition of "EnlargeOutputRequeestedRegion" method to the ShrinkImageFilter solves this issue. With this method, the output requested region would be correctly set even with second or more calls of the Update() function.
(0003748)
Andinet (developer)
2006-02-15 14:19

A fix has been committed

 Issue History
Date Modified Username Field Change
2008-12-05 16:09 Bradley Lowekamp Relationship added related to 0008245


Copyright © 2000 - 2018 MantisBT Team