[Insight-users] Non square region paste Image filter

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Apr 22 10:29:07 EDT 2013


Hello,

Would just multiplying by an image mask of 0 and 1s work for you?

Brad

On Apr 22, 2013, at 10:21 AM, Emma Saunders <emmasaunders123 at gmail.com> wrote:

> Hi,
> 
> If I have an image and I would like to extract a volumetric spherical region are there filters available in itk for this.  One method I was thinking was using the pastImageFilter, but this requires one to set the region which from my limited understanding doesn't allow for non square / rectangle definitions (in 2d)
> 
> Can anyone suggest a method or filter to use to extract e.g an ellipse / circle from an image and setting everything outside to zero?
> 
> Kind regards
> 
> Emma
> _____________________________________
> 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://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list