Info

This question is closed. Reopen it to edit or answer.

access regions from imgradient output?

1 view (last 30 days)
hajer jon
hajer jon on 18 Sep 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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);

Answers (0)

Community Treasure Hunt

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

Start Hunting!