[ITK] [ITK-users] Is ConstSliceIterator the class I am looking for ?

UJJWAL aryan meetukme at gmail.com
Thu Jun 12 12:39:41 EDT 2014


Hi,

I have recently started coding in ITK and am new to it. I am using ITK
4.5.2 The problem I am trying to solve is the following :

For an image of height "H" and width "W", I want to obtain slices of height
"H" and width "b", (b<W), and do processing on them. The slices should be
obtained by centering them on each sample of the width.
This of course needs me to iterate safely. for example, I cannot center my
slices on the leftmost point on the width axis, due to the border issues.

I could not understand which class of ITK I should use for this kind of
iteration through an image ? I felt somehow ConstSliceIterator would work,
but could not understand how to use it for that purpose.  Could someone
help ?

-- 
Ujjwal
IIIT Hyderabad
Mob - 8142265628
ujjwal at research.iiit.ac.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140612/5a87afb6/attachment.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