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

EMAN::NormalizeEdgeMeanProcessor Class Reference

normalizes an image, mean value equals to edge mean. More...

#include <processor.h>

Inheritance diagram for EMAN::NormalizeEdgeMeanProcessor:

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

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.edgemean"

Protected Member Functions

float calc_mean (EMData *image) const

Detailed Description

normalizes an image, mean value equals to edge mean.

Definition at line 4316 of file processor.h.


Member Function Documentation

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

Implements EMAN::NormalizeProcessor.

Definition at line 3754 of file processor.cpp.

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

03755 {
03756         if (!image) {
03757                 LOGWARN("NULL Image");
03758                 return 0;
03759         }
03760         return image->get_edge_mean();
03761 }

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

04330                 {
04331                         return "normalizes an image, mean value equals to edge mean.";
04332                 }

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

04320                 {
04321                         return NAME;
04322                 }

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

Definition at line 4324 of file processor.h.

04325                 {
04326                         return new NormalizeEdgeMeanProcessor();
04327                 }


Member Data Documentation

const string NormalizeEdgeMeanProcessor::NAME = "normalize.edgemean" [static]
 

Definition at line 149 of file processor.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jun 11 13:42:34 2013 for EMAN2 by  doxygen 1.3.9.1