[ITK Community] [Insight-users] SetFixedImageRegion
Iyas Hamdan
iyas.hamdan at gmail.com
Tue Feb 4 05:56:39 EST 2014
Hello all,
I am working on image registration, and for now I am considering the whole
image but I want to use a region of interest instead.
And to do so I'm using :
registration ->SetFixedImageRegion(region);
And "region" being my region of interesed defined as follows: ( assuming 2D
)
FixedImageType::IndexType index;
FixedImageType::SizeType size;
FixedImageType::RegionType region;
index[0] = xxx;
index[1] = yyy;
size[0] = xx;
size[1] = yy;
region.SetIndex(index);
region.SetSize(size);
This way I define my region of interest as a rectangle, so my question is;
is it possible to make it two different rectangles ( having two regions of
interest in the image) ?
Thanks in advance!
Iyas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140204/87064403/attachment-0002.html>
-------------- next part --------------
_____________________________________
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
More information about the Community
mailing list