Assuming that the bright patches in your image are circular blobs, you can convert the image to black and white first and then find the centroid for each white patch using‘regionprops’ command.
Refer to the‘Estimate Center and Radii of Circular Objects and Plot Circles’ section of the following documentation page to get more help.
regionprops() does not require circular objects/regions/patches, so ignore the part where he said "Assuming that the bright patches in your image are circular blobs".
I have gone thogh the tutorial , its very informative and very useful.
Actualy I have to compute the centroid values by weighting the pixels on the basis of intersity of each pixel on each of the patch i.e. for x cordinates and for y co ordinates , can you suggest the process.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.