EMAN2
Public Member Functions | Static Public Member Functions | Static Public Attributes
EMAN::NewHighpassTopHatProcessor Class Reference

Highpass top-hat filter applied in Fourier NewLowpassGaussProcessorspace. More...

#include <processor_sparx.h>

Inheritance diagram for EMAN::NewHighpassTopHatProcessor:
Inheritance graph
[legend]
Collaboration diagram for EMAN::NewHighpassTopHatProcessor:
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.
void process_inplace (EMData *image)
 To process an image in-place.

Static Public Member Functions

static ProcessorNEW ()

Static Public Attributes

static const string NAME = "filter.highpass.tophat"

Detailed Description

Highpass top-hat filter applied in Fourier NewLowpassGaussProcessorspace.

Parameters:
sigmaAbsolute [0,0.5] cut-off frequency.

Definition at line 225 of file processor_sparx.h.


Member Function Documentation

string EMAN::NewHighpassTopHatProcessor::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 232 of file processor_sparx.h.

                {
                        return "Highpass top-hat filter applied in Fourier space.";
                }
string EMAN::NewHighpassTopHatProcessor::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 228 of file processor_sparx.h.

References NAME.

                { return NAME; }
static Processor* EMAN::NewHighpassTopHatProcessor::NEW ( ) [inline, static]

Definition at line 230 of file processor_sparx.h.

                { return new NewHighpassTopHatProcessor(); }
void EMAN::NewHighpassTopHatProcessor::process_inplace ( EMData image) [inline, virtual]

To process an image in-place.

For those processors which can only be processed out-of-place, override this function to just print out some error message to remind user call the out-of-place version.

Parameters:
imageThe image to be processed.

Implements EMAN::Processor.

Definition at line 236 of file processor_sparx.h.

References EMAN::Processor::EMFourierFilterInPlace(), EMAN::Processor::params, EMAN::NewFourierProcessor::preprocess(), and EMAN::Processor::TOP_HAT_HIGH_PASS.

                                                    {
                        params["filter_type"] = TOP_HAT_HIGH_PASS;
                        preprocess(image);
                        EMFourierFilterInPlace(image, params);
                }

Member Data Documentation

const string NewHighpassTopHatProcessor::NAME = "filter.highpass.tophat" [static]

Definition at line 242 of file processor_sparx.h.

Referenced by get_name().


The documentation for this class was generated from the following files: