Description Usage Arguments Value
This function splits a volume (representing a labelling, such as the result of a segmentation) into several binary volumes (concetenated as a 4D volume) such that each individual 3D volume indicates the presence of a class in the image.
1 | to_categorical_volume(V, unique_labels = sort(unique(as.vector(V))))
|
V |
(3D array) Input volume |
A 4D volume representing the one-hot encoding of the input 3D volume.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.