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

EMAN::NormalizeCircleMeanProcessor Class Reference

normalizes an image, mean value equals to mean of 2 pixel circular border. More...

#include <processor.h>

Inheritance diagram for EMAN::NormalizeCircleMeanProcessor:

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

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

ProcessorNEW ()

Static Public Attributes

const string NAME = "normalize.circlemean"

Protected Member Functions

float calc_mean (EMData *image) const

Detailed Description

normalizes an image, mean value equals to mean of 2 pixel circular border.

Definition at line 4085 of file processor.h.


Member Function Documentation

float NormalizeCircleMeanProcessor::calc_mean EMData image  )  const [protected, virtual]
 

Implements EMAN::NormalizeProcessor.

Definition at line 3551 of file processor.cpp.

References EMAN::EMData::get_circle_mean(), and LOGWARN.

03552 {
03553         if (!image) {
03554                 LOGWARN("NULL Image");
03555                 return 0;
03556         }
03557         return image->get_circle_mean();
03558 }

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

04099                 {
04100                         return "normalizes an image, mean value equals to mean of 2 pixel circular border.";
04101                 }

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

04089                 {
04090                         return NAME;
04091                 }

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

Definition at line 4093 of file processor.h.

04094                 {
04095                         return new NormalizeCircleMeanProcessor();
04096                 }


Member Data Documentation

const string NormalizeCircleMeanProcessor::NAME = "normalize.circlemean" [static]
 

Definition at line 144 of file processor.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 13:48:06 2010 for EMAN2 by  doxygen 1.3.9.1