MantisBT - ITK
View Issue Details
0011149ITKpublic2010-08-18 15:342010-11-07 02:48
robert tamburo 
Luis Ibanez 
normalfeatureN/A
assignedopen 
ITK-3-18 
 
0011149: Pixel exclusion criteria for MinimumMaximumImageCalculator
It's useful to exclude a specific intensity value when calculating the min/max of the image, e.g., ignoring the background 0 when calculating the minimum pixel intensity. I modified MinimumMaximumCalculator by creating new compute functions that take, as arguments, a pixel value to exclude. "Old" compute functions were untouched maintaining backwards compatibility.
No tags attached.
zip itkNewMinimumMaximumImageCalculator.zip (2,969) 2010-08-18 15:34
https://public.kitware.com/Bug/file/3327/itkNewMinimumMaximumImageCalculator.zip
Issue History
2010-08-18 15:34robert tamburoNew Issue
2010-08-18 15:34robert tamburoFile Added: itkNewMinimumMaximumImageCalculator.zip
2010-11-02 12:03Hans JohnsonStatusnew => assigned
2010-11-02 12:03Hans JohnsonAssigned To => Luis Ibanez
2010-11-02 12:04Hans JohnsonNote Added: 0022781
2010-11-07 02:48Luis IbanezNote Added: 0023008

Notes
(0022781)
Hans Johnson   
2010-11-02 12:04   
Luis,

Kent to do this if you think it is a useful addition. It seems, though, that this may be done in a more general way so that feature creap does not come into play.

Hans
(0023008)
Luis Ibanez   
2010-11-07 02:48   
Let's discuss this in the developers mailing list.

One could imagine many other conditions for filtering pixels in this filter...

A boolean Functor (or an actual boolean function) could be alternatives that generalize the problem. The user will have to provide such functor, the same way that we do with the comparator in an stl::sort.