Prewittsuodattimet
Prewittsuodattimet, also known as Prewitt operators, are a set of convolution kernels used in image processing and computer vision to detect edges in an image. They were developed by Judith Prewitt in the 1970s. These filters are designed to approximate the gradient of the image intensity function. The Prewitt operator calculates the gradient of the image intensity in the horizontal and vertical directions separately.
The operator typically consists of two 3x3 kernels. One kernel, Gx, is used to approximate the gradient
And the Gy kernel usually has values like:
When these kernels are convolved with an image, they produce two images representing the horizontal and vertical
Prewittsuodattimet are relatively simple to implement and computationally inexpensive compared to some other edge detection algorithms.