Class BinaryFilter

    • Field Detail

      • newColor

        protected int newColor
      • iterations

        protected int iterations
    • Constructor Detail

      • BinaryFilter

        public BinaryFilter()
    • Method Detail

      • setIterations

        public void setIterations​(int iterations)
        Set the number of iterations the effect is performed.
        Parameters:
        iterations - the number of iterations, min-value 0
        See Also:
        getIterations()
      • getIterations

        public int getIterations()
        Get the number of iterations the effect is performed.
        Returns:
        the number of iterations
        See Also:
        setIterations(int)
      • setColormap

        public void setColormap​(Colormap colormap)
        Set the colormap to be used for the filter.
        Parameters:
        colormap - the colormap
        See Also:
        getColormap()
      • setNewColor

        public void setNewColor​(int newColor)
      • getNewColor

        public int getNewColor()
      • setBlackFunction

        public void setBlackFunction​(BinaryFunction blackFunction)