Finding X and Y coordinates of a single white blob on a black background
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a series of images which I need to find the x,y coordinates for a single white blob on black background. I would like coordinates to be taken from the center of the image. Thank you.
0 Commenti
Risposta accettata
Image Analyst
il 18 Set 2013
This is done by my BlobsDemo program. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862.
The blobs are the coins from the standard MATLAB demo image. It finds the centroids of all of them. You just need to subtract the number of rows and columns divided by 2 to get the coordinates referenced to a new coordinate system where the origin is in the middle of the picture.
6 Commenti
Image Analyst
il 23 Set 2013
You have a loop that says
for j=1
so of course it does only 1 image.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!