The Image Slicer

The slicer opens an image file, it produces from it sub-images related to staffline and for each new image the information file. The following figure shows the step needed to create a set of images from a single part:

Slicing criteria is different if main score or single parts are considered. In fact for main score, each image has to contain a staffline system while for single part each image is a staff (see the figure).

It’s possible to cut image both manually and automatically. In the first case the user fixes the cutpoints which define the image area including a staff or a system, in the second selection and extraction is remanded to an automatic staff recognition and identification using Optical Music Recognition techniques. In this case image is analysed to find positions of staves and then cutpoins are calculated. It’s also possible to correct manually cutpoints defined by the automatic process.

In the extraction step, all the images obtained are saved on disk in gif format file and for each image extracted user has to fix the name of instrument (if it’s a single part), number of the staff, number of measures, start and the number of measures in it. These informations are used to define the name of image in accord to the table reported in the previous section (list of files).

In the following figures, it’s shown which are the relationships between images when main score or single part is considered.