Discussion:
[ITK-users] Which iterator to use for spherical or cylindrical neighborhood
Matt McCormick
2017-07-31 14:48:32 UTC
Permalink
Hi Jonas,

Perhaps the itk::RegionOfInterestImageFilter is what you want?

https://itk.org/ITKExamples/src/Filtering/ImageGrid/ExtractRegionOfInterestInOneImage/Documentation.html

Hope this helps,
Matt
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
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

Loading...