类 SwizzleFilter

  • 所有已实现的接口:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class SwizzleFilter
    extends PointFilter
    A filter which allows channels to be swapped. You provide a matrix with specifying the input channel for each output channel.
    • 构造器详细资料

      • SwizzleFilter

        public SwizzleFilter()
    • 方法详细资料

      • setMatrix

        public void setMatrix​(int[] matrix)
        Set the swizzle matrix.
        参数:
        matrix - the matrix
        另请参阅:
        getMatrix()
      • getMatrix

        public int[] getMatrix()
        Get the swizzle matrix.
        返回:
        the matrix
        另请参阅:
        setMatrix(int[])
      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        指定者:
        filterRGB 在类中 PointFilter
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object