Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Using Sobel edge detection algorithm to detect color images and how to generate output images.

First of all, I want to point out that my English is very poor, please understand.

After using the edge of the Sobel operator to detect color images, a color image with edge information is often generated. How does the Sobel operator determine the color of each pixel in the color image?

As shown in the picture,image description

The left image is the original image, the right image is generated after the Sobel edge detection, as shown on the right, I want to detect the level of the liquid level after the Sobel edge detection, it is red, and the other edges of the detection are other colors, and this is why?

If I change the background to blue, the detected liquid level will be blue.

Why does the edge of the liquid level change with the color of the background, and what is the color of the image generated by Sobel based on the principle of color?

Using Sobel edge detection algorithm to detect color images and how to generate output images.

First of all, I want to point out that my English is very poor, please understand.

After using the edge of the Sobel operator to detect color images, a color image with edge information is often generated. How does the Sobel operator determine the color of each pixel in the color image?

As shown in the picture,image description

The left image is the original image, the right image is generated after the Sobel edge detection, as shown on the right, I want to detect the level of the liquid level after the Sobel edge detection, it is red, and the other edges of the detection are other colors, and this is why?

If I change the background to blue, the detected liquid level will be blue.

Why does the edge of the liquid level change with the color of the background, and what is the color of the image generated by Sobel based on the principle of color?