Re: [ITK-users] Which iterator to use for spherical or cylindrical neighborhood
Matt McCormick <[email protected]>
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CALzTN-Q2ztBPO6mnOaft8v=B5hOx++VnTFOVk2OpkhZVvOCD=A@mail.gmail.com> |
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 <[email protected]> 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 > _____________________________________ 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