[Insight-users] A problem about extract the region of interest

=?GB2312?B?/Yj9iA==?= anjingdelonglong at gmail.com
Wed Aug 1 23:10:31 EDT 2012


HI ALL

i'm doing my project using ITK. but i got a problem about the extract of 3D
image.

i'm using vtkRegionofInterestImageFilter. follow the example:

ImageType::IndexType start;
start[0] = …
start[1] = …
start[2] = …

ImageType::SizeType size;
size[0] = …
size[1] = …
size[2] = …

ImageType::RegionType desiredRegion;
desiredRegion.SetSize(size);
desiredRegion.SetIndex(start);

BUT, i hope that the start point that i gave can be the center point of the
cube. not the cornor.

what should i do . thank u.

--
Ryuu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120802/2f4a86b5/attachment.htm>


More information about the Insight-users mailing list