PiLab-CAU / ImageProcessing-2402

Image processing repo
MIT License
1 stars 1 forks source link

[Lecture 4-2][1017] NMS in Canny Edge Detector #21

Open wonseok289 opened 1 month ago

wonseok289 commented 1 month ago

4-24p50 In page 50, in explaining Non-maximal Suppression, lecture note says NMS compares "intensity" of each pixel with two adjacent pixels. But, in real NMS code, they compares "gradient magnitude". I also think comparing "gradient magnitude" is right because NMS indirectly finds zero crossings, location of likely edges. Then, in this page's explaining, does "intensity" mean "gradient magnitude" not "pixel value"?

yjyoo3312 commented 1 month ago

@wonseok289

Thank you for the comment :)

Yepp! We compare the 'gradient magnitude' of each pixel. So, your understanding is correct.