[ITK-users] Which iterator to use for spherical or cylindrical neighborhood
Matt McCormick
matt.mccormick at kitware.com
Mon Jul 31 10:48:32 EDT 2017
Hi Jonas,
Perhaps the itk::RegionOfInterestImageFilter is what you want?
https://itk.org/ITKExamples/src/Filtering/ImageGrid/ExtractRegionOfInterestInOneImage/Documentation.html
Hope this helps,
Matt
On Sat, Jul 29, 2017 at 12:01 PM, Jonas Teuwen <jonasteuwen at gmail.com> wrote:
> 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
>
More information about the Insight-users
mailing list