how to find histogram of black runs in horizontal direction of image?

1 view (last 30 days)
how to find histograms of black runs in the horizontal and vertical directions and of white runs in the horizontal direction? anyone pls

Answers (1)

Image Analyst
Image Analyst on 25 Mar 2012
Histogram of what? Then lengths of the runs? If so, just extract one column (or row) at a time and do the usual (thresholding and regionprops) followed by histogramming. If you need more help than that, upload your image somewhere so we can see it.

Community Treasure Hunt

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

Start Hunting!