Skip to content

Commit

Permalink
upgrade to ImageMorphology 0.3
Browse files Browse the repository at this point in the history
we only use `erode` for watershed algorithm, thus we don't
need to drop 0.2 compatibility and thus this package can
still be compatible to Julia 1.0
  • Loading branch information
johnnychen94 committed Nov 5, 2021
1 parent dee5dab commit 7b25869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Documenter = "0.24, 0.25"
Graphs = "1.4.1"
ImageCore = "0.9"
ImageFiltering = "0.6, 0.7"
ImageMorphology = "0.2.6"
ImageMorphology = "0.2.6, 0.3"
MetaGraphs = "0.7"
RegionTrees = "0.2, 0.3"
SimpleWeightedGraphs = "1.2"
Expand Down
3 changes: 2 additions & 1 deletion src/ImageSegmentation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import Base: show
# To keep the symbols in the namespace maintainble, we try to be explicit on symbols
# importing here, especially for external symbols developed outside of JuliaImages
using LinearAlgebra, Statistics
using DataStructures, StaticArrays, ImageCore, ImageFiltering, ImageMorphology, RegionTrees, Distances, StaticArrays, Clustering
using DataStructures, StaticArrays, ImageCore, ImageFiltering, RegionTrees, Distances, StaticArrays, Clustering
using Graphs: Edge, AbstractEdge, nv, neighbors, vertices
using Graphs: add_vertices!, add_edge!
using MetaGraphs: MetaGraph
using ImageMorphology: erode
using SimpleWeightedGraphs: SimpleWeightedGraph
using ImageCore.ColorVectorSpace: MathTypes
import Clustering: kmeans, fuzzy_cmeans
Expand Down

0 comments on commit 7b25869

Please sign in to comment.