From: Walter Roberson on
dale wrote:

> The answer I wish to obtain is the Max and Min of each column row in
> each of the 2 arrays .

The first function of the group I posted is the one that converts the 2D
matrix into a column vector. If you replace that function with one that
just returns its argument unchanged, then you would get column-wise min
and max results.
From: Image Analyst on
"dale "/ ravi:
The reason is that you didn't pass in the correct kind of labeled image into regionprops. regionprops is supposed to take in a labeled image created by bwlabel, which will always start blob numbering at 1. If you're going to not pass in a labeled image, but instead pass in some arbitrary image of your own creation, then I suggest you use Walter's method.
From: dale on
thanks guys.

dale aka ravi