Re: Mode filter

Posted by ctrueden on
URL: http://imagej.273.s1.nabble.com/Mode-filter-tp5019225p5019257.html

Hi Jim & everyone,

It would be straightforward to add a mode filter to ImageJ Ops [1], but
first, a question: what should the algorithm do when there are
multiple/many values tied for mode?

Regards,
Curtis

[1] https://imagej.net/Ops

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Wed, Aug 23, 2017 at 2:13 PM, Jim Peterson <[hidden email]>
wrote:

> Richard, I first want to apologize that I do not have an answer for you,
> but I did want to comment on Michael's response.
>
> I disagree with Michael's comment that the mode filter is of little
> value.  If the value of the pixels in the image represent a classification
> rather than digitization of a continuous attribute (like color), then the
> mode filter can be applied to replace "objects" of small size with the
> predominant classification in the neighborhood.  Continuous operations like
> the mean filter, and others like scaling algorithms, and standard edge
> detection operations do not lend themselves well to classified images.  So,
> in short I certainly do see the value in a mode filter, but sadly I do not
> know of an implementation of it in ImageJ or FIJI.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html