Deep Learning/Object Detection

Image Intensity, Canny

Naranjito 2024. 5. 28. 11:59

There is a sharp change in intensity a sharp change in color.

 


Image can be read as a matrix an array of pixels that contains the light intensity at some location.

 

0 : no intensity if something is completely black

255 : maximum intensity that something being completely white

 



a strong gradient : a steep change

a small gradient : a shallow change

 

 


  • cv2.Canny 

 

cv2.Canny(image, low_threshold, high_threshold)

 

Compute the derivative in all directions of the image.



And then traces the strongest gradients as a series of white pixels.