Skip to content

A Julia package of algorithms for analyzing images and automatically binarizing them into background and foreground.

License

Notifications You must be signed in to change notification settings

oulfr/ImageBinarization.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Julia package of algorithms for analyzing images and automatically binarizing them into background and foreground.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Julia 100.0%