[Insight-users] Dynamic Threshold Filter

Luis Ibanez luis.ibanez at kitware.com
Sat Mar 6 17:40:11 EST 2010


Hi Christian,

You could do:

1) Pass the input image through the
    MeanImageFilter (with your kernel size)

2) Subtract the outcome of (1) from the input
    image by using the SubtractImageFilter

3) Threshold the output of (2) with the standard
     BinaryThreshold image filter.


Of course, you could also implement this filter
by merging together the code of the Mean
subtract and threshold filters (not in a pipeline,
but as a single pass filter).

If you take this last option, it will be great if you
share the filter with the ITK community by posting
the code as a paper to the Insight Journal   :-)

      http://www.insight-journal.org


   Regards,


        Luis


-------------------------------
On Fri, Mar 5, 2010 at 1:24 PM, Christian Werner
<christian.werner at rwth-aachen.de> wrote:
> Hello!
>
> I didn't get to find a dynamic threshold filter in ITK, is there such? It is
> typically used to extract pixel/voxels who's value differ about a certain
> threshold from the average of a neigborhood in a given distance (kernel
> size).
>
> In contrast to the simple BinaryThresholdImageFilter it catches elements
> that "stand out" from the neighborhood.
>
> Any suggestions?
>
>
> Best regards,
> Christian
> _____________________________________
> 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
>


More information about the Insight-users mailing list