Learn R Programming

fslr (version 1.9.2.1)

ortho_diff: Plot differences for Prediction and Gold Standard

Description

Uses ortho2 to plot differences between a predicted binary image and the assumed ground truth (roi).

Usage

ortho_diff(img, pred, roi, xyz = NULL, cols = c("#56B4E9", "#D55E00", "#009E73"), levels = c("False Negative", "False Positive", "True Positive"), addlegend = TRUE, center = TRUE, leg.cex = 1.5, ...)

Arguments

img
image to be underlaid
pred
binary segmentation (prediction)
roi
binary manual segmentation (ground truth)
xyz
coordinate for the center of the crosshairs.
cols
colors for false negatives/positives
levels
labels for false negatives/positives
addlegend
add legend, passed to ortho2
center
run xyz on roi. Disregarded if xyz is not NULL
leg.cex
multiplier for legend size
...
arguments to be passed to ortho2

See Also

ortho2