How can i add one image into another
Afficher commentaires plus anciens
I have to do a program which the user select by mouse a music note, after this, the user will clic into a empty music partiture to add the selection note to the partiture. At the end, the user will save the finish image.
I don`t know how can i add the note image into the empty partiture image in a specific position.
Thank you very much in advance.
Réponses (1)
Walter Roberson
le 25 Mar 2013
new_image = original_image;
new_image( newrow : newrow + size(noteimage,1) - 1, newcol : newcol + size(noteimage,2) - 1, :) = noteimage;
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!