Description Usage Arguments Value
View source: R/plot_functions.R
Generates raster image with segmentation masks.
1 2 3 4 5 6 7 8 9 | create_segmentation_map_ggplot(
image_path,
masks,
labels,
colormap,
target_size,
grayscale,
background_label
)
|
image_path |
Image filepath. |
masks |
Predicted segmentation masks. |
labels |
Character vector containing class labels. For example |
colormap |
Class color map. For example |
target_size |
Image target size. |
grayscale |
Should images be plotted in grayscale. |
background_label |
Name of the background class label to filter out. |
Raster image with segmentation masks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.