access regions from imgradient output?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comments
Divya Yerraguntla
on 25 Sep 2019
Could you provide the image you are dealing with?
hajer jon
on 3 Oct 2019
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!