Re: new version of Fast Filters plugin

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/new-version-of-Fast-Filters-plugin-tp3684966p5013223.html

On Sat, June 20, 2015 08:39, justelouise wrote:
> Anyway, may I know the step by step processing ImageJ does before and
> after running the filter? I'll just try to simulate that.

For (Extended)PlugInFilters, the processing is done in PlugInFilterRunner.
You can find the code at
  https://github.com/imagej/imagej1/blob/master/ij/plugin/filter/PlugInFilterRunner.java

It's quite a bit of code, but you can ignore all those code parts that are
for flags that the PlugInFilter under consideration does not use.

For the Fast_Filters, if you don't populate the variables for the filter
parameters from the dialog, so you can use its run(ip) method, you also
have to code an equivalent to its run(ip). Alternatively, of course you
can modify the Fast_Filters code and add a public method that fits your
needs.

Michael

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