필터 지우기
필터 지우기

How to detect black edges only using sobel or matched filter?

조회 수: 1 (최근 30일)
Hossain Md Shakhawat
Hossain Md Shakhawat 2016년 12월 15일
답변: Kushagr Gupta 2016년 12월 19일
I have an image with different kind of edges. But I want to detect the edges of black color. I have intended to so by using convolution. I need suggestions for the kernel filter.

채택된 답변

Kushagr Gupta
Kushagr Gupta 2016년 12월 19일
In order to perform edge detection for black edges, it would be best to invert the values of the image such that the black pixels become white and vice-versa. Perform the filtering on the inverted image in order to see the edges. If need be, it can again be inverted to convert the edges back to black.
This way, you would not have to worry about the coefficients of the filters that are needed for the convolution operation.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by