Evaluates a cleaned mask against a fixed reference and noisy input mask. The output includes overlap scores, class-boundary agreement, and correction/damage decomposition.
Usage
evaluate_mask_cleaning(
reference,
initial,
cleaned,
elapsed = NA_real_,
method = NULL
)
Arguments
- reference
Reference categorical matrix or three-dimensional array.
- initial
Imperfect input mask.
- cleaned
Output mask to evaluate.
- elapsed
Optional elapsed runtime in seconds.
- method
Optional method name included in the returned row.
Value
A one-row data frame containing class-aware overlap, boundary agreement, rare-class, correction, and damage measures.