CE PREWITT - Contrast Enhancement - Prewitt

(5/03/01)

PURPOSE

Prewitt edge detection on image/volume. Useful for edge detection.   Example.

SEE ALSO

CE S [Contrast Enhancement - Sobel]
CE LAP [Contrast Enhancement - Laplacian]

USAGE

.OPERATION: CE PREWITT

.INPUT FILE: VOL001
[Enter the name of the input file.]

.OUTPUT FILE: VOL002
[Enter name for output file.]

NOTES

  1. Image/volume is "circularly closed" so that pixels on boundaries have a neighbor on opposite boundary. Neighborhood is always 3x3 in this implementation.

  2. Prewitt 3x3 kernals in 2D are
     
                1  0 -1          -1 -1 -1       
                1  0 -1           0  0  0 
                1  0 -1           1  1  1 
    

  3. Kernal in 3D is a 3D extension of the 2D kernal.

  4. The two kernals are both applied to the original data and the current pixel is replaced by the maximum returned by either of the two applications.

SUBROUTINES

FILTER

CALLER

UTIL2

© Copyright Notice /       Enquiries: spider@wadsworth.org