Skip to content

Commit

Permalink
[compat]: ImageCore/Transformations/Biinarization (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy authored Jul 22, 2023
1 parent 9528c79 commit 4854014
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ FileIO = "1"
Graphics = "0.4, 1.0"
ImageAxes = "0.6.9"
ImageBase = "0.1.5"
ImageBinarization = "^0.2"
ImageBinarization = "0.2, 0.3"
ImageContrastAdjustment = "0.3.3"
ImageCore = "0.9.3"
ImageCore = "0.9.3, 0.10"
ImageCorners = "0.1.2"
ImageDistances = "0.2.5"
ImageFiltering = "0.7.1"
Expand All @@ -50,7 +50,7 @@ ImageMorphology = "0.4"
ImageQualityIndexes = "0.3"
ImageSegmentation = "1.7"
ImageShow = "0.3"
ImageTransformations = "0.9"
ImageTransformations = "0.9, 0.10"
IndirectArrays = "0.5, 1"
IntegralArrays = "0.1"
Reexport = "1.1"
Expand Down
2 changes: 1 addition & 1 deletion src/deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ end

# This is now replaced by ImageTransformations and Interpolations
using ImageTransformations.Interpolations: BSpline, Linear, interpolate
function bilinear_interpolation(img::AbstractArray{T,N}, xs::Vararg{<:Number, N}) where {T,N}
function bilinear_interpolation(img::AbstractArray{T,N}, xs::Vararg{Number, N}) where {T,N}
Base.depwarn("`bilinear_interpolation` is deprecated, please use `warp`, `imresize` from ImageTransformations or `extrapolate`, `interpolate` from Interpolations", :bilinear_interpolation)
pad_ax = map(axes(img), xs) do ax, x
min(floor(Int, x), first(ax)):max(ceil(Int, x), last(ax))
Expand Down

0 comments on commit 4854014

Please sign in to comment.