[Insight-users] Masked NormalizeImageFilter

Bradley Lowekamp blowekamp at mail.nih.gov
Tue Jul 26 09:13:35 EDT 2011


Hello Martijn,

You could try using then LabelStatisticsImageFilter. Where this filter will compute the mean an variance. Then this could be translated into shift and scale parameters for the ShiftScaleImageFilter.

Brad

On Jul 25, 2011, at 10:42 AM, Martijn Steenwijk wrote:

> Dear all,
> 
> I'm using an approach similar as in http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/NormalizeImageFilter to normalize the intensities of my data. However, the filter takes the background voxels into account while computing the mean and the variance. Is there a way to mask the input of the filter?
> 
> Best,
> Martijn
> _____________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110726/f9cf893b/attachment.htm>


More information about the Insight-users mailing list