#include <processor.h>
Inheritance diagram for EMAN::HighpassSharpCutoffProcessor:
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 | |
Processor * | NEW () |
Static Public Attributes | |
const string | NAME = "eman1.filter.highpass.sharp" |
Protected Member Functions | |
void | create_radial_func (vector< float > &radial_mask) const |
Definition at line 890 of file processor.h.
|
Implements EMAN::FourierProcessor. Definition at line 1083 of file processor.cpp. 01084 { 01085 Assert(radial_mask.size() > 0); 01086 float x = 0.0f , step = 0.5f/radial_mask.size(); 01087 for (size_t i = 0; i < radial_mask.size(); i++) { 01088 if (x >= highpass) { 01089 radial_mask[i] = 1.0f; 01090 } 01091 else { 01092 radial_mask[i] = 0; 01093 } 01094 x += step; 01095 } 01096 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 903 of file processor.h. 00904 { 00905 return "processor radial function: if x >= highpass, f(x) = 1; else f(x) = 0;"; 00906 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 893 of file processor.h. 00894 {
00895 return NAME;
00896 }
|
|
Definition at line 898 of file processor.h. 00899 { 00900 return new HighpassSharpCutoffProcessor(); 00901 }
|
|
Definition at line 71 of file processor.cpp. |