#include <processor_sparx.h>
Inheritance diagram for EMAN::NewHighpassTopHatProcessor:
Public Member Functions | |
string | get_name () const |
Get the processor's name. | |
string | get_desc () const |
Get the descrition of this specific processor. | |
void | process_inplace (EMData *image) |
To process an image in-place. | |
Static Public Member Functions | |
static Processor * | NEW () |
Static Public Attributes | |
static const string | NAME = "filter.highpass.tophat" |
sigma | Absolute [0,0.5] cut-off frequency. |
Definition at line 219 of file processor_sparx.h.
string EMAN::NewHighpassTopHatProcessor::get_desc | ( | ) | const [inline, virtual] |
Get the descrition of this specific processor.
This function must be overwritten by a subclass.
Implements EMAN::Processor.
Definition at line 226 of file processor_sparx.h.
string EMAN::NewHighpassTopHatProcessor::get_name | ( | ) | const [inline, virtual] |
Get the processor's name.
Each processor is identified by a unique name.
Implements EMAN::Processor.
Definition at line 222 of file processor_sparx.h.
References NAME.
00223 { return NAME; }
static Processor* EMAN::NewHighpassTopHatProcessor::NEW | ( | ) | [inline, static] |
void EMAN::NewHighpassTopHatProcessor::process_inplace | ( | EMData * | image | ) | [inline, virtual] |
To process an image in-place.
For those processors which can only be processed out-of-place, override this function to just print out some error message to remind user call the out-of-place version.
image | The image to be processed. |
Implements EMAN::Processor.
Definition at line 230 of file processor_sparx.h.
References EMAN::Processor::EMFourierFilterInPlace(), EMAN::Processor::params, EMAN::NewFourierProcessor::preprocess(), and EMAN::Processor::TOP_HAT_HIGH_PASS.
00230 { 00231 params["filter_type"] = TOP_HAT_HIGH_PASS; 00232 preprocess(image); 00233 EMFourierFilterInPlace(image, params); 00234 }
const string NewHighpassTopHatProcessor::NAME = "filter.highpass.tophat" [static] |