xmipp3.protocols.protocol_preprocess.protocol_crop_resize module

class xmipp3.protocols.protocol_preprocess.protocol_crop_resize.XmippProtCropResizeParticles(**kwargs)[source]

Bases: XmippProcessParticles

Crop or resize a set of particles

OUTPUT_MASK_NAME = 'outputMask'
OUTPUT_PARTICLES_NAME = 'outputParticles'
convertInputStep()[source]

convert if necessary

createOutputStep()[source]
filterStep(isFirstStep, args)[source]
isMask()[source]

This function returns True if the input object is a Mask. False otherwise.

resizeStep(isFirstStep, args)[source]
windowStep(isFirstStep, args)[source]
class xmipp3.protocols.protocol_preprocess.protocol_crop_resize.XmippProtCropResizeVolumes(**kwargs)[source]

Bases: XmippProcessVolumes

Crop or resize a set of volumes

filterStep(isFirstStep, args)[source]
resizeStep(isFirstStep, args)[source]
windowStep(isFirstStep, args)[source]
class xmipp3.protocols.protocol_preprocess.protocol_crop_resize.XmippResizeHelper[source]

Bases: object

Common features to change dimensions of either SetOfParticles, Volume or SetOfVolumes objects.

RESIZE_DIMENSIONS = 1
RESIZE_FACTOR = 2
RESIZE_PYRAMID = 3
RESIZE_SAMPLINGRATE = 0
WINDOW_OP_CROP = 0
WINDOW_OP_WINDOW = 1
classmethod filterStep(protocol, args)[source]
classmethod resizeStep(protocol, args)[source]
classmethod windowStep(protocol, args)[source]