Skip to content

Commit

Permalink
fix slic defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertocamara committed Oct 5, 2023
1 parent 0355b48 commit 33bbbea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions R/sits_segmentation.R
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,12 @@ sits_segment <- function(cube,
#' }
#' @export
sits_slic <- function(data = NULL,
step = 50,
step = 5,
compactness = 1,
dist_fun = "euclidean",
avg_fun = "median",
iter = 20,
minarea = 30,
iter = 30,
minarea = 10,
verbose = FALSE) {
# step is OK?
.check_int_parameter(step, min = 1, max = 500)
Expand Down
6 changes: 3 additions & 3 deletions man/sits_slic.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 33bbbea

Please sign in to comment.