Description Usage Arguments Value
View source: R/plot_functions.R
Generates raster images with segmentation masks.
1 2 3 4 5 6 7 8 9 10 | plot_masks(
images_paths,
masks,
labels,
colormap,
grayscale = FALSE,
save_dir = NULL,
plot_images = TRUE,
background_label = "background"
)
|
images_paths |
Image filepaths. |
masks |
Predicted segmentation masks. |
labels |
Character vector containing class labels. For example |
colormap |
Class color map. For example |
grayscale |
Should images be plotted in grayscale. |
save_dir |
Directory in which to save generated images. |
plot_images |
Should images be plotted. |
background_label |
Name of the background class label to filter out. |
Raster images with segmentation masks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.