crop2dLayer
2-D crop layer
Description
A 2-D crop layer applies 2-D cropping to the input.
There are two inputs to this layer:
'in'
— The feature map that will be cropped'ref'
— A reference layer used to determine the size, [height width], of the cropped output
Once you create this layer, you can add it to a layerGraph
to
make serial connections between layers. To connect the crop layer to other layers, call
connectLayers
and specify the input names. The
connectLayers
function returns a connected
LayerGraph
object ready to train a network.
Creation
Properties
Examples
Algorithms
Extended Capabilities
Version History
Introduced in R2017b
See Also
pixelClassificationLayer
(Computer Vision Toolbox) | layerGraph
| fcnLayers
(Computer Vision Toolbox) | segnetLayers
(Computer Vision Toolbox) | unetLayers
(Computer Vision Toolbox) | trainNetwork
| semanticseg
(Computer Vision Toolbox) | deeplabv3plusLayers
(Computer Vision Toolbox)
Topics
- Getting Started with Semantic Segmentation Using Deep Learning (Computer Vision Toolbox)
- Deep Learning in MATLAB