(Dalitz et al., 2008) for more details. In total we have
generated 2688 deformed images originated from 32
perfect scores. In order to conveniently measure the
performance of staff line removal algorithms we have
adopted two error metrics from (Dalitz et al., 2008):
Pixel Level and Segmentation Region Level.
Staff line detection algorithms can be used as a
first step in many staff removal algorithms. To un-
derstand the potential of our algorithm to leverage
the performance of existing staff removal algorithms,
we conducted a series of experiments, comparing the
original version of a staff removal algorithm with the
modified version of it, making use of the Stable Paths
algorithm at the staff line detection step. The quanti-
tative comparison of the different algorithms is totally
in line with the comparison presented in (Dalitz et al.,
2008).
With respect to the considered distortions, regard-
ing the detection stage, the Stable Paths based ap-
proach outperforms the Dalitz algorithm. In Figure 6
we present our results for the removal algorithms:
LineTrack Height (with Dalitz and Stable Paths),
Skeleton and LineTrack Height Modified (with Stable
Paths). We chose the methods that present the best re-
sults in (Dalitz et al., 2008), implementing our own
removal algorithm with LineTrack Height as a basis.
In general we verify that the replacement of the Dalitz
method by our Stable Paths Approach algorithm as
the staff detection step has improved the final staff
line removal results
7
. Additionally, the LineTracking
Height Modified algorithm presents an overall better
performance than the original LineTrack Height algo-
rithm from (Dalitz et al., 2008). Our staff line de-
tection and removal approaches also outperform the
Skeleton method, although it continues to present a
competitive performance. We have not integrated the
Stable Paths algorithm with the Skeleton algorithm
as the second performs the lines detection along with
their removal instead of using two separate stages. All
the parameters, both on the Stable Paths detection al-
gorithm and LineTrack Height Modified, were pre-
liminary tuned over an independent set of images.
This performance gain is even more noteworthy as
the MusicStaves algorithms are receiving as input the
correct number of lines per staff. Had not this been the
case, the differential between both would have been
much larger. In summary, these experiments show the
strength of the algorithms presented here. Despite be-
ing based on simple and intuitive underlying princi-
ples, the performance of the proposed algorithms is
quite competitive.
The analysed results have covered the detection
7
For the deformations not shown, the stable path is not
significantly better than Dalitz.
and removal accuracy but a brief word on speed is also
in order. Comparing different algorithms for speed
is notoriously difficult; we are simultaneously judg-
ing mathematical properties and specific implementa-
tions. In the experimental study, the current imple-
mentation of the Stable Paths algorithm run almost
as fast as the Dalitz algorithm (20% slower). In re-
spect to the removal algorithms our LineTrack Height
version with Stable Paths is significantly faster than
the Skeleton algorithm (two times faster). Compar-
ing to the original LineTrack Height algorithm with
the Dalitz detection algorithm the runtime difference
is not significant. The algorithms were evaluated as
available at the Staff Removal Toolkit (Dalitz et al.,
2008).
5 CONCLUSIONS
This paper presented the integration of our robust Sta-
ble Paths Approach algorithm (Cardoso et al., 2008a;
Cardoso et al., 2008b) in the MusicStaves Toolkit
(Dalitz et al., 2008) as a C++ plugin, an improved
version of an existing staff line removal algorithm—
LineTrack Height (Dalitz et al., 2008), and the re-
sults we have obtained in our staff line removal tests.
We have integrated our detection algorithm with ex-
isting staff line removal algorithms. Our approach
successfully deals with the difficulties posed by the
symbols superimposed on the staff lines as well as a
wide range of image conditions (e.g., discontinuities,
curved lines), frequently found on handwritten scores.
The encouraging results lead us now to consider
investigating the detection of music symbols bene-
fiting from the improved staff line detection and re-
moval, creating a complete OMR application in or-
der to integrate it on our proposed complete OMR
solution—OMRSYS (Capela et al., 2008). Thus, our
proposed system offers a complete solution for the
preservation of our musical heritage. It includes an
optical recognition engine integrated with an archiv-
ing system and a user-friendly interface for search-
ing, browsing and edition. The digitized scores are
stored in MusicXML, a recent and expanding music
interchange format designed for notation, analysis, re-
trieval, and performance applications.
Our proposed algorithms and complete OMR sys-
tem promote the creation of a full corpus of mu-
sic documents, promoting its preservation and study.
This project will culminate in the creation of a repos-
itory of handwritten scores, accessible online. The
database will be available for enjoyment, educational
and musicological purposes, thus preserving this cor-
pus of music in an unprecedented way.
SIGMAP 2008 - International Conference on Signal Processing and Multimedia Applications
268