pixel count in image
显示 更早的评论
I am trying to calculate the lengt of different lines in one image all labeled, i used the code below in order to obtain the figure below, but i want to know what amount of pixels are horizontal, vertical and diagonal (eg. in this picture 5 diagonal and 1 vertical).
Is there a way to get this data?
imagesc(bwmorph(I_temp,'skel'))

采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Object Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!