[ITK-users] Which iterator to use for spherical or cylindrical neighborhood

Jonas Teuwen <[email protected]>
Newsgroups gmane.comp.lib.itk.user
Message-ID <CACsn5GzSkxMzxGb4JkUEWd36sKP3Gyk7_fkZsCLRyJ-Ym5w_nw@mail.gmail.com>
Hi all,

I have point annotations in images which can be a little bit 'off center',
a solution would be to find the maximum in a spherical or cylindrical
region. For instance, if I have annotation, (a,b, c) I would want (x - a)^2
+ (y - b)^2 <= some radius and |z - c| < height or  (x - a)^2 + (y - b)^2
 + (z - c)^2 <= some radius.

I know I can use MinimumMaximumFilter for this, but how do I find this in
the requested neighborhood?

Best,
Jonas Teuwen

_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.