View source: R/unetUtilities.R
encodeUnet | R Documentation |
Function for translating the segmentations to a one-hot representation.
encodeUnet(segmentationsArray, segmentationLabels = NULL)
segmentationsArray |
an array of shape ( |
segmentationLabels |
vector of segmentation labels. Note that a background label (typically 0) needs to be included. |
an n-D array of shape
batchSize \times width \times height \times <depth> \times numberOfSegmentationLabels
Tustison NJ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.