Skip to content

Commit

Permalink
fix: correct typo in log message and update ice mask processing function
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Nov 20, 2024
1 parent 233cc3d commit a0c7081
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/preprocess_tiling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ using IceFloeTracker:
label_components,
imregionalmin,
watershed2,
get_ice_masks,
imbinarize
imbinarize,
_regularize

# Sample input parameters expected by the main function
ice_labels_thresholds = (
Expand Down Expand Up @@ -141,7 +141,7 @@ function preprocess_tiling(
morphed_residue[adjusting_mask] .=
to_uint8.(morphed_residue[adjusting_mask] .* agp.gamma_factor)

@info "# Step 9: Get prelimnary ice masks"
@info "# Step 9: Get preliminary ice masks"
prelim_icemask, binarized_tiling = get_ice_masks(
ref_image, morphed_residue, landmask.dilated, tiles, true; ice_masks_params...
)
Expand All @@ -154,7 +154,7 @@ function preprocess_tiling(

@info "Step 12: Build icemask from all others"
local_maxima_mask = to_uint8(local_maxima_mask * 255)
prelim_icemask2 = get_combined_new(
prelim_icemask2 = _regularize(
morphed_residue,
local_maxima_mask,
segment_mask,
Expand Down

0 comments on commit a0c7081

Please sign in to comment.