How can i add one image into another

1 visualización (últimos 30 días)
Alberto
Alberto el 25 de Mzo. de 2013
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de Mzo. de 2013
new_image = original_image;
new_image( newrow : newrow + size(noteimage,1) - 1, newcol : newcol + size(noteimage,2) - 1, :) = noteimage;

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by