Skip to content

Commit

Permalink
📦 1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Apr 22, 2020
1 parent e373267 commit 10f29b6
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 11 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
35 changes: 27 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------
Expand Down Expand Up @@ -88,18 +88,37 @@ 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.
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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ocrd-tool.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 10f29b6

Please sign in to comment.