JuliaImages / ImageBinarization.jl

A Julia package of algorithms for analyzing images and automatically binarizing them into background and foreground.
MIT License
35 stars 8 forks source link

OffsetArray support #79

Closed johnnychen94 closed 3 years ago

johnnychen94 commented 3 years ago

Currently,

using OffsetArrays, ImageBinarization
Xo = OffsetArray(rand(10, 10), OffsetArrays.Origin(0))
binarize(Xo, Otsu()) # oops

Background: common warp operations(e.g., imrotate) in ImageTransformations returns an OffsetArray.