Class JAIEdgeDetection

    • Field Detail

      • firstMask

        public StringAttribute firstMask
        The following two parameters are used to specify the masks used for edge detection. Traditionally one mask is used for horizontal edge detection, and one mask is used for vertical edge detection. The following predefined masks are available: Sobel horizontal mask. Sobel vertical mask. Roberts horizontal mask. Roberts vertical mask. Prewitt horizontal mask. Prewitt vertical mask. Frei and Chen horizontal mask. Frei and Chen vertical mask. A diagonal mask, which finds edges in the direction of a slash. A back diagonal mask, which finds edges in the direction of a backslash. A Transparent mask. Using this mask allows you to find edges in one direction and add them back to the original image. A mask of zeros. The default mask for the first choice is a Sobel horizontal mask. The default mask for the second choice is a Sobel vertical mask. The user can also specify mask(s). The dimensions of the mask(s) must be specified if the user chooses to do so.
      • userSpecifiedFirstMask

        public Parameter userSpecifiedFirstMask
        The first user specified mask, and its corresponding x and y dimensions. The Default mask is the transparent mask, and the default x and y dimensions is 3.
      • userSpecifiedSecondMask

        public Parameter userSpecifiedSecondMask
        The second user specified mask, and its corresponding x and y dimensions. The Default mask is the transparent mask, and the default x and y dimensions is 3.