类 BinaryFilter

    • 字段详细资料

      • newColor

        protected int newColor
      • iterations

        protected int iterations
    • 构造器详细资料

      • BinaryFilter

        public BinaryFilter()
    • 方法详细资料

      • setIterations

        public void setIterations​(int iterations)
        Set the number of iterations the effect is performed.
        参数:
        iterations - the number of iterations
        另请参阅:
        getIterations()
      • getIterations

        public int getIterations()
        Get the number of iterations the effect is performed.
        返回:
        the number of iterations
        另请参阅:
        setIterations(int)
      • setColormap

        public void setColormap​(Colormap colormap)
        Set the colormap to be used for the filter.
        参数:
        colormap - the colormap
        另请参阅:
        getColormap()
      • setNewColor

        public void setNewColor​(int newColor)
      • getNewColor

        public int getNewColor()
      • setBlackFunction

        public void setBlackFunction​(BinaryFunction blackFunction)