https://github.com/juliaimages/imagebinarization.jl
A Julia package of algorithms for analyzing images and automatically binarizing them into background and foreground.
https://github.com/juliaimages/imagebinarization.jl
analyzing-images entropy-threshold intermodes-threshold julia minimum-error-threshold moments-threshold niblack-threshold otsu-threshold polysegment rosin-threshold sauvola-threshold yen-threshold
Last synced: 7 months ago
JSON representation
A Julia package of algorithms for analyzing images and automatically binarizing them into background and foreground.
- Host: GitHub
- URL: https://github.com/juliaimages/imagebinarization.jl
- Owner: JuliaImages
- License: mit
- Created: 2019-01-08T06:37:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T12:34:21.000Z (over 1 year ago)
- Last Synced: 2025-06-02T16:27:39.112Z (7 months ago)
- Topics: analyzing-images, entropy-threshold, intermodes-threshold, julia, minimum-error-threshold, moments-threshold, niblack-threshold, otsu-threshold, polysegment, rosin-threshold, sauvola-threshold, yen-threshold
- Language: Julia
- Homepage:
- Size: 1.26 MB
- Stars: 36
- Watchers: 7
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ImageBinarization
[![][action-img]][action-url]
[![][pkgeval-img]][pkgeval-url]
[![][codecov-img]][codecov-url]
[![][docs-stable-img]][docs-stable-url]
[![][docs-dev-img]][docs-dev-url]
A Julia package containing a number of algorithms for analyzing images and
automatically binarizing them into background and foreground.
In simple words, the general usage pattern of this package is:
```julia
imgb = binarize(img, algorithm::AbstractImageBinarizationAlgorithm)
```
For more detailed usage and a full list of algorithms, please check the [documentation][docs-stable-url].
## Examples of ImageBinarization in action
### Example: cells
Original image
Intermodes
Minimum Error
Minimum
Moments
Otsu
Polysegment
Rosin
Sauvola
Niblack
Adaptive
Yen
Balanced
### Example: moon surface -- Unimodal
Original image
Intermodes
Minimum Error
Minimum
Moments
Otsu
Polysegment
Rosin
Sauvola
Niblack
Adaptive
Yen
Balanced
### Example: text
Original image
Intermodes
Minimum Error
Minimum
Moments
Otsu
Polysegment
Rosin
Sauvola
Niblack
Adaptive
Yen
Balanced
[pkgeval-img]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/I/ImageBinarization.svg
[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html
[action-img]: https://github.com/JuliaImages/ImageBinarization.jl/workflows/Unit%20test/badge.svg
[action-url]: https://github.com/JuliaImages/ImageBinarization.jl/actions
[codecov-img]: https://codecov.io/gh/zygmuntszpak/ImageBinarization.jl/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/zygmuntszpak/ImageBinarization.jl
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: https://juliaimages.org/ImageBinarization.jl/stable
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
[docs-dev-url]: https://juliaimages.org/ImageBinarization.jl/dev