Staff reference
The detected staff provides its upper and lower boundaries. The vertical step is estimated from these coordinates.
Research methodology
MIRP uses the detected clef and staff boundaries to define a reference note. Other notes are inferred from their vertical displacement relative to that reference.
The detected staff provides its upper and lower boundaries. The vertical step is estimated from these coordinates.
The clef determines the reference note used to interpret positions on the staff.
In the reported YOLOv11S experiment, TRA improved from 0.04 to 0.975 after MIRP.
MIRP flow
Separate structural detections, such as staves and clefs, from note detections.
Compute the distance between adjacent staff positions from the detected staff box.
Measure the vertical displacement between the reference note and each detected note center.
Write annotated images and optional playback files for inspection and reuse.