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:

[legend]
Collaboration diagram for EMAN::HighpassButterworthProcessor:
[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

ProcessorNEW ()

Static Public Attributes

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 1106 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 1186 of file processor.cpp.

References Assert, EMAN::Dict::size(), t, and x.

01187 {
01188         Assert(radial_mask.size() > 0);
01189         float x = 0.0f , step = 0.5f/radial_mask.size();
01190         for (size_t i = 0; i < radial_mask.size(); i++) {
01191                 float t = highpass / 1.5f / (x + 0.001f);
01192                 radial_mask[i] = 1.0f / (1.0f + t * t);
01193                 x += step;
01194         }
01195 }

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 1118 of file processor.h.

01119                 {
01120                         return "processor radial function: f(x) = 1/(1+t*t);";
01121                 }

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 1109 of file processor.h.

01110                 {
01111                         return NAME;
01112                 }

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

Definition at line 1113 of file processor.h.

01114                 {
01115                         return new HighpassButterworthProcessor();
01116                 }


Member Data Documentation

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

Definition at line 77 of file processor.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Apr 30 15:39:19 2010 for EMAN2 by  doxygen 1.3.9.1