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
2019-9-25
Could you provide the image you are dealing with?
hajer jon
2019-10-3
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
