
Now let us imagine that we need to find the boundary between dark and light regions.For a human, this is obvious: it is enough to look at the image. But a computer must perform certain calculations to detect such a change in brightness.One way to solve this problem is to use a small weight matrix called a convolution kernel (kernel).It moves across the image, analyzes small patches of pixels, and calculates how much they differ from one another.This is the