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

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)

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.

Asked:

on 25 Mar 2012

Community Treasure Hunt

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

Start Hunting!