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 Name,Value pair arguments to set the optionallayer
= pixelClassificationLayer(Name,Value)Classes
,ClassWeights
, andName
properties by using name-value pairs. You can specify multiple name-value pairs. Enclose each property name in quotes.
For example,pixelClassificationLayer('Name','pixclass')
creates a pixel classification layer with the name'pixclass'
.
Properties
Examples
Extended Capabilities
Version History
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)