niftynet.layer.crop module¶
-
class
CropLayer(border, name='crop')[source]¶ Bases:
niftynet.layer.base_layer.LayerThis class defines a cropping operation: Removing
2*borderpixels from each spatial dim of the input, and return the spatially centred elements extracted from the input.