EMAN2
|
This class is abstract. More...
#include <processor.h>
Protected Member Functions | |
void | swap_corners_180 (EMData *image) |
swap_corners_180 - works on 2D and 3D images More... | |
void | swap_central_slices_180 (EMData *image) |
swap_central_slices_180 - works on 2D and 3D images More... | |
void | fourier_phaseshift180 (EMData *image) |
fourier_phaseshift180 - fourier phase shift by 180 this function is called internally if the argument to the process_inplace function is complex. More... | |
Additional Inherited Members | |
Public Types inherited from EMAN::Processor | |
enum | fourier_filter_types { TOP_HAT_LOW_PASS , TOP_HAT_HIGH_PASS , TOP_HAT_BAND_PASS , TOP_HOMOMORPHIC , GAUSS_LOW_PASS , GAUSS_HIGH_PASS , GAUSS_BAND_PASS , GAUSS_INVERSE , GAUSS_HOMOMORPHIC , BUTTERWORTH_LOW_PASS , BUTTERWORTH_HIGH_PASS , BUTTERWORTH_HOMOMORPHIC , KAISER_I0 , KAISER_SINH , KAISER_I0_INVERSE , KAISER_SINH_INVERSE , SHIFT , TANH_LOW_PASS , TANH_HIGH_PASS , TANH_HOMOMORPHIC , TANH_BAND_PASS , RADIAL_TABLE , CTF_ } |
Fourier filter Processor type enum. More... | |
Public Member Functions inherited from EMAN::Processor | |
virtual | ~Processor () |
virtual void | process_inplace (EMData *image)=0 |
To process an image in-place. More... | |
virtual EMData * | process (const EMData *const image) |
To proccess an image out-of-place. More... | |
virtual void | process_list_inplace (vector< EMData * > &images) |
To process multiple images using the same algorithm. More... | |
virtual string | get_name () const =0 |
Get the processor's name. More... | |
virtual Dict | get_params () const |
Get the processor parameters in a key/value dictionary. More... | |
virtual void | set_params (const Dict &new_params) |
Set the processor parameters using a key/value dictionary. More... | |
virtual TypeDict | get_param_types () const |
Get processor parameter information in a dictionary. More... | |
virtual string | get_desc () const =0 |
Get the descrition of this specific processor. More... | |
Static Public Member Functions inherited from EMAN::Processor | |
static string | get_group_desc () |
Get the description of this group of processors. More... | |
static void | EMFourierFilterInPlace (EMData *fimage, Dict params) |
Compute a Fourier-filter processed image in place. More... | |
static EMData * | EMFourierFilter (EMData *fimage, Dict params) |
Compute a Fourier-processor processed image without altering the original image. More... | |
Protected Attributes inherited from EMAN::Processor | |
Dict | params |
This class is abstract.
It contains functionality common to the PhaseToCenterProcessor and PhaseToCornerProcessor processors
though the testing of this processor is really implicit
Definition at line 6680 of file processor.h.
|
protected |
fourier_phaseshift180 - fourier phase shift by 180 this function is called internally if the argument to the process_inplace function is complex.
image | the image to be operated upon |
ImageFormatException | if the image is not in complex format |
Definition at line 6159 of file processor.cpp.
References ImageFormatException.
Referenced by EMAN::PhaseToCenterProcessor::process_inplace(), and EMAN::PhaseToCornerProcessor::process_inplace().
|
protected |
swap_central_slices_180 - works on 2D and 3D images
swaps pixels values in central slices, only required if the image has one or more odd dimensions. Should be used striclty in conjunction with swap_central_slices_180 function and never called by anyone except for PhaseToCenterProcessor and PhaseToCornerProcessor classes. Highly specialised function to handle all cases of even and oddness
image | the image to be operated upon |
ImageDimensionException | if the image is 1D |
NullPointerException | if the image is null |
Definition at line 6281 of file processor.cpp.
References ImageDimensionException, and rdata.
Referenced by EMAN::PhaseToCenterProcessor::process_inplace(), and EMAN::PhaseToCornerProcessor::process_inplace().
|
protected |
swap_corners_180 - works on 2D and 3D images
Implements the conventional 180 degree phase shift required to put the center of the image at the bottom left of the image - is used in conjunction with swap_central_slices_180 if any of the image dimensions are odd, but by itself will perform the entire operation on even images. This functions is never called by anyone except for the PhaseToCenterProcessor and PhaseToCornerProcessor classes. Highly specialised function to handle all cases of even and oddness
image | the image to be operated upon |
ImageDimensionException | if the image is 1D |
NullPointerException | if the image is null |
Definition at line 6184 of file processor.cpp.
References ImageDimensionException, and rdata.
Referenced by EMAN::PhaseToCenterProcessor::process_inplace(), and EMAN::PhaseToCornerProcessor::process_inplace().