Prewitt

Prewitt

Prewitt is a method of edge detection in image processing which calculates the maximum response of a set of convolution kernels to find the local edge orientation for each pixel.

Description

Various kernels can be used for this operation. The whole set of 8 kernels is produced by taking one of the kernels and rotating its coefficients circularly. Each of the resulting kernels is sensitive to an edge orientation ranging from 0° to 315° in steps of 45°, where 0° corresponds to a vertical edge.

The maximum response for each pixel is the value of the corresponding pixel in the output magnitude image. The values for the output orientation image lie between 1 and 8, depending on which of the 8 kernels produced the maximum response.

This edge detection method is also called edge template matching, because a set of edge templates is matched to the image, each representing an edge in a certain orientation. The edge magnitude and orientation of a pixel is then determined by the template that matches the local area of the pixel the best.

The Prewitt edge detector is an appropriate way to estimate the magnitude and orientation of an edge. Although differential gradient edge detection needs a rather time-consuming calculation to estimate the orientation from the magnitudes in the x- and y-directions, the Prewitt edge detection obtains the orientation directly from the kernel with the maximum response. The set of kernels is limited to 8 possible orientations; however experience shows that most direct orientation estimates are not much more accurate.

On the other hand, the set of kernels needs 8 convolutions for each pixel, whereas the set of kernel in gradient method needs only 2, one kernel being sensitive to edges in the vertical direction and one to the horizontal direction. The result for the edge magnitude image is very similar with both methods, provided the same convolving kernel is used.

Formulation

Mathematically, the operator uses two 3×3 kernels which are convolved with the original image to calculate approximations of the derivatives - one for horizontal changes, and one for vertical. If we define mathbf{A} as the source image, and mathbf{G_x} and mathbf{G_y} are two images which at each point contain the horizontal and vertical derivative approximations, the latter are computed as:

:mathbf{G_x} = egin{bmatrix} -1 & 0 & +1 \-1 & 0 & +1 \-1 & 0 & +1 end{bmatrix} * mathbf{A}quad mbox{and} quad mathbf{G_y} = egin{bmatrix} -1 & -1 & -1 \0 & 0 & 0 \+1 & +1 & +1 end{bmatrix} * mathbf{A}

ee also

* Sobel operator
* edge detection
* feature detection (computer vision)
* digital image processing
* computer vision
* feature extraction
* Image gradient


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Prewitt — bezeichnet einen Begriff der Kanten Detektion, Prewitt Operator einen Ort in New Mexico, siehe Prewitt (New Mexico) Prewitt ist der Familienname von Chad Prewitt (* 1980), US amerikanischer Basketballspieler Diese Sei …   Deutsch Wikipedia

  • Prewitt-Operator — Der Prewitt Operator ist ein Kantendetektions Filter ähnlich dem Sobel Operator, nur werden bei diesem die Grauwerte in der aktuellen Gradientenrichtung nicht zusätzlich gewichtet.   und   Analog zum Sobel Operator erhält man… …   Deutsch Wikipedia

  • Frank Prewitt — James Franklin Prewitt (Pron en|ˈpruːˈwɪt; born January 31, 1949) is an American attorney, government affairs consultant, and the confidential source the Federal Bureau of Investigation (FBI) relied on to initiate the Alaska political corruption… …   Wikipedia

  • Chad Prewitt — Spielerinformationen Spitzname Big Red Geburtstag 6. April 1980 Geburtsort Cody, Vereinigte Staaten Größe …   Deutsch Wikipedia

  • Archer Prewitt — Saltar a navegación, búsqueda Archer Prewitt Información personal Origen Frankfort, Kentucky, Estados Unidos Ocupación(es) Músico Diseña …   Wikipedia Español

  • Cheryl Prewitt — Beauty pageant titleholder Born Ackerman, Mississippi Height 5 ft 7 in (1.70 m)[1] Weight 114 lb (52 kg) …   Wikipedia

  • Archer Prewitt — Infobox musical artist | Name = Archer Prewitt Img size = Landscape = Background = non vocal instrumentalist Birth name = Alias = Born = Died = Origin = Frankfort, Kentucky, United States Instrument = Voice type = Genre = Indie rock, post rock… …   Wikipedia

  • 87045 — Prewitt, Nm (Miscellaneous » ZIP Codes) …   Abbreviations dictionary

  • From Here to Eternity — Filmdaten Deutscher Titel: Verdammt in alle Ewigkeit Originaltitel: From Here to Eternity Produktionsland: USA Erscheinungsjahr: 1953 Länge: 118 Minuten Originalsprache: Englisch …   Deutsch Wikipedia

  • Verdammt in alle Ewigkeit — Filmdaten Deutscher Titel Verdammt in alle Ewigkeit Originaltitel From Here to Eternity …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”