[Insight-users] RegionOfInterestImageFilter Question

Bill Lorensen bill.lorensen at gmail.com
Sun May 27 16:28:21 EDT 2012


Looks to me like the region is outside the largest possible region.
The largest possible region goes from:
(-50,-40) to (582-50-1, 582-40-1) -> (531, 541)
while your ROI goes from
(15,0) to (553 + 15-1, 582 + 0-1) -> (567, 581)

On Sat, May 26, 2012 at 5:47 AM, alex Dowson <alexdowson at hotmail.com> wrote:
> Hi
>
> I am using RegionOfInterestImageFilter file for cropping some region but it
> gives me this error
>
> Description: Requested region is (at least partially) outside the largest
> possible region.
>
>
> I donot know what is problem here is my index and size for input and output.
>
> Input LargestPossibleRegion:
> Index : [ –50,-40]   Size : [582,582]
>
> ROI Size :
> Index : [15,0]  Size: [ 553,582]
>
>
> Can anyone tell me what is doing I am wrong ? I am in already range for
> Region interest.
>
>
> Alex
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list