[Insight-users] setting pixels in an ellipsoid region

Bill Lorensen bill.lorensen at gmail.com
Tue Feb 14 14:47:11 EST 2012


Take a look at itkEllipsoidInteriorExteriorSpatialFunction

On Tue, Feb 14, 2012 at 6:07 AM,  <danieljohnsonusa at netscape.net> wrote:
> I am doing image processing of a 3D image and need to modify all the pixels
> in an ellipsoid region of the image.  I'm relatively new to ITK, but from
> what I've read it appears the only way built in to the libraries for
> defining an image region is a cube.  Is there any existing function or
> library already written for defining a spherical or ellipsoid region of an
> image?  I'm about to start writing code to define a region like this for
> setting pixels with an image iterator, but I wanted to check first to make
> sure someone hasn't done this already.  If nothing like this exists yet, I'd
> be happy to share the code after I finish it if anyone else would find it
> useful.
>
> Thanks,
>
> Daniel
>
>
> _____________________________________
> 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.html
>
> 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



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list