dicePixelClassificationLayer
(To be removed) Create pixel classification layer using generalized Dice loss for semantic segmentation
The DicePixelClassificationLayer
object will be removed in a future
release. Use the trainnet
(Deep Learning Toolbox) function
and specify the loss using the generalizedDice
function. For more information, see Version History.
Description
A Dice pixel classification layer provides a categorical label for each image pixel or voxel using generalized Dice loss.
The layer uses generalized Dice loss to alleviate the problem of class imbalance in semantic segmentation problems. Generalized Dice loss controls the contribution that each class makes to the loss by weighting classes by the inverse size of the expected region.
Creation
Description
creates
a Dice pixel classification output layer for semantic image segmentation networks. The
layer outputs the categorical label for each image pixel or voxel processed by a CNN. The
layer automatically ignores undefined pixel labels during training.layer
= dicePixelClassificationLayer
returns a Dice pixel classification output layer using name-value arguments to set the
optional layer
= dicePixelClassificationLayer(Name,Value)Classes
and
Name
properties. You can
specify multiple name-value arguments.
For example, dicePixelClassificationLayer("Name","pixclass")
creates a Dice pixel classification layer with the name
"pixclass"
.
Properties
Examples
More About
References
[1] Crum, William R., Oscar Camara, and Derek LG Hill. "Generalized overlap measures for evaluation and validation in medical image analysis." IEEE Transactions on Medical Imaging. 25.11, 2006, pp. 1451–1461.
[2] Sudre, Carole H., et al. "Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentations." Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support. Springer, Cham, 2017, pp. 240–248.
[3] Milletari, Fausto, Nassir Navab, and Seyed-Ahmad Ahmadi. "V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation". Fourth International Conference on 3D Vision (3DV). Stanford, CA, 2016: pp. 565–571.
Extended Capabilities
Version History
Introduced in R2019bSee Also
dlnetwork
(Deep Learning Toolbox) | generalizedDice
| trainnet
(Deep Learning Toolbox) | semanticseg
| evaluateSemanticSegmentation
Topics
- 3-D Brain Tumor Segmentation Using Deep Learning
- Getting Started with Semantic Segmentation Using Deep Learning
- List of Deep Learning Layers (Deep Learning Toolbox)
- Deep Learning in MATLAB (Deep Learning Toolbox)
- Specify Layers of Convolutional Neural Network (Deep Learning Toolbox)