cleaning scores that have lots of small stains
Posted: Sat Oct 31, 2015 7:42 am
I have designed an application that deletes stains smaller than a few pixels in a monochrome image.
I assume re-sampling, margin trimming, deskewing and finding the right threshold for monochrome conversion have already been well done if necessary. These are not in my topic. Scans may be from a library or yours.
The best stain size must be found experimentally, to avoid losing augmentation or i-letter dots etc. Of course stains larger than this size have to be deleted by hand. Some details may be lost, e.g. portions of stem/staff lines or vertical lines of sharp signs that have been printed too light or endings of slur/ties.
An example is http://imslp.org/wiki/3_Piano_Sonatas,_ ... ti,_Muzio) Is there any interest for my application? Or are there already such applications?
Prerequisites: 1: imagemagick
2: irfanview or equivalent, unless you don't want to delete larger stains.
3: your usual procedure to convert a set of images into a single pdf.
I assume re-sampling, margin trimming, deskewing and finding the right threshold for monochrome conversion have already been well done if necessary. These are not in my topic. Scans may be from a library or yours.
The best stain size must be found experimentally, to avoid losing augmentation or i-letter dots etc. Of course stains larger than this size have to be deleted by hand. Some details may be lost, e.g. portions of stem/staff lines or vertical lines of sharp signs that have been printed too light or endings of slur/ties.
An example is http://imslp.org/wiki/3_Piano_Sonatas,_ ... ti,_Muzio) Is there any interest for my application? Or are there already such applications?
Prerequisites: 1: imagemagick
2: irfanview or equivalent, unless you don't want to delete larger stains.
3: your usual procedure to convert a set of images into a single pdf.