Some preference options for data capture (Feature #16)
Description
AMC currently has darkness threshold and density (DPI) as optional parameters for data capture quality. In addition to them, I want some other parameters to be options.
- Gamma value (for -gamma option to convert command).
- Threshold value used for binarizing each pixel in AMC-detect command.
- $prop value in AMC-calepage.pl used for deciding the size of the box used for counting black pixels.
The reasons are:
Students often use pencils which are not dark enough.
My scanners produce very light images even if I set it to the highest darkness.
In my environment, the upper and the left lines of the frame of boxes are often included in the inner box (in boxes zooms images) maybe because of some distortion.
History
Updated by Alexis Bienvenüe over 12 years ago
Is gamma value configuration important? It's a little problematic for me, because the convert command is only used by AMC when scans are provided as a vector graphics file (PDF for example). When scans are TIF, JPG, convert is not used. I can add a configuration option to add parameters to convert (gamma and/or other ones), but do you think I have to force convert usage (even if not necessary, for TIF or JPG files) when this parameter is set?
The two other parameters can be configured since revision r910 - if you can compile from SVN, please test.
- Target version set to 1.1.0
- Status changed from New to In Progress
Updated by Hiroto Kagotani over 12 years ago
Thank you very much for the quick update.
I tested and found both options very useful.
I realized that gamma value is almost equivalent to threshold value.
So I withdraw the feature request for configurable gamma value.
Thank you.
Updated by Alexis Bienvenüe over 12 years ago
Good! Thank you for testing.
- Status changed from In Progress to Resolved
Updated by Alexis Bienvenüe over 12 years ago
- Status changed from Resolved to Closed