3-D crop layer
A 3-D crop layer crops a 3-D volume to the size of the input feature map.
Specify the number of inputs to the layer when you create it. The inputs to the layer have
the names 'in'
and 'ref'
. Use the input names when
connecting or disconnecting the layer by using connectLayers
or
disconnectLayers
.
All inputs to a 3-D crop layer must have the same number of dimensions.
creates a 3-D crop layer
that crops an input feature map from the center of the feature map. The size of the
cropped region is equal to the size of a second reference input feature map.layer
= crop3dLayer
also sets the cropLocation
property with the (X,Y,Z) coordinate of the crop window. X is the coordinate in the
horizontal direction, Y is the coordinate in the vertical direction, and Z is the
coordinate in the depth direction.layer
= crop3dLayer([X Y Z]
)