diff --git a/CHANGELOG.md b/CHANGELOG.md index adba187..e85ca6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,18 @@ Versioned according to [Semantic Versioning](http://semver.org/). ## Unreleased +## [1.1.6] - 2020-04-22 + +Fixed: + + * Quote all arguments in `scribo-cli` to allow file names with whitespace + * Pass on different `k` values at each scale for `sauvola-ms*` + Changed: - * skip `AlternativeImage/@comments=binarized` in PAGE input + * Skip `AlternativeImage/@comments=binarized` in PAGE input + * Update `repo/olena` to upstream master + * Update `repo/assets` to upstream master ## [1.1.5] - 2020-03-19 diff --git a/README.md b/README.md index ecd697e..66bb708 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,12 @@ This package has the following user interfaces: ### command line interface `scribo-cli` -Converts images in any format to netpbm (monochrome portable bitmap). +Converts images in any format. ``` -Usage: scribo-cli [version] [help] COMMAND [ARGS] +Usage: scribo-cli COMMAND [ARGS] -List of available COMMAND argument: +List of available COMMAND options: Full Toolchains --------------- @@ -88,9 +88,17 @@ List of available COMMAND argument: * Binarization - sauvola Sauvola's algorithm. + otsu Otsu's (1979) global thresholding algorithm. - sauvola-ms Multi-scale Sauvola's algorithm. + niblack Niblack's (1985) local thresholding algorithm. + + sauvola Sauvola and Pietikainen's (2000) local/adpative algorithm. + + kim Kim's (2004) algorithm. + + wolf Wolf and Jolion's (2004) algorithm. + + sauvola-ms Lazzara's (2013) multi-scale Sauvola algorithm. sauvola-ms-fg Extract foreground objects and run multi-scale Sauvola's algorithm. @@ -98,8 +106,19 @@ List of available COMMAND argument: sauvola-ms-split Run multi-scale Sauvola's algorithm on each color component and merge results. ---------------------------------------------------------------------------- -See 'scribo-cli COMMAND --help' for more information on a specific command. + singh Singh's (2014) algorithm. + + + Other + ----- + + version Show version and exit + + help Show this message and exit + + +For command arguments, see 'scribo-cli COMMAND --help' for more information +on each specific COMMAND. ``` For example: @@ -147,7 +166,7 @@ To be used with [PageXML](https://github.com/PRImA-Research-Lab/PAGE-XML) docume "default": 101 }, "k": { - "description": "Sauvola's formulae parameter", + "description": "Sauvola's formulae parameter (foreground weight decreases with k); for Multiscale, multiplied to yield default 0.2/0.3/0.5; for Singh, multiplied to yield default 0.06; for Niblack, multiplied to yield default -0.2; for Wolf/Kim, used directly; for Otsu, does not apply", "format": "float", "type": "number", "default": 0.34 diff --git a/ocrd-tool.json b/ocrd-tool.json index 678b95a..bbba69e 100644 --- a/ocrd-tool.json +++ b/ocrd-tool.json @@ -1,5 +1,5 @@ { - "version": "1.1.5", + "version": "1.1.6", "git_url": "https://github.com/OCR-D/ocrd_olena", "tools": { "ocrd-olena-binarize": { @@ -36,7 +36,7 @@ "default": 101 }, "k": { - "description": "Sauvola's formulae parameter (foreground weight decreases with k); for Singh, multiplied to yield default 0.06; for Niblack, multiplied to yield default -0.2; for Wolf/Kim, used directly; for Otsu, does not apply", + "description": "Sauvola's formulae parameter (foreground weight decreases with k); for Multiscale, multiplied to yield default 0.2/0.3/0.5; for Singh, multiplied to yield default 0.06; for Niblack, multiplied to yield default -0.2; for Wolf/Kim, used directly; for Otsu, does not apply", "format": "float", "type": "number", "default": 0.34