View source: R/segmentation_generator.R
Reads images from directory.
1 2 3 4 5 6 7 8 |
paths |
Images directories. |
indices |
Indices of selected images. If 'NULL' all images in 'paths' will be selected. |
target_size |
Images size (height, width). Default to 'c(256, 256)'. |
grayscale |
Boolean, whether to load the image as grayscale. |
scale |
Scaling factor for images pixel values. Default to '1 / 255'. |
colormap |
Class color map. For example |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.