From 2d91b9d73dbac952b0631bbb33fb81ecc299230c Mon Sep 17 00:00:00 2001 From: viktor_petukhov Date: Thu, 20 Jul 2023 08:56:25 -0400 Subject: [PATCH] Fixed grid_step, part 2 --- src/processing/data_processing/boundary_estimation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processing/data_processing/boundary_estimation.jl b/src/processing/data_processing/boundary_estimation.jl index 51082fe..d8e2ea9 100644 --- a/src/processing/data_processing/boundary_estimation.jl +++ b/src/processing/data_processing/boundary_estimation.jl @@ -64,7 +64,7 @@ function border_edges_to_poly(border_edges::Vector{Vector{Int}}) return Int[] end -function boundary_polygons_from_grid(grid_labels::Matrix{<:Unsigned}, grid_step::Int=1) +function boundary_polygons_from_grid(grid_labels::Matrix{<:Unsigned}; grid_step::Int=1) borders_per_label = grid_borders_per_label(grid_labels); polys = Matrix{Float64}[] for bords in borders_per_label