Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EMAN::HighpassButterworthProcessor Class Reference

processor radial function: f(x) = 1/(1+t*t) More...

#include <processor.h>

Inheritance diagram for EMAN::HighpassButterworthProcessor:

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

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.

Static Public Member Functions

static ProcessorNEW ()

Static Public Attributes

static const string NAME = "eman1.filter.highpass.butterworth"

Protected Member Functions

void create_radial_func (vector< float > &radial_mask) const

Detailed Description

processor radial function: f(x) = 1/(1+t*t)

Definition at line 1146 of file processor.h.


Member Function Documentation

void HighpassButterworthProcessor::create_radial_func vector< float > &  radial_mask  )  const [protected, virtual]
 

Implements EMAN::FourierProcessor.

Definition at line 1293 of file processor.cpp.

References Assert, EMAN::HighpassFourierProcessor::highpass, t, and x.

01294 {
01295         Assert(radial_mask.size() > 0);
01296         float x = 0.0f , step = 0.5f/radial_mask.size();
01297         for (size_t i = 0; i < radial_mask.size(); i++) {
01298                 float t = highpass / 1.5f / (x + 0.001f);
01299                 radial_mask[i] = 1.0f / (1.0f + t * t);
01300                 x += step;
01301         }
01302 }

string EMAN::HighpassButterworthProcessor::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 1158 of file processor.h.

01159                 {
01160                         return "processor radial function: f(x) = 1/(1+t*t);";
01161                 }

string EMAN::HighpassButterworthProcessor::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 1149 of file processor.h.

References NAME.

01150                 {
01151                         return NAME;
01152                 }

static Processor* EMAN::HighpassButterworthProcessor::NEW  )  [inline, static]
 

Definition at line 1153 of file processor.h.

01154                 {
01155                         return new HighpassButterworthProcessor();
01156                 }


Member Data Documentation

const string HighpassButterworthProcessor::NAME = "eman1.filter.highpass.butterworth" [static]
 

Definition at line 1163 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Mon Jul 19 13:06:30 2010 for EMAN2 by  doxygen 1.4.4