EMAN::NewLowpassTopHatProcessor Class Reference

Lowpass top-hat filter processor applied in Fourier space. More...

#include <processor_sparx.h>

Inheritance diagram for EMAN::NewLowpassTopHatProcessor:

Inheritance graph
[legend]
Collaboration diagram for EMAN::NewLowpassTopHatProcessor:

Collaboration graph
[legend]
List of all members.

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 ProcessorNEW ()

Static Public Attributes

static const string NAME = "filter.lowpass.tophat"

Detailed Description

Lowpass top-hat filter processor applied in Fourier space.

Parameters:
sigma Absolute [0,0.5] cut-off frequency.

Definition at line 202 of file processor_sparx.h.


Member Function Documentation

string EMAN::NewLowpassTopHatProcessor::get_desc (  )  const [inline, virtual]

Get the descrition of this specific processor.

This function must be overwritten by a subclass.

Returns:
The description of this processor.

Implements EMAN::Processor.

Definition at line 209 of file processor_sparx.h.

00210                 {
00211                         return "Lowpass top-hat filter processor applied in Fourier space.";
00212                 }

string EMAN::NewLowpassTopHatProcessor::get_name (  )  const [inline, virtual]

Get the processor's name.

Each processor is identified by a unique name.

Returns:
The processor's name.

Implements EMAN::Processor.

Definition at line 205 of file processor_sparx.h.

References NAME.

00206                 { return NAME; }

static Processor* EMAN::NewLowpassTopHatProcessor::NEW (  )  [inline, static]

Definition at line 207 of file processor_sparx.h.

00208                 { return new NewLowpassTopHatProcessor(); }

void EMAN::NewLowpassTopHatProcessor::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.

Parameters:
image The image to be processed.

Implements EMAN::Processor.

Definition at line 213 of file processor_sparx.h.

References EMAN::Processor::EMFourierFilterInPlace(), EMAN::Processor::params, EMAN::NewFourierProcessor::preprocess(), and EMAN::Processor::TOP_HAT_LOW_PASS.

00213                                                     {
00214                         params["filter_type"] = TOP_HAT_LOW_PASS;
00215                         preprocess(image);
00216                         EMFourierFilterInPlace(image, params);
00217                 }


Member Data Documentation

const string NewLowpassTopHatProcessor::NAME = "filter.lowpass.tophat" [static]

Definition at line 219 of file processor_sparx.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Tue Jun 11 12:45:12 2013 for EMAN2 by  doxygen 1.4.7