Skip to content

Latest commit

 

History

History
311 lines (259 loc) · 7.01 KB

README.md

File metadata and controls

311 lines (259 loc) · 7.01 KB

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