Prev: convert periodogram PSD estimation to signal amplitude
Next: An exact 1-D integration challenge - 66 - (sqrt, sin)
From: Walter Roberson on 1 Aug 2010 03:28 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 1 Aug 2010 10:36 "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 1 Aug 2010 11:26
thanks guys. dale aka ravi |