Matlab image processing?

I assume you have an image that you have already segmented. In other words, your image is a logical array with 1's wherever the pixel is part of a feature, and 0's everywhere else (after Step 6 in this example.

I assume you have an image that you have already segmented. In other words, your image is a logical array with 1's wherever the pixel is part of a feature, and 0's everywhere else (after Step 6 in this example. If you now want to know the coordinates of all your pixels that are '1' in your image bwImage, you can use FIND.

YCoord,xCoord = find(bwImage); Note how I inversed yCoord and xCoord. This is such that figure imshow(bwImage) hold on plot(xCoord,yCoord,'. ') Will plot a dot on every pixel that has the value 1.

If instead you want to merely know the centroid of each group of connected pixels, you can use REGIONPROPS. Stats = regionprops(bwImage,'Centroid'); The centroids of the groups will be stored in stats.Centroid. X and y coordinates are chosen such that plot works like above.

You may wish to reference this: mathworks.com/matlabcentral/fileexchange....

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions