How can I find the x and y coordinates of some objets into an image?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have the following image
and I need to find de x and y coordinates of every music note into the image. I have tried with the function normxcorr2 using the mask of a head of one note, but I only am able to detect one of the notes (the most similar to my mask). Could anyone help me or give me another point of view?. Thank you in advance for your time and support.
0 comentarios
Respuestas (1)
Image Analyst
el 7 de Mayo de 2014
See this section:
23.2.7.3 Analysis of Music, Musical Notation, Music Scores
That will have the good methods. What I might propose might not be as robust for all note shapes. But that would be to find the QR codes in the corner and crop the image to the center, assuming the notes only appear there. Then I'd call imfill() to fill in note heads. You could then use normxcorr() for each note template. Or else see if each note has a unique area and classify notes based on area. Or skeletonize it and classify based on number of endpoints. But the papers will have a lot better methods so read the abstracts and code up the best sounding one.
2 comentarios
Image Analyst
el 10 de Mayo de 2014
You're welcome. If you need any help with the code once you have it more developed, come back. Could you mark the answer as Accepted then, to close it out?
Ver también
Categorías
Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!