Skip to content

introduce ImageBinarization.jl and ImageContrastAdjustment.jl into Images.jl #841

@johnnychen94

Description

@johnnychen94

A large part of legacy codes in Images.jl (exposure.jl and algorithm.jl)are for histogram and binarization. Since ImageBinarization.jl becomes stable now, we could @reexport ImageBinarization and do some pruning work.

It's quite difficult to determine which part of codes are legacy and can be safely deleted, this issue is used to track the list and make discussions.

Some functions I've identified (and there're more):

  • otsu_threshold in favor of ImageBinarization.Otsu
  • yen_threshold in favor of ImageBinarization.Yen
  • imhist, build_histogram in favor of ImageContrastAdjustment.build_histogram
  • adjust_histogram, adjust_histogram! in favor of ImageContrastAdjustment.adjust_histogram

@zygmuntszpak it would be great if you can give some help 😄

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions