Difference between revisions of "Olena/Icdar2013Score"
From LRDE
(Upload olena web site) |
(Don't include the menu if the page is used included in another page) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{OlenaMenu}}</noinclude> |
||
+ | |||
== ICDAR2013 Competition on Music Scores (from binary images) == |
== ICDAR2013 Competition on Music Scores (from binary images) == |
||
Latest revision as of 15:04, 12 November 2014
Resources
ICDAR2013 Competition on Music Scores (from binary images)
Forewords
This page presents a method to remove staffs from music score images; it has been submitted to this contest. The method is some kind of "exercise in style" since we have chosen to exclusively rely on mathematical morphology operators. This is thus a filtering-only solution.
Input Image
Step 1
A permissive hit-or-miss with an horizontal line pattern as structuring element extracts some horizontal chunks from the input image:
Step 2
An horizontal median cleans up the result of the first filter:
Step 3
With an horizontal neighborhood, a reconstruction by dilation of the previous image within the input image extends the connected components:
Step 4
A closing with a rectangular structuring element gives a binary mask:
The contours of this mask are here displayed over the input image (one can see that the mask pretty well fits with the staff lines):
Step 5
A vertical median applied inside the largest components of this mask removes the staff lines: