[Insight-users] RegionOfInterestImageFilter Question

David Doria daviddoria at gmail.com
Sat May 26 06:52:27 EDT 2012


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

That looks reasonable... but I've actually never used negative
indexes. Could you throw together a quick demo that sets up those
regions and demonstrates the error?

David


More information about the Insight-users mailing list