access regions from imgradient output?

Hi
i wrot this code to get region in crowd image but the edge of all body still not detect good?!!
[Gmag, Gdir] = imgradient (rgb2gray(imca));
bn= imbinarize(Gmag,0.5);
ggg=edge(rgb2gray(imca),'Sobel');
figure,imshow(ggg);

댓글 수: 2

Divya Yerraguntla
Divya Yerraguntla 2019년 9월 25일
Could you provide the image you are dealing with?
hajer jon
hajer jon 2019년 10월 3일
patch.jpg

답변 (0개)

이 질문은 마감되었습니다.

질문:

2019년 9월 18일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by