Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Music sheet note recognition is a process of converting music sheet images into

ID: 3583742 • Letter: M

Question

Music sheet note recognition is a process of converting music sheet images into note array enabling computers to 'read' and manipulate printed music. It is similar to Optical Character Recognition (OCR), which converts scanned pages of text into an editable format. In this project, you are required to detect and convert note images into note array. The figure below shows the location of each note on the staff; Tasks to do: Compute Homography matrix to rectify sheet image and then apply perspective transformation. Locate the staffs in the image. Locate the note signs and convert their location to a label (A-G)

Explanation / Answer

For the sheet image get four points from the corner and then you have to estimate the homography :

0.9534   -0.0980   52.8571

0.2559    1.3908 -14.0062

-0.0002    0.0012    1.0050

///////////////////////////////////////////

Now apply the following code on the image

function [Iimage] = affect(X,Y)

I1=im2double(X);

for p=1:308

i

for q=1:288

z1 = [q;p;1];

z2 = Y*z1;

z3 =z2/z2(3,1);

if (z3(1,1) <0 || z3(2,1)<0 || z3(3,1)<0)

   continue;

else    

Iimage(round(1+z3(2,1)),round(1+z3(1,1)))=I1(p,q);

end

end

For other questions to be answered please provide as seprate questions