EMAN2
|
BooleanShrinkProcessor encapsulates code common to MaxShrinkProcessor and MinShrinkProcessor - the processors use more or less identical code, the main difference being the logical operator. More...
#include <processor.h>
Protected Member Functions | |
template<class LogicOp > | |
EMData * | process (const EMData *const image, Dict ¶ms) |
Boolean shrink an image, returning the processed image. More... | |
template<class LogicOp > | |
void | process_inplace (EMData *image, Dict ¶ms) |
Boolean shrink an image inplace. More... | |
BooleanShrinkProcessor encapsulates code common to MaxShrinkProcessor and MinShrinkProcessor - the processors use more or less identical code, the main difference being the logical operator.
Both of these instances are written at compile time using templates.
Definition at line 4844 of file processor.h.
|
protected |
Boolean shrink an image, returning the processed image.
image | the image to operate on |
params | parameter dictionary |
ImageFormatException | if the image is complex |
NullPointerException | if the image pointer is null |
Definition at line 3344 of file processor.cpp.
References ImageFormatException, InvalidValueException, NullPointerException, EMAN::Dict::set_default(), x, and y.
|
protected |
Boolean shrink an image inplace.
image | the image to operate on |
params | parameter dictionary |
ImageFormatException | if the image is complex |
NullPointerException | if the image pointer is null |
Definition at line 3465 of file processor.cpp.
References ImageFormatException, InvalidValueException, NullPointerException, EMAN::Dict::set_default(), x, and y.