类 EdgeFilter

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

    public class EdgeFilter
    extends WholeImageFilter
    An edge-detection filter.
    • 字段详细资料

      • R2

        public static final float R2
      • ROBERTS_V

        public static final float[] ROBERTS_V
      • ROBERTS_H

        public static final float[] ROBERTS_H
      • PREWITT_V

        public static final float[] PREWITT_V
      • PREWITT_H

        public static final float[] PREWITT_H
      • SOBEL_V

        public static final float[] SOBEL_V
      • SOBEL_H

        public static float[] SOBEL_H
      • FREI_CHEN_V

        public static final float[] FREI_CHEN_V
      • FREI_CHEN_H

        public static float[] FREI_CHEN_H
      • vEdgeMatrix

        protected float[] vEdgeMatrix
      • hEdgeMatrix

        protected float[] hEdgeMatrix
    • 构造器详细资料

      • EdgeFilter

        public EdgeFilter()
    • 方法详细资料

      • setVEdgeMatrix

        public void setVEdgeMatrix​(float[] vEdgeMatrix)
      • getVEdgeMatrix

        public float[] getVEdgeMatrix()
      • setHEdgeMatrix

        public void setHEdgeMatrix​(float[] hEdgeMatrix)
      • getHEdgeMatrix

        public float[] getHEdgeMatrix()
      • filterPixels

        protected int[] filterPixels​(int width,
                                     int height,
                                     int[] inPixels,
                                     java.awt.Rectangle transformedSpace)
        从类复制的说明: WholeImageFilter
        Actually filter the pixels.
        指定者:
        filterPixels 在类中 WholeImageFilter
        参数:
        width - the image width
        height - the image height
        inPixels - the image pixels
        transformedSpace - the output bounds
        返回:
        the output pixels
      • toString

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