2-D crop layer
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.
layerGraph
| trainNetwork
| deeplabv3plusLayers
(Computer Vision Toolbox) | fcnLayers
(Computer Vision Toolbox) | pixelClassificationLayer
(Computer Vision Toolbox) | segnetLayers
(Computer Vision Toolbox) | semanticseg
(Computer Vision Toolbox) | unetLayers
(Computer Vision Toolbox)