Class ErodeLabels

  • All Implemented Interfaces:
    PlugInFilter, net.haesleinhuepf.clij.macro.CLIJMacroPlugin, net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor, net.haesleinhuepf.clij.macro.documentation.OffersDocumentation, HasClassifiedInputOutput, net.haesleinhuepf.clij2.utilities.IsCategorized, SciJavaPlugin

    public class ErodeLabels
    extends AbstractCLIJ2Plugin
    implements net.haesleinhuepf.clij.macro.CLIJMacroPlugin, net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor, net.haesleinhuepf.clij.macro.documentation.OffersDocumentation, net.haesleinhuepf.clij2.utilities.IsCategorized, HasClassifiedInputOutput
    Author: @haesleinhuepf February 2021
    • Constructor Detail

      • ErodeLabels

        public ErodeLabels()
    • Method Detail

      • getParameterHelpText

        public String getParameterHelpText()
        Specified by:
        getParameterHelpText in interface net.haesleinhuepf.clij.macro.CLIJMacroPlugin
      • getDefaultValues

        public Object[] getDefaultValues()
        Overrides:
        getDefaultValues in class net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
      • executeCL

        public boolean executeCL()
        Specified by:
        executeCL in interface net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor
      • shrinkLabels

        @Deprecated
        public static boolean shrinkLabels​(CLIJ2 clij2,
                                           net.haesleinhuepf.clij.clearcl.ClearCLBuffer labels_input,
                                           net.haesleinhuepf.clij.clearcl.ClearCLBuffer labels_destination,
                                           Integer radius,
                                           Boolean relabel_islands)
        Deprecated.
      • erodeLabels

        public static boolean erodeLabels​(CLIJ2 clij2,
                                          net.haesleinhuepf.clij.clearcl.ClearCLBuffer labels_input,
                                          net.haesleinhuepf.clij.clearcl.ClearCLBuffer labels_destination,
                                          Integer radius,
                                          Boolean relabel_islands)
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface net.haesleinhuepf.clij.macro.documentation.OffersDocumentation
      • getAvailableForDimensions

        public String getAvailableForDimensions()
        Specified by:
        getAvailableForDimensions in interface net.haesleinhuepf.clij.macro.documentation.OffersDocumentation
      • getCategories

        public String getCategories()
        Specified by:
        getCategories in interface net.haesleinhuepf.clij2.utilities.IsCategorized