ImageBinarization.jl

A Julia package of algorithms for analyzing images and automatically binarizing them into background and foreground.
Author JuliaImages
Popularity
35 Stars
Updated Last
10 Months Ago
Started In
January 2019

ImageBinarization

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:

imgb = binarize(img, algorithm::AbstractImageBinarizationAlgorithm)

For more detailed usage and a full list of algorithms, please check the documentation.

Examples of ImageBinarization in action

Example: cells

Original image
Original image
Intermodes
Intermodes
Minimum Error
Minimum Error
Minimum
Minimum
Moments
Moments
Otsu
Otsu
Polysegment
Polysegment
Rosin
Rosin
Sauvola
Sauvola
Niblack
Niblack
Adaptive
Adaptive
Yen
Yen
Balanced
Balanced

Example: moon surface -- Unimodal

Original image
Original image
Intermodes
Intermodes
Minimum Error
Minimum Error
Minimum
Minimum
Moments
Moments
Otsu
Otsu
Polysegment
Polysegment
Rosin
Rosin
Sauvola
Sauvola
Niblack
Niblack
Adaptive
Adaptive
Yen
Yen
Balanced
Balanced

Example: text

Original image
Original image
Intermodes
Intermodes
Minimum Error
Minimum Error
Minimum
Minimum
Moments
Moments
Otsu
Otsu
Polysegment
Polysegment
Rosin
Rosin
Sauvola
Sauvola
Niblack
Niblack
Adaptive
Adaptive
yen
Yen
Balanced
Balanced