pixelClassificationLayer
Create pixel classification layer for semantic segmentation
Description
A pixel classification layer provides a categorical label for each image pixel or voxel.
Creation
Description
creates a 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
= pixelClassificationLayer
returns a pixel classification output layer using one or more name-value
arguments to set the optional layer
= pixelClassificationLayer(Name=Value)Classes
, ClassWeights
, and Name
. For
example, pixelClassificationLayer(Name="pixclass")
creates a
pixel classification layer with the name pixclass
.
Properties
Examples
Extended Capabilities
Version History
Introduced in R2017b
See Also
Objects
layerGraph
(Deep Learning Toolbox) |DAGNetwork
(Deep Learning Toolbox) |dicePixelClassificationLayer
Functions
fcnLayers
|segnetLayers
|unetLayers
|trainNetwork
(Deep Learning Toolbox) |semanticseg
|deeplabv3plusLayers
|evaluateSemanticSegmentation
Topics
- Getting Started with Semantic Segmentation Using Deep Learning
- Deep Learning in MATLAB (Deep Learning Toolbox)
- Specify Layers of Convolutional Neural Network (Deep Learning Toolbox)