EMAN2
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Private Member Functions | List of all members
EMAN::Processor Class Referenceabstract

Typical usage of Processors are as follows: More...

#include <processor.h>

Inherited by EMAN::ACFCenterProcessor, EMAN::AddMaskShellProcessor, EMAN::AddNoiseProcessor, EMAN::AddRandomNoiseProcessor, EMAN::AddShapeProcessor, EMAN::AmpMultProcessor, EMAN::AmpweightFourierProcessor, EMAN::ApplySymProcessor, EMAN::AreaProcessor, EMAN::AutoMask2DProcessor, EMAN::AutoMask3D2Processor, EMAN::AutoMask3DProcessor, EMAN::AutoMaskAsymUnit, EMAN::AutoMaskDustProcessor, EMAN::AverageXProcessor, EMAN::Axis0FourierProcessor, EMAN::AzSharpProcessor, EMAN::BadLineXYProcessor, EMAN::BeamstopProcessor, EMAN::BilateralProcessor, EMAN::BinarizeFourierProcessor, EMAN::BinaryBlackHatProcessor, EMAN::BinaryClosingProcessor, EMAN::BinaryDilationProcessor, EMAN::BinaryErosionProcessor, EMAN::BinaryExternalGradientProcessor, EMAN::BinaryInternalGradientProcessor, EMAN::BinaryMorphGradientProcessor, EMAN::BinaryOpeningProcessor, EMAN::BinaryOperateProcessor< Type >, EMAN::BinarySkeletonizerProcessor, EMAN::BinaryTopHatProcessor, EMAN::BispecSliceProcessor, EMAN::BoxStatProcessor, EMAN::BwThinningProcessor, EMAN::CCCSNRProcessor, EMAN::CCDNormProcessor, EMAN::CTFCorrProcessor, EMAN::CircularAverageBinarizeProcessor, EMAN::ClampingProcessor, EMAN::ComplexPixelProcessor, EMAN::ConvolutionKernelProcessor, EMAN::ConvolutionProcessor, EMAN::CoordinateProcessor, EMAN::CtfSimProcessor, EMAN::CutoffBlockProcessor, EMAN::DecayEdgeProcessor, EMAN::DiffBlockProcessor, EMAN::DirectionalSumProcessor, EMAN::DistanceSegmentProcessor, EMAN::EnhanceProcessor, EMAN::FFTConeProcessor, EMAN::FFTPeakProcessor, EMAN::FFTProcessor, EMAN::FFTResampleProcessor, EMAN::FFTWedgeProcessor, EMAN::FSCFourierProcessor, EMAN::FileFourierProcessor, EMAN::FlattenBackgroundProcessor, EMAN::FlipProcessor, EMAN::FourierAnlProcessor, EMAN::FourierProcessor, EMAN::FourierToCenterProcessor, EMAN::FourierToCornerProcessor, EMAN::GaussSegmentProcessor, EMAN::GaussZFourierProcessor, EMAN::GradientDirectionProcessor, EMAN::GradientMagnitudeProcessor, EMAN::GradientPlaneRemoverProcessor, EMAN::GradientRemoverProcessor, EMAN::GridKernelFixProcessor, EMAN::GrowSkeletonProcessor, EMAN::HarmonicProcessor, EMAN::HistogramBin, EMAN::ImageDivergenceProcessor, EMAN::ImageProcessor, EMAN::IndexMaskFileProcessor, EMAN::IntTranslateProcessor, EMAN::IterBinMaskProcessor, EMAN::IterMultiMaskProcessor, EMAN::KmeansSegmentProcessor, EMAN::LaplacianDirectionProcessor, EMAN::LaplacianMagnitudeProcessor, EMAN::LinearPyramidProcessor, EMAN::LocalNormProcessor, EMAN::ManhattanDistanceProcessor, EMAN::MaskAzProcessor, EMAN::MaskPackProcessor, EMAN::MaxShrinkProcessor, EMAN::MeanShrinkProcessor, EMAN::MeanZeroEdgeProcessor, EMAN::MedianShrinkProcessor, EMAN::MinShrinkProcessor, EMAN::ModelHelixProcessor, EMAN::MorphologicalProcessor, EMAN::NonConvexProcessor, EMAN::NormalizeByMassProcessor, EMAN::NormalizeMaskProcessor, EMAN::NormalizeProcessor, EMAN::NormalizeRampNormVar, EMAN::NormalizeRowProcessor, EMAN::NormalizeToLeastSquareProcessor, EMAN::ObjDensityProcessor, EMAN::ObjLabelProcessor, EMAN::OutlierProcessor, EMAN::PaintProcessor, EMAN::Phase180Processor, EMAN::PhaseToMassCenterProcessor, EMAN::PruneSkeletonProcessor, EMAN::RampProcessor, EMAN::RangeZeroProcessor, EMAN::RealPixelProcessor, EMAN::RealToFFTProcessor, EMAN::ReverseProcessor, EMAN::Rotate180Processor, EMAN::RotateInFSProcessor, EMAN::RotationalAverageProcessor, EMAN::RotationalSubstractProcessor, EMAN::SDGDProcessor, EMAN::SNREvalProcessor, EMAN::SNRProcessor, EMAN::ScaleTransformProcessor, EMAN::SegmentSubunitProcessor, EMAN::SetBitsProcessor, EMAN::SetIsoPowProcessor, EMAN::SigmaZeroEdgeProcessor, EMAN::SmartMaskProcessor, EMAN::StripeXYProcessor, EMAN::SubtractOptProcessor, EMAN::SymSearchProcessor, EMAN::TestImageProcessor, EMAN::ToCenterProcessor, EMAN::ToMassCenterProcessor, EMAN::ToMinvalProcessor, EMAN::TomoTiltAngleWeightProcessor, EMAN::TomoTiltEdgeMaskProcessor, EMAN::TransformProcessor, EMAN::TransposeProcessor, EMAN::VerticalStripeProcessor, EMAN::WatershedProcessor, EMAN::WaveletProcessor, EMAN::WedgeFillProcessor, EMAN::Wiener2DAutoAreaProcessor, EMAN::Wiener2DFourierProcessor, EMAN::XGradientProcessor, EMAN::XYZProcessor, EMAN::YGradientProcessor, EMAN::ZGradientProcessor, EMAN::ZThicknessProcessor, EMAN::ZeroEdgePlaneProcessor, and EMAN::ZeroEdgeRowProcessor.

Collaboration diagram for EMAN::Processor:
Collaboration graph
[legend]

Public Types

enum  fourier_filter_types {
  TOP_HAT_LOW_PASS , TOP_HAT_HIGH_PASS , TOP_HAT_BAND_PASS , TOP_HOMOMORPHIC ,
  GAUSS_LOW_PASS , GAUSS_HIGH_PASS , GAUSS_BAND_PASS , GAUSS_INVERSE ,
  GAUSS_HOMOMORPHIC , BUTTERWORTH_LOW_PASS , BUTTERWORTH_HIGH_PASS , BUTTERWORTH_HOMOMORPHIC ,
  KAISER_I0 , KAISER_SINH , KAISER_I0_INVERSE , KAISER_SINH_INVERSE ,
  SHIFT , TANH_LOW_PASS , TANH_HIGH_PASS , TANH_HOMOMORPHIC ,
  TANH_BAND_PASS , RADIAL_TABLE , CTF_
}
 Fourier filter Processor type enum. More...
 

Public Member Functions

virtual ~Processor ()
 
virtual void process_inplace (EMData *image)=0
 To process an image in-place. More...
 
virtual EMDataprocess (const EMData *const image)
 To proccess an image out-of-place. More...
 
virtual void process_list_inplace (vector< EMData * > &images)
 To process multiple images using the same algorithm. More...
 
virtual string get_name () const =0
 Get the processor's name. More...
 
virtual Dict get_params () const
 Get the processor parameters in a key/value dictionary. More...
 
virtual void set_params (const Dict &new_params)
 Set the processor parameters using a key/value dictionary. More...
 
virtual TypeDict get_param_types () const
 Get processor parameter information in a dictionary. More...
 
virtual string get_desc () const =0
 Get the descrition of this specific processor. More...
 

Static Public Member Functions

static string get_group_desc ()
 Get the description of this group of processors. More...
 
static void EMFourierFilterInPlace (EMData *fimage, Dict params)
 Compute a Fourier-filter processed image in place. More...
 
static EMDataEMFourierFilter (EMData *fimage, Dict params)
 Compute a Fourier-processor processed image without altering the original image. More...
 

Protected Attributes

Dict params
 

Static Private Member Functions

static EMDataEMFourierFilterFunc (EMData *fimage, Dict params, bool doInPlace=true)
 Compute a Fourier-filter processed image. More...
 

Detailed Description

Typical usage of Processors are as follows:

Definition at line 89 of file processor.h.

Member Enumeration Documentation

◆ fourier_filter_types

Fourier filter Processor type enum.

New Fourier filter processors are computed in a single function, EMFourierFilterFunc, that uses a large switch statement to apply the correct filter processor. This enum specifies the filter processor to be applied.

Enumerator
TOP_HAT_LOW_PASS 
TOP_HAT_HIGH_PASS 
TOP_HAT_BAND_PASS 
TOP_HOMOMORPHIC 
GAUSS_LOW_PASS 
GAUSS_HIGH_PASS 
GAUSS_BAND_PASS 
GAUSS_INVERSE 
GAUSS_HOMOMORPHIC 
BUTTERWORTH_LOW_PASS 
BUTTERWORTH_HIGH_PASS 
BUTTERWORTH_HOMOMORPHIC 
KAISER_I0 
KAISER_SINH 
KAISER_I0_INVERSE 
KAISER_SINH_INVERSE 
SHIFT 
TANH_LOW_PASS 
TANH_HIGH_PASS 
TANH_HOMOMORPHIC 
TANH_BAND_PASS 
RADIAL_TABLE 
CTF_ 

Definition at line 182 of file processor.h.

182 {
195 KAISER_I0,
199 SHIFT,
205 CTF_,
206 };
@ BUTTERWORTH_HOMOMORPHIC
Definition: processor.h:194

Constructor & Destructor Documentation

◆ ~Processor()

virtual EMAN::Processor::~Processor ( )
inlinevirtual

Definition at line 92 of file processor.h.

93 {
94 }

Member Function Documentation

◆ EMFourierFilter()

static EMData * EMAN::Processor::EMFourierFilter ( EMData fimage,
Dict  params 
)
inlinestatic

Compute a Fourier-processor processed image without altering the original image.

Purpose: Apply selected Fourier space processor to 1-,2-, or 3-D image.
Method:
Parameters
fimageInput image object to be processeded, either a real-space image or a Fourier-space image. Image may be 1-, 2-, or 3-dimensional.
[in]paramsProcessor parameters. Different processors require different parameters, so we this routine accepts a dictionary of parameters and looks up the appropriate params for the chosen processor processor at run time. All processors use the "dopad" parameter to determine whether the Fourier workspace array should be zero- padded to twice the original length (dopad == 1) or not zero-padded at all (dopad == 0).
Returns
1-, 2-, or 3-dimensional filter processed image. If the input image is a real-space image, then the returned output image will also be a real-space image. Similarly, if the input image is already a Fourier image, then the output image will be a Fourier image.

Definition at line 264 of file processor.h.

264 {
265 bool doInPlace = false;
266 return EMFourierFilterFunc(fimage, params, doInPlace);
267 }
static EMData * EMFourierFilterFunc(EMData *fimage, Dict params, bool doInPlace=true)
Compute a Fourier-filter processed image.

References EMFourierFilterFunc(), and params.

◆ EMFourierFilterFunc()

static EMData * EMAN::Processor::EMFourierFilterFunc ( EMData fimage,
Dict  params,
bool  doInPlace = true 
)
staticprivate

Compute a Fourier-filter processed image.

This function is called by either of the convience functions EMFourierFilter or EMFourierFilterInPlace.

Purpose: Apply selected Fourier space processor to 1-,2-, or 3-D image.
Method:
Parameters
fimageInput image object to be processed, either a real-space image or a Fourier-space image. Image may be 1-, 2-, or 3-dimensional. Image fimage will not be changed unless inplace == true.
[in]paramsProcessor parameters. Different processor processors require different parameters, so we this routine accepts a dictionary of parameters and looks up the appropriate params for the chosen processor processor at run time. All processors use the "dopad" parameter to determine whether the Fourier workspace array should be zero- padded to twice the original length (dopad == 1) or not zero-padded at all (dopad == 0).
[in]doInPlaceInplace flag. If this flag is true then fimage will contain the processeded image when this function returns.
Returns
1-, 2-, or 3-dimensional filter processed image. If the input image is a real-space image, then the returned output image will also be a real-space image. Similarly, if the input image is already a Fourier image, then the output image will be a Fourier image. In either case, if inplace == true then the output image (pointer) will be the same as the input image (pointer).

Referenced by EMFourierFilter(), and EMFourierFilterInPlace().

◆ EMFourierFilterInPlace()

static void EMAN::Processor::EMFourierFilterInPlace ( EMData fimage,
Dict  params 
)
inlinestatic

Compute a Fourier-filter processed image in place.

Purpose: Apply selected Fourier space processor to 1-,2-, or 3-D image.
Method:
Parameters
fimageInput image object to be processed, either a real-space image or a Fourier-space image. Image may be 1-, 2-, or 3-dimensional. The original input image is not touched by this routine.
[in]paramsProcessor parameters. Different processors require different parameters, so we this routine accepts a dictionary of parameters and looks up the appropriate params for the chosen processor at run time. All processors use the "dopad" parameter to determine whether the Fourier workspace array should be zero- padded to twice the original length (dopad == 1) or not zero-padded at all (dopad == 0).
Returns
No explicit return. The image fimage is modified in place.

Definition at line 233 of file processor.h.

233 {
234 bool doInPlace = true;
235 EMFourierFilterFunc(fimage, params, doInPlace);
236 }

References EMFourierFilterFunc(), and params.

◆ get_desc()

virtual string EMAN::Processor::get_desc ( ) const
pure virtual

Get the descrition of this specific processor.

This function must be overwritten by a subclass.

Returns
The description of this processor.

Implemented in EMAN::XYZProcessor, EMAN::AzSharpProcessor, EMAN::SNREvalProcessor, EMAN::Axis0FourierProcessor, EMAN::GaussZFourierProcessor, EMAN::AmpweightFourierProcessor, EMAN::ConvolutionProcessor, EMAN::HarmonicProcessor, EMAN::BispecSliceProcessor, EMAN::EnhanceProcessor, EMAN::MaskPackProcessor, EMAN::XGradientProcessor, EMAN::YGradientProcessor, EMAN::ZGradientProcessor, EMAN::ImageDivergenceProcessor, EMAN::GradientMagnitudeProcessor, EMAN::GradientDirectionProcessor, EMAN::LaplacianMagnitudeProcessor, EMAN::LaplacianDirectionProcessor, EMAN::SDGDProcessor, EMAN::ManhattanDistanceProcessor, EMAN::BinaryDilationProcessor, EMAN::BinaryErosionProcessor, EMAN::BinaryClosingProcessor, EMAN::BinaryOpeningProcessor, EMAN::BinaryInternalGradientProcessor, EMAN::BinaryExternalGradientProcessor, EMAN::BinaryMorphGradientProcessor, EMAN::BinaryTopHatProcessor, EMAN::BinaryBlackHatProcessor, EMAN::Wiener2DAutoAreaProcessor, EMAN::GaussSegmentProcessor, EMAN::DistanceSegmentProcessor, EMAN::KmeansSegmentProcessor, EMAN::CtfSimProcessor, EMAN::Wiener2DFourierProcessor, EMAN::LinearRampFourierProcessor, EMAN::LowpassRandomPhaseProcessor, EMAN::LowpassAutoBProcessor, EMAN::HighpassAutoPeakProcessor, EMAN::LinearRampProcessor, EMAN::LoGFourierProcessor, EMAN::DoGFourierProcessor, EMAN::CCCSNRProcessor, EMAN::AbsoluteValueProcessor, EMAN::FloorValueProcessor, EMAN::FixSignProcessor, EMAN::BooleanProcessor, EMAN::RecipCarefullyProcessor, EMAN::ValuePowProcessor, EMAN::ValueSquaredProcessor, EMAN::ValueSqrtProcessor, EMAN::DiscritizeProcessor, EMAN::ToZeroProcessor, EMAN::AboveToZeroProcessor, EMAN::RangeZeroProcessor, EMAN::AddShapeProcessor, EMAN::SetBitsProcessor, EMAN::Rotate180Processor, EMAN::TransformProcessor, EMAN::IntTranslateProcessor, EMAN::ApplySymProcessor, EMAN::ScaleTransformProcessor, EMAN::ClampingProcessor, EMAN::NSigmaClampingProcessor, EMAN::ToMinvalProcessor, EMAN::CutToZeroProcessor, EMAN::BinarizeProcessor, EMAN::BinarizeFourierProcessor, EMAN::CollapseProcessor, EMAN::LinearXformProcessor, EMAN::ExpProcessor, EMAN::FiniteProcessor, EMAN::RangeThresholdProcessor, EMAN::SigmaProcessor, EMAN::LogProcessor, EMAN::MaskAzProcessor, EMAN::CircularMaskProcessor, EMAN::MaskSharpProcessor, EMAN::MaskSoftProcessor, EMAN::MaskEdgeMeanProcessor, EMAN::MaskNoiseProcessor, EMAN::MaskGaussProcessor, EMAN::MaskGaussNonuniformProcessor, EMAN::MaskGaussInvProcessor, EMAN::GridKernelFixProcessor, EMAN::LinearPyramidProcessor, EMAN::MakeRadiusSquaredProcessor, EMAN::MakeRadiusProcessor, EMAN::ComplexNormPixel, EMAN::AreaProcessor, EMAN::LaplacianProcessor, EMAN::ZeroConstantProcessor, EMAN::BoxMedianProcessor, EMAN::BoxSigmaProcessor, EMAN::BoxMaxProcessor, EMAN::LocalMinAbsProcessor, EMAN::MinusPeakProcessor, EMAN::PeakOnlyProcessor, EMAN::DiffBlockProcessor, EMAN::CutoffBlockProcessor, EMAN::MaxShrinkProcessor, EMAN::MinShrinkProcessor, EMAN::MeanShrinkProcessor, EMAN::MedianShrinkProcessor, EMAN::FFTResampleProcessor, EMAN::GradientRemoverProcessor, EMAN::GradientPlaneRemoverProcessor, EMAN::NonConvexProcessor, EMAN::FlattenBackgroundProcessor, EMAN::RampProcessor, EMAN::VerticalStripeProcessor, EMAN::RealToFFTProcessor, EMAN::FFTPeakProcessor, EMAN::FFTConeProcessor, EMAN::FFTWedgeProcessor, EMAN::WedgeFillProcessor, EMAN::SigmaZeroEdgeProcessor, EMAN::OutlierProcessor, EMAN::BeamstopProcessor, EMAN::MeanZeroEdgeProcessor, EMAN::AverageXProcessor, EMAN::DecayEdgeProcessor, EMAN::ZeroEdgeRowProcessor, EMAN::ZeroEdgePlaneProcessor, EMAN::BilateralProcessor, EMAN::NormalizeUnitProcessor, EMAN::NormalizeUnitSumProcessor, EMAN::NormalizeStdProcessor, EMAN::NormalizeHistPeakProcessor, EMAN::NormalizeMaskProcessor, EMAN::NormalizeRampNormVar, EMAN::NormalizeByMassProcessor, EMAN::NormalizeEdgeMeanProcessor, EMAN::NormalizeCircleMeanProcessor, EMAN::NormalizeLREdgeMeanProcessor, EMAN::NormalizeMaxMinProcessor, EMAN::NormalizeRowProcessor, EMAN::SubtractOptProcessor, EMAN::NormalizeToLeastSquareProcessor, EMAN::RotationalAverageProcessor, EMAN::RotationalSubstractProcessor, EMAN::TransposeProcessor, EMAN::FlipProcessor, EMAN::ReverseProcessor, EMAN::AddNoiseProcessor, EMAN::AddSigmaNoiseProcessor, EMAN::AddRandomNoiseProcessor, EMAN::FourierToCornerProcessor, EMAN::FourierToCenterProcessor, EMAN::PhaseToCenterProcessor, EMAN::PhaseToCornerProcessor, EMAN::AutoMask2DProcessor, EMAN::AutoMaskAsymUnit, EMAN::AutoMaskDustProcessor, EMAN::AutoMask3DProcessor, EMAN::AutoMask3D2Processor, EMAN::IterMultiMaskProcessor, EMAN::AddMaskShellProcessor, EMAN::PhaseToMassCenterProcessor, EMAN::ToCenterProcessor, EMAN::ToMassCenterProcessor, EMAN::ACFCenterProcessor, EMAN::FSCFourierProcessor, EMAN::CTFCorrProcessor, EMAN::SNRProcessor, EMAN::FileFourierProcessor, EMAN::SymSearchProcessor, EMAN::BadLineXYProcessor, EMAN::StripeXYProcessor, EMAN::LocalNormProcessor, EMAN::IndexMaskFileProcessor, EMAN::PaintProcessor, EMAN::DirectionalSumProcessor, EMAN::WatershedProcessor, EMAN::SegmentSubunitProcessor, EMAN::BinaryOperateProcessor< Type >, EMAN::MatchSFProcessor, EMAN::SetSFProcessor, EMAN::SetIsoPowProcessor, EMAN::SmartMaskProcessor, EMAN::IterBinMaskProcessor, EMAN::TestImagePureGaussian, EMAN::TestImageFourierNoiseGaussian, EMAN::TestImageFourierGaussianBand, EMAN::TestImageFourierNoiseProfile, EMAN::CTFSNRWeightProcessor, EMAN::TestImageLineWave, EMAN::TestTomoImage, EMAN::TestImageGradient, EMAN::TestImageAxes, EMAN::TestImageGaussian, EMAN::TestImageScurve, EMAN::TestImageSphericalWave, EMAN::TestImageSinewave, EMAN::TestImageSinewaveCircular, EMAN::TestImageSquarecube, EMAN::TestImageEllipse, EMAN::TestImageHollowEllipse, EMAN::TestImageCirclesphere, EMAN::TestImageNoiseUniformRand, EMAN::TestImageNoiseGauss, EMAN::TestImageCylinder, EMAN::TestImageDisc, EMAN::CCDNormProcessor, EMAN::WaveletProcessor, EMAN::TomoTiltEdgeMaskProcessor, EMAN::TomoTiltAngleWeightProcessor, EMAN::FFTProcessor, EMAN::RadialProcessor, EMAN::HistogramBin, EMAN::ModelEMCylinderProcessor, EMAN::ApplyPolynomialProfileToHelix, EMAN::BinarySkeletonizerProcessor, EMAN::ConvolutionKernelProcessor, EMAN::RotateInFSProcessor, EMAN::CircularAverageBinarizeProcessor, EMAN::ObjDensityProcessor, EMAN::ObjLabelProcessor, EMAN::BwThinningProcessor, EMAN::BwMajorityProcessor, EMAN::PruneSkeletonProcessor, EMAN::GrowSkeletonProcessor, EMAN::ZThicknessProcessor, EMAN::ReplaceValuefromListProcessor, EMAN::AmpMultProcessor, and EMAN::PolyMaskProcessor.

◆ get_group_desc()

static string EMAN::Processor::get_group_desc ( )
inlinestatic

Get the description of this group of processors.

This function is defined in a parent class. It gives a introduction to a group of processors.

Returns
The description of this group of processors.

Definition at line 159 of file processor.h.

160 {
161 return "EMAN processors are in-place image processors. You may apply a processor to process a single image or process multiple images. Processor class is the base class for all processor. <br> \
162The basic design of EMAN Processors: <br>\
163 1) Each Processor class defines an image-processinging algorithm. <br>\
164 2) All the Processor classes in EMAN are managed by a Factory pattern. So each Processor class must define: <br> a) a unique name to idenfity itself in the factory. <br>b) a static method to register itself in the factory.<br>\
165 3) Each Processor class defines its own parameter set.<br>\
166 4) Each Processor class defines functions to return its documentation including parameter information, and processor description. These functions enable EMAN to generate processor manuals dynamically.";
167 }

◆ get_name()

virtual string EMAN::Processor::get_name ( ) const
pure virtual

Get the processor's name.

Each processor is identified by a unique name.

Returns
The processor's name.

Implemented in EMAN::XYZProcessor, EMAN::AzSharpProcessor, EMAN::SNREvalProcessor, EMAN::Axis0FourierProcessor, EMAN::GaussZFourierProcessor, EMAN::AmpweightFourierProcessor, EMAN::ConvolutionProcessor, EMAN::HarmonicProcessor, EMAN::BispecSliceProcessor, EMAN::EnhanceProcessor, EMAN::MaskPackProcessor, EMAN::XGradientProcessor, EMAN::YGradientProcessor, EMAN::ZGradientProcessor, EMAN::ImageDivergenceProcessor, EMAN::GradientMagnitudeProcessor, EMAN::GradientDirectionProcessor, EMAN::LaplacianMagnitudeProcessor, EMAN::LaplacianDirectionProcessor, EMAN::SDGDProcessor, EMAN::ManhattanDistanceProcessor, EMAN::BinaryDilationProcessor, EMAN::BinaryErosionProcessor, EMAN::BinaryClosingProcessor, EMAN::BinaryOpeningProcessor, EMAN::BinaryInternalGradientProcessor, EMAN::BinaryExternalGradientProcessor, EMAN::BinaryMorphGradientProcessor, EMAN::BinaryTopHatProcessor, EMAN::BinaryBlackHatProcessor, EMAN::Wiener2DAutoAreaProcessor, EMAN::GaussSegmentProcessor, EMAN::DistanceSegmentProcessor, EMAN::KmeansSegmentProcessor, EMAN::CtfSimProcessor, EMAN::Wiener2DFourierProcessor, EMAN::LinearRampFourierProcessor, EMAN::LowpassRandomPhaseProcessor, EMAN::LowpassAutoBProcessor, EMAN::HighpassAutoPeakProcessor, EMAN::LinearRampProcessor, EMAN::LoGFourierProcessor, EMAN::DoGFourierProcessor, EMAN::CCCSNRProcessor, EMAN::AbsoluteValueProcessor, EMAN::FloorValueProcessor, EMAN::FixSignProcessor, EMAN::BooleanProcessor, EMAN::RecipCarefullyProcessor, EMAN::ValuePowProcessor, EMAN::ValueSquaredProcessor, EMAN::ValueSqrtProcessor, EMAN::DiscritizeProcessor, EMAN::ToZeroProcessor, EMAN::AboveToZeroProcessor, EMAN::RangeZeroProcessor, EMAN::AddShapeProcessor, EMAN::SetBitsProcessor, EMAN::Rotate180Processor, EMAN::TransformProcessor, EMAN::IntTranslateProcessor, EMAN::ApplySymProcessor, EMAN::ScaleTransformProcessor, EMAN::ClampingProcessor, EMAN::NSigmaClampingProcessor, EMAN::ToMinvalProcessor, EMAN::CutToZeroProcessor, EMAN::BinarizeProcessor, EMAN::BinarizeFourierProcessor, EMAN::CollapseProcessor, EMAN::LinearXformProcessor, EMAN::ExpProcessor, EMAN::FiniteProcessor, EMAN::RangeThresholdProcessor, EMAN::SigmaProcessor, EMAN::LogProcessor, EMAN::MaskAzProcessor, EMAN::MaskSharpProcessor, EMAN::MaskSoftProcessor, EMAN::MaskEdgeMeanProcessor, EMAN::MaskNoiseProcessor, EMAN::MaskGaussProcessor, EMAN::MaskGaussNonuniformProcessor, EMAN::MaskGaussInvProcessor, EMAN::GridKernelFixProcessor, EMAN::LinearPyramidProcessor, EMAN::MakeRadiusSquaredProcessor, EMAN::MakeRadiusProcessor, EMAN::ComplexNormPixel, EMAN::LaplacianProcessor, EMAN::ZeroConstantProcessor, EMAN::BoxMedianProcessor, EMAN::BoxSigmaProcessor, EMAN::BoxMaxProcessor, EMAN::LocalMinAbsProcessor, EMAN::MinusPeakProcessor, EMAN::PeakOnlyProcessor, EMAN::DiffBlockProcessor, EMAN::CutoffBlockProcessor, EMAN::MaxShrinkProcessor, EMAN::MinShrinkProcessor, EMAN::MeanShrinkProcessor, EMAN::MedianShrinkProcessor, EMAN::FFTResampleProcessor, EMAN::GradientRemoverProcessor, EMAN::GradientPlaneRemoverProcessor, EMAN::NonConvexProcessor, EMAN::FlattenBackgroundProcessor, EMAN::RampProcessor, EMAN::VerticalStripeProcessor, EMAN::RealToFFTProcessor, EMAN::FFTPeakProcessor, EMAN::FFTConeProcessor, EMAN::FFTWedgeProcessor, EMAN::WedgeFillProcessor, EMAN::SigmaZeroEdgeProcessor, EMAN::OutlierProcessor, EMAN::BeamstopProcessor, EMAN::MeanZeroEdgeProcessor, EMAN::AverageXProcessor, EMAN::DecayEdgeProcessor, EMAN::ZeroEdgeRowProcessor, EMAN::ZeroEdgePlaneProcessor, EMAN::BilateralProcessor, EMAN::NormalizeUnitProcessor, EMAN::NormalizeUnitSumProcessor, EMAN::NormalizeStdProcessor, EMAN::NormalizeHistPeakProcessor, EMAN::NormalizeMaskProcessor, EMAN::NormalizeRampNormVar, EMAN::NormalizeByMassProcessor, EMAN::NormalizeEdgeMeanProcessor, EMAN::NormalizeCircleMeanProcessor, EMAN::NormalizeLREdgeMeanProcessor, EMAN::NormalizeMaxMinProcessor, EMAN::NormalizeRowProcessor, EMAN::SubtractOptProcessor, EMAN::NormalizeToLeastSquareProcessor, EMAN::RotationalAverageProcessor, EMAN::RotationalSubstractProcessor, EMAN::TransposeProcessor, EMAN::FlipProcessor, EMAN::ReverseProcessor, EMAN::AddNoiseProcessor, EMAN::AddSigmaNoiseProcessor, EMAN::AddRandomNoiseProcessor, EMAN::FourierToCornerProcessor, EMAN::FourierToCenterProcessor, EMAN::PhaseToCenterProcessor, EMAN::PhaseToCornerProcessor, EMAN::AutoMask2DProcessor, EMAN::AutoMaskAsymUnit, EMAN::AutoMaskDustProcessor, EMAN::AutoMask3DProcessor, EMAN::AutoMask3D2Processor, EMAN::IterMultiMaskProcessor, EMAN::AddMaskShellProcessor, EMAN::PhaseToMassCenterProcessor, EMAN::ToCenterProcessor, EMAN::ToMassCenterProcessor, EMAN::ACFCenterProcessor, EMAN::FSCFourierProcessor, EMAN::CTFCorrProcessor, EMAN::SNRProcessor, EMAN::FileFourierProcessor, EMAN::SymSearchProcessor, EMAN::BadLineXYProcessor, EMAN::StripeXYProcessor, EMAN::LocalNormProcessor, EMAN::IndexMaskFileProcessor, EMAN::PaintProcessor, EMAN::DirectionalSumProcessor, EMAN::WatershedProcessor, EMAN::SegmentSubunitProcessor, EMAN::BinaryOperateProcessor< Type >, EMAN::MatchSFProcessor, EMAN::SetSFProcessor, EMAN::SetIsoPowProcessor, EMAN::SmartMaskProcessor, EMAN::IterBinMaskProcessor, EMAN::TestImagePureGaussian, EMAN::TestImageFourierNoiseGaussian, EMAN::TestImageFourierGaussianBand, EMAN::TestImageFourierNoiseProfile, EMAN::CTFSNRWeightProcessor, EMAN::TestImageLineWave, EMAN::TestTomoImage, EMAN::TestImageGradient, EMAN::TestImageAxes, EMAN::TestImageGaussian, EMAN::TestImageScurve, EMAN::TestImageSphericalWave, EMAN::TestImageSinewave, EMAN::TestImageSinewaveCircular, EMAN::TestImageSquarecube, EMAN::TestImageEllipse, EMAN::TestImageHollowEllipse, EMAN::TestImageCirclesphere, EMAN::TestImageNoiseUniformRand, EMAN::TestImageNoiseGauss, EMAN::TestImageCylinder, EMAN::TestImageDisc, EMAN::CCDNormProcessor, EMAN::WaveletProcessor, EMAN::TomoTiltEdgeMaskProcessor, EMAN::TomoTiltAngleWeightProcessor, EMAN::FFTProcessor, EMAN::RadialProcessor, EMAN::HistogramBin, EMAN::ModelEMCylinderProcessor, EMAN::ApplyPolynomialProfileToHelix, EMAN::BinarySkeletonizerProcessor, EMAN::ConvolutionKernelProcessor, EMAN::RotateInFSProcessor, EMAN::CircularAverageBinarizeProcessor, EMAN::ObjDensityProcessor, EMAN::ObjLabelProcessor, EMAN::BwThinningProcessor, EMAN::BwMajorityProcessor, EMAN::PruneSkeletonProcessor, EMAN::GrowSkeletonProcessor, EMAN::ZThicknessProcessor, EMAN::ReplaceValuefromListProcessor, EMAN::AmpMultProcessor, and EMAN::PolyMaskProcessor.

Referenced by EMAN::group_processors().

◆ get_param_types()

virtual TypeDict EMAN::Processor::get_param_types ( ) const
inlinevirtual

Get processor parameter information in a dictionary.

Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.

Returns
A dictionary containing the parameter info.

Reimplemented in EMAN::XYZProcessor, EMAN::FourierProcessor, EMAN::FourierAnlProcessor, EMAN::AzSharpProcessor, EMAN::SNREvalProcessor, EMAN::Axis0FourierProcessor, EMAN::GaussZFourierProcessor, EMAN::AmpweightFourierProcessor, EMAN::ConvolutionProcessor, EMAN::HarmonicProcessor, EMAN::BispecSliceProcessor, EMAN::EnhanceProcessor, EMAN::MaskPackProcessor, EMAN::XGradientProcessor, EMAN::YGradientProcessor, EMAN::ZGradientProcessor, EMAN::ImageDivergenceProcessor, EMAN::GradientMagnitudeProcessor, EMAN::GradientDirectionProcessor, EMAN::LaplacianMagnitudeProcessor, EMAN::LaplacianDirectionProcessor, EMAN::SDGDProcessor, EMAN::ManhattanDistanceProcessor, EMAN::BinaryDilationProcessor, EMAN::BinaryErosionProcessor, EMAN::BinaryClosingProcessor, EMAN::BinaryOpeningProcessor, EMAN::BinaryInternalGradientProcessor, EMAN::BinaryExternalGradientProcessor, EMAN::BinaryMorphGradientProcessor, EMAN::BinaryTopHatProcessor, EMAN::BinaryBlackHatProcessor, EMAN::Wiener2DAutoAreaProcessor, EMAN::GaussSegmentProcessor, EMAN::DistanceSegmentProcessor, EMAN::KmeansSegmentProcessor, EMAN::CtfSimProcessor, EMAN::Wiener2DFourierProcessor, EMAN::LowpassAutoBProcessor, EMAN::LinearRampProcessor, EMAN::LoGFourierProcessor, EMAN::DoGFourierProcessor, EMAN::CCCSNRProcessor, EMAN::FixSignProcessor, EMAN::RecipCarefullyProcessor, EMAN::ValuePowProcessor, EMAN::DiscritizeProcessor, EMAN::ToZeroProcessor, EMAN::AboveToZeroProcessor, EMAN::RangeZeroProcessor, EMAN::AddShapeProcessor, EMAN::SetBitsProcessor, EMAN::TransformProcessor, EMAN::IntTranslateProcessor, EMAN::ApplySymProcessor, EMAN::ScaleTransformProcessor, EMAN::ClampingProcessor, EMAN::NSigmaClampingProcessor, EMAN::ToMinvalProcessor, EMAN::CutToZeroProcessor, EMAN::BinarizeProcessor, EMAN::BinarizeFourierProcessor, EMAN::CollapseProcessor, EMAN::LinearXformProcessor, EMAN::ExpProcessor, EMAN::FiniteProcessor, EMAN::RangeThresholdProcessor, EMAN::SigmaProcessor, EMAN::MaskAzProcessor, EMAN::CircularMaskProcessor, EMAN::MaskSharpProcessor, EMAN::MaskSoftProcessor, EMAN::MaskEdgeMeanProcessor, EMAN::MaskGaussProcessor, EMAN::MaskGaussNonuniformProcessor, EMAN::MaskGaussInvProcessor, EMAN::GridKernelFixProcessor, EMAN::LinearPyramidProcessor, EMAN::AreaProcessor, EMAN::BoxStatProcessor, EMAN::PeakOnlyProcessor, EMAN::DiffBlockProcessor, EMAN::CutoffBlockProcessor, EMAN::MaxShrinkProcessor, EMAN::MinShrinkProcessor, EMAN::MeanShrinkProcessor, EMAN::MedianShrinkProcessor, EMAN::FFTResampleProcessor, EMAN::GradientPlaneRemoverProcessor, EMAN::NonConvexProcessor, EMAN::FlattenBackgroundProcessor, EMAN::FFTPeakProcessor, EMAN::FFTConeProcessor, EMAN::FFTWedgeProcessor, EMAN::WedgeFillProcessor, EMAN::SigmaZeroEdgeProcessor, EMAN::OutlierProcessor, EMAN::BeamstopProcessor, EMAN::DecayEdgeProcessor, EMAN::ZeroEdgeRowProcessor, EMAN::ZeroEdgePlaneProcessor, EMAN::BilateralProcessor, EMAN::NormalizeMaskProcessor, EMAN::NormalizeByMassProcessor, EMAN::NormalizeCircleMeanProcessor, EMAN::NormalizeRowProcessor, EMAN::SubtractOptProcessor, EMAN::NormalizeToLeastSquareProcessor, EMAN::TransposeProcessor, EMAN::FlipProcessor, EMAN::ReverseProcessor, EMAN::AddNoiseProcessor, EMAN::AddRandomNoiseProcessor, EMAN::AutoMask2DProcessor, EMAN::AutoMaskAsymUnit, EMAN::AutoMaskDustProcessor, EMAN::AutoMask3DProcessor, EMAN::AutoMask3D2Processor, EMAN::IterMultiMaskProcessor, EMAN::AddMaskShellProcessor, EMAN::PhaseToMassCenterProcessor, EMAN::ToCenterProcessor, EMAN::ToMassCenterProcessor, EMAN::ACFCenterProcessor, EMAN::FSCFourierProcessor, EMAN::CTFCorrProcessor, EMAN::SNRProcessor, EMAN::FileFourierProcessor, EMAN::SymSearchProcessor, EMAN::BadLineXYProcessor, EMAN::StripeXYProcessor, EMAN::LocalNormProcessor, EMAN::IndexMaskFileProcessor, EMAN::PaintProcessor, EMAN::DirectionalSumProcessor, EMAN::WatershedProcessor, EMAN::SegmentSubunitProcessor, EMAN::BinaryOperateProcessor< Type >, EMAN::MatchSFProcessor, EMAN::SetSFProcessor, EMAN::SetIsoPowProcessor, EMAN::SmartMaskProcessor, EMAN::IterBinMaskProcessor, EMAN::TestImagePureGaussian, EMAN::TestImageFourierNoiseGaussian, EMAN::TestImageFourierGaussianBand, EMAN::TestImageFourierNoiseProfile, EMAN::CTFSNRWeightProcessor, EMAN::TestImageLineWave, EMAN::TestImageGradient, EMAN::TestImageAxes, EMAN::TestImageGaussian, EMAN::TestImageScurve, EMAN::TestImageSphericalWave, EMAN::TestImageSinewave, EMAN::TestImageSinewaveCircular, EMAN::TestImageSquarecube, EMAN::TestImageEllipse, EMAN::TestImageHollowEllipse, EMAN::TestImageCirclesphere, EMAN::TestImageNoiseUniformRand, EMAN::TestImageNoiseGauss, EMAN::TestImageCylinder, EMAN::TestImageDisc, EMAN::CCDNormProcessor, EMAN::WaveletProcessor, EMAN::TomoTiltEdgeMaskProcessor, EMAN::TomoTiltAngleWeightProcessor, EMAN::FFTProcessor, EMAN::RadialProcessor, EMAN::HistogramBin, EMAN::ModelEMCylinderProcessor, EMAN::ApplyPolynomialProfileToHelix, EMAN::BinarySkeletonizerProcessor, EMAN::ConvolutionKernelProcessor, EMAN::RotateInFSProcessor, EMAN::CircularAverageBinarizeProcessor, EMAN::ObjDensityProcessor, EMAN::ObjLabelProcessor, EMAN::BwThinningProcessor, EMAN::BwMajorityProcessor, EMAN::PruneSkeletonProcessor, EMAN::GrowSkeletonProcessor, EMAN::ZThicknessProcessor, EMAN::ReplaceValuefromListProcessor, EMAN::AmpMultProcessor, and EMAN::PolyMaskProcessor.

Definition at line 148 of file processor.h.

149 {
150 return TypeDict();
151 }
TypeDict is a dictionary to store <string, EMObject::ObjectType> pair.
Definition: emobject.h:305

◆ get_params()

virtual Dict EMAN::Processor::get_params ( ) const
inlinevirtual

Get the processor parameters in a key/value dictionary.

Returns
A key/value pair dictionary containing the parameters.

Definition at line 129 of file processor.h.

130 {
131 return params;
132 }

References params.

◆ process()

EMData * Processor::process ( const EMData *const  image)
virtual

To proccess an image out-of-place.

For those processors which can only be processed out-of-place, override this function to give the right behavior.

Parameters
imageThe image will be copied, actual process happen on copy of image.
Returns
the image processing result, may or may not be the same size of the input image

Reimplemented in EMAN::HarmonicProcessor, EMAN::BispecSliceProcessor, EMAN::EnhanceProcessor, EMAN::MaskPackProcessor, EMAN::ManhattanDistanceProcessor, EMAN::BinaryDilationProcessor, EMAN::BinaryErosionProcessor, EMAN::BinaryClosingProcessor, EMAN::BinaryOpeningProcessor, EMAN::BinaryInternalGradientProcessor, EMAN::BinaryExternalGradientProcessor, EMAN::BinaryMorphGradientProcessor, EMAN::BinaryTopHatProcessor, EMAN::BinaryBlackHatProcessor, EMAN::Wiener2DAutoAreaProcessor, EMAN::GaussSegmentProcessor, EMAN::DistanceSegmentProcessor, EMAN::KmeansSegmentProcessor, EMAN::CtfSimProcessor, EMAN::Wiener2DFourierProcessor, EMAN::TransformProcessor, EMAN::IntTranslateProcessor, EMAN::ApplySymProcessor, EMAN::ScaleTransformProcessor, EMAN::MaxShrinkProcessor, EMAN::MinShrinkProcessor, EMAN::MeanShrinkProcessor, EMAN::MedianShrinkProcessor, EMAN::FFTResampleProcessor, EMAN::SubtractOptProcessor, EMAN::TransposeProcessor, EMAN::DirectionalSumProcessor, EMAN::WatershedProcessor, EMAN::ConvolutionKernelProcessor, EMAN::RotateInFSProcessor, EMAN::CircularAverageBinarizeProcessor, EMAN::ObjDensityProcessor, EMAN::ObjLabelProcessor, EMAN::BwThinningProcessor, EMAN::PruneSkeletonProcessor, EMAN::GrowSkeletonProcessor, EMAN::ZThicknessProcessor, EMAN::AmpMultProcessor, and EMAN::FSCFourierProcessor.

Definition at line 637 of file processor.cpp.

638{
639 EMData * result = image->copy();
640// printf("Default copy called\n");
641 process_inplace(result);
642 return result;
643}
EMData stores an image's data and defines core image processing routines.
Definition: emdata.h:82
virtual void process_inplace(EMData *image)=0
To process an image in-place.

References process_inplace().

◆ process_inplace()

virtual void EMAN::Processor::process_inplace ( EMData image)
pure 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.

Implemented in EMAN::DirectionalSumProcessor, EMAN::WatershedProcessor, EMAN::XYZProcessor, EMAN::ImageProcessor, EMAN::FourierProcessor, EMAN::FourierAnlProcessor, EMAN::AzSharpProcessor, EMAN::SNREvalProcessor, EMAN::Axis0FourierProcessor, EMAN::GaussZFourierProcessor, EMAN::AmpweightFourierProcessor, EMAN::ConvolutionProcessor, EMAN::HarmonicProcessor, EMAN::BispecSliceProcessor, EMAN::EnhanceProcessor, EMAN::MaskPackProcessor, EMAN::XGradientProcessor, EMAN::YGradientProcessor, EMAN::ZGradientProcessor, EMAN::ImageDivergenceProcessor, EMAN::GradientMagnitudeProcessor, EMAN::GradientDirectionProcessor, EMAN::LaplacianMagnitudeProcessor, EMAN::LaplacianDirectionProcessor, EMAN::SDGDProcessor, EMAN::ManhattanDistanceProcessor, EMAN::BinaryDilationProcessor, EMAN::BinaryErosionProcessor, EMAN::BinaryClosingProcessor, EMAN::BinaryOpeningProcessor, EMAN::BinaryInternalGradientProcessor, EMAN::BinaryExternalGradientProcessor, EMAN::BinaryMorphGradientProcessor, EMAN::BinaryTopHatProcessor, EMAN::BinaryBlackHatProcessor, EMAN::Wiener2DAutoAreaProcessor, EMAN::GaussSegmentProcessor, EMAN::DistanceSegmentProcessor, EMAN::KmeansSegmentProcessor, EMAN::CtfSimProcessor, EMAN::Wiener2DFourierProcessor, EMAN::LowpassRandomPhaseProcessor, EMAN::RealPixelProcessor, EMAN::CCCSNRProcessor, EMAN::RangeZeroProcessor, EMAN::AddShapeProcessor, EMAN::SetBitsProcessor, EMAN::Rotate180Processor, EMAN::TransformProcessor, EMAN::IntTranslateProcessor, EMAN::ApplySymProcessor, EMAN::ScaleTransformProcessor, EMAN::ClampingProcessor, EMAN::NSigmaClampingProcessor, EMAN::ToMinvalProcessor, EMAN::BinarizeFourierProcessor, EMAN::CoordinateProcessor, EMAN::MaskAzProcessor, EMAN::GridKernelFixProcessor, EMAN::LinearPyramidProcessor, EMAN::ComplexPixelProcessor, EMAN::AreaProcessor, EMAN::LaplacianProcessor, EMAN::BoxStatProcessor, EMAN::DiffBlockProcessor, EMAN::CutoffBlockProcessor, EMAN::MaxShrinkProcessor, EMAN::MinShrinkProcessor, EMAN::MeanShrinkProcessor, EMAN::MedianShrinkProcessor, EMAN::FFTResampleProcessor, EMAN::GradientRemoverProcessor, EMAN::GradientPlaneRemoverProcessor, EMAN::NonConvexProcessor, EMAN::FlattenBackgroundProcessor, EMAN::RampProcessor, EMAN::VerticalStripeProcessor, EMAN::RealToFFTProcessor, EMAN::FFTPeakProcessor, EMAN::FFTConeProcessor, EMAN::FFTWedgeProcessor, EMAN::WedgeFillProcessor, EMAN::SigmaZeroEdgeProcessor, EMAN::OutlierProcessor, EMAN::BeamstopProcessor, EMAN::MeanZeroEdgeProcessor, EMAN::AverageXProcessor, EMAN::DecayEdgeProcessor, EMAN::ZeroEdgeRowProcessor, EMAN::ZeroEdgePlaneProcessor, EMAN::BilateralProcessor, EMAN::NormalizeProcessor, EMAN::NormalizeMaskProcessor, EMAN::NormalizeRampNormVar, EMAN::NormalizeByMassProcessor, EMAN::NormalizeRowProcessor, EMAN::SubtractOptProcessor, EMAN::NormalizeToLeastSquareProcessor, EMAN::RotationalAverageProcessor, EMAN::RotationalSubstractProcessor, EMAN::TransposeProcessor, EMAN::FlipProcessor, EMAN::ReverseProcessor, EMAN::AddNoiseProcessor, EMAN::AddRandomNoiseProcessor, EMAN::FourierToCornerProcessor, EMAN::FourierToCenterProcessor, EMAN::PhaseToCenterProcessor, EMAN::PhaseToCornerProcessor, EMAN::AutoMask2DProcessor, EMAN::AutoMaskAsymUnit, EMAN::AutoMaskDustProcessor, EMAN::AutoMask3DProcessor, EMAN::AutoMask3D2Processor, EMAN::IterMultiMaskProcessor, EMAN::AddMaskShellProcessor, EMAN::PhaseToMassCenterProcessor, EMAN::ToCenterProcessor, EMAN::ToMassCenterProcessor, EMAN::ACFCenterProcessor, EMAN::FSCFourierProcessor, EMAN::CTFCorrProcessor, EMAN::SNRProcessor, EMAN::FileFourierProcessor, EMAN::SymSearchProcessor, EMAN::BadLineXYProcessor, EMAN::StripeXYProcessor, EMAN::LocalNormProcessor, EMAN::IndexMaskFileProcessor, EMAN::PaintProcessor, EMAN::SegmentSubunitProcessor, EMAN::BinaryOperateProcessor< Type >, EMAN::SetIsoPowProcessor, EMAN::SmartMaskProcessor, EMAN::IterBinMaskProcessor, EMAN::TestImagePureGaussian, EMAN::TestImageFourierNoiseGaussian, EMAN::TestImageFourierGaussianBand, EMAN::TestImageFourierNoiseProfile, EMAN::CTFSNRWeightProcessor, EMAN::TestImageLineWave, EMAN::TestTomoImage, EMAN::TestImageGradient, EMAN::TestImageAxes, EMAN::TestImageGaussian, EMAN::TestImageScurve, EMAN::TestImageSphericalWave, EMAN::TestImageSinewave, EMAN::TestImageSinewaveCircular, EMAN::TestImageSquarecube, EMAN::TestImageEllipse, EMAN::TestImageHollowEllipse, EMAN::TestImageCirclesphere, EMAN::TestImageNoiseUniformRand, EMAN::TestImageNoiseGauss, EMAN::TestImageCylinder, EMAN::TestImageDisc, EMAN::CCDNormProcessor, EMAN::WaveletProcessor, EMAN::TomoTiltEdgeMaskProcessor, EMAN::TomoTiltAngleWeightProcessor, EMAN::FFTProcessor, EMAN::HistogramBin, EMAN::BinarySkeletonizerProcessor, EMAN::ConvolutionKernelProcessor, EMAN::RotateInFSProcessor, EMAN::MorphologicalProcessor, EMAN::CircularAverageBinarizeProcessor, EMAN::ObjDensityProcessor, EMAN::ObjLabelProcessor, EMAN::BwThinningProcessor, EMAN::PruneSkeletonProcessor, EMAN::GrowSkeletonProcessor, EMAN::ZThicknessProcessor, EMAN::AmpMultProcessor, EMAN::ModelEMCylinderProcessor, and EMAN::ApplyPolynomialProfileToHelix.

Referenced by process(), and process_list_inplace().

◆ process_list_inplace()

virtual void EMAN::Processor::process_list_inplace ( vector< EMData * > &  images)
inlinevirtual

To process multiple images using the same algorithm.

Parameters
imagesMultiple images to be processed.

Definition at line 114 of file processor.h.

115 {
116 for (size_t i = 0; i < images.size(); i++) {
118 }
119 }
#define images(i, j, k)
Definition: projector.cpp:1897

References images, and process_inplace().

◆ set_params()

virtual void EMAN::Processor::set_params ( const Dict new_params)
inlinevirtual

Member Data Documentation

◆ params

Dict EMAN::Processor::params
mutableprotected

Definition at line 309 of file processor.h.

Referenced by EMAN::MaskGaussInvProcessor::calc_locals(), EMAN::NormalizeCircleMeanProcessor::calc_mean(), EMAN::LowpassAutoBProcessor::create_radial_func(), EMAN::MatchSFProcessor::create_radial_func(), EMAN::SetSFProcessor::create_radial_func(), EMFourierFilter(), EMFourierFilterInPlace(), get_params(), EMAN::FourierProcessor::preprocess(), EMAN::LowpassAutoBProcessor::preprocess(), EMAN::HighpassAutoPeakProcessor::preprocess(), EMAN::HarmonicProcessor::process(), EMAN::BispecSliceProcessor::process(), EMAN::MaskPackProcessor::process(), EMAN::BinaryDilationProcessor::process(), EMAN::BinaryErosionProcessor::process(), EMAN::BinaryClosingProcessor::process(), EMAN::BinaryOpeningProcessor::process(), EMAN::BinaryInternalGradientProcessor::process(), EMAN::BinaryExternalGradientProcessor::process(), EMAN::BinaryMorphGradientProcessor::process(), EMAN::BinaryTopHatProcessor::process(), EMAN::BinaryBlackHatProcessor::process(), EMAN::GaussSegmentProcessor::process(), EMAN::DistanceSegmentProcessor::process(), EMAN::KmeansSegmentProcessor::process(), EMAN::CtfSimProcessor::process(), EMAN::TransformProcessor::process(), EMAN::IntTranslateProcessor::process(), EMAN::ApplySymProcessor::process(), EMAN::ScaleTransformProcessor::process(), EMAN::MaxShrinkProcessor::process(), EMAN::MinShrinkProcessor::process(), EMAN::MeanShrinkProcessor::process(), EMAN::MedianShrinkProcessor::process(), EMAN::FFTResampleProcessor::process(), EMAN::SubtractOptProcessor::process(), EMAN::DirectionalSumProcessor::process(), EMAN::WatershedProcessor::process(), EMAN::ConvolutionKernelProcessor::process(), EMAN::CircularAverageBinarizeProcessor::process(), EMAN::ZThicknessProcessor::process(), EMAN::AmpMultProcessor::process(), EMAN::BoxStatProcessor::process(), EMAN::BinarySkeletonizerProcessor::process(), EMAN::FSCFourierProcessor::process(), EMAN::XYZProcessor::process_inplace(), EMAN::FourierProcessor::process_inplace(), EMAN::FourierAnlProcessor::process_inplace(), EMAN::AzSharpProcessor::process_inplace(), EMAN::Axis0FourierProcessor::process_inplace(), EMAN::GaussZFourierProcessor::process_inplace(), EMAN::ConvolutionProcessor::process_inplace(), EMAN::BinaryDilationProcessor::process_inplace(), EMAN::BinaryErosionProcessor::process_inplace(), EMAN::BinaryClosingProcessor::process_inplace(), EMAN::BinaryOpeningProcessor::process_inplace(), EMAN::BinaryInternalGradientProcessor::process_inplace(), EMAN::BinaryExternalGradientProcessor::process_inplace(), EMAN::BinaryMorphGradientProcessor::process_inplace(), EMAN::BinaryTopHatProcessor::process_inplace(), EMAN::BinaryBlackHatProcessor::process_inplace(), EMAN::LowpassRandomPhaseProcessor::process_inplace(), EMAN::CCCSNRProcessor::process_inplace(), EMAN::RangeZeroProcessor::process_inplace(), EMAN::SetBitsProcessor::process_inplace(), EMAN::TransformProcessor::process_inplace(), EMAN::IntTranslateProcessor::process_inplace(), EMAN::ScaleTransformProcessor::process_inplace(), EMAN::ClampingProcessor::process_inplace(), EMAN::NSigmaClampingProcessor::process_inplace(), EMAN::ToMinvalProcessor::process_inplace(), EMAN::BinarizeFourierProcessor::process_inplace(), EMAN::MaskAzProcessor::process_inplace(), EMAN::GridKernelFixProcessor::process_inplace(), EMAN::LinearPyramidProcessor::process_inplace(), EMAN::DiffBlockProcessor::process_inplace(), EMAN::CutoffBlockProcessor::process_inplace(), EMAN::MaxShrinkProcessor::process_inplace(), EMAN::MinShrinkProcessor::process_inplace(), EMAN::MeanShrinkProcessor::process_inplace(), EMAN::MedianShrinkProcessor::process_inplace(), EMAN::FFTResampleProcessor::process_inplace(), EMAN::GradientPlaneRemoverProcessor::process_inplace(), EMAN::FlattenBackgroundProcessor::process_inplace(), EMAN::FFTPeakProcessor::process_inplace(), EMAN::FFTConeProcessor::process_inplace(), EMAN::FFTWedgeProcessor::process_inplace(), EMAN::WedgeFillProcessor::process_inplace(), EMAN::SigmaZeroEdgeProcessor::process_inplace(), EMAN::OutlierProcessor::process_inplace(), EMAN::BeamstopProcessor::process_inplace(), EMAN::DecayEdgeProcessor::process_inplace(), EMAN::ZeroEdgeRowProcessor::process_inplace(), EMAN::ZeroEdgePlaneProcessor::process_inplace(), EMAN::BilateralProcessor::process_inplace(), EMAN::NormalizeMaskProcessor::process_inplace(), EMAN::NormalizeByMassProcessor::process_inplace(), EMAN::NormalizeRowProcessor::process_inplace(), EMAN::NormalizeToLeastSquareProcessor::process_inplace(), EMAN::FlipProcessor::process_inplace(), EMAN::ReverseProcessor::process_inplace(), EMAN::AddNoiseProcessor::process_inplace(), EMAN::AddRandomNoiseProcessor::process_inplace(), EMAN::AutoMask2DProcessor::process_inplace(), EMAN::AutoMaskAsymUnit::process_inplace(), EMAN::AutoMaskDustProcessor::process_inplace(), EMAN::AutoMask3DProcessor::process_inplace(), EMAN::AutoMask3D2Processor::process_inplace(), EMAN::IterMultiMaskProcessor::process_inplace(), EMAN::AddMaskShellProcessor::process_inplace(), EMAN::PhaseToMassCenterProcessor::process_inplace(), EMAN::ToMassCenterProcessor::process_inplace(), EMAN::CTFCorrProcessor::process_inplace(), EMAN::SNRProcessor::process_inplace(), EMAN::FileFourierProcessor::process_inplace(), EMAN::SymSearchProcessor::process_inplace(), EMAN::BadLineXYProcessor::process_inplace(), EMAN::StripeXYProcessor::process_inplace(), EMAN::LocalNormProcessor::process_inplace(), EMAN::IndexMaskFileProcessor::process_inplace(), EMAN::SegmentSubunitProcessor::process_inplace(), EMAN::BinaryOperateProcessor< Type >::process_inplace(), EMAN::SetIsoPowProcessor::process_inplace(), EMAN::SmartMaskProcessor::process_inplace(), EMAN::IterBinMaskProcessor::process_inplace(), EMAN::TestImagePureGaussian::process_inplace(), EMAN::TestImageFourierNoiseGaussian::process_inplace(), EMAN::TestImageFourierGaussianBand::process_inplace(), EMAN::TestImageFourierNoiseProfile::process_inplace(), EMAN::CTFSNRWeightProcessor::process_inplace(), EMAN::TestImageLineWave::process_inplace(), EMAN::TestImageGradient::process_inplace(), EMAN::TestImageAxes::process_inplace(), EMAN::TestImageGaussian::process_inplace(), EMAN::TestImageSphericalWave::process_inplace(), EMAN::TestImageSinewave::process_inplace(), EMAN::TestImageSinewaveCircular::process_inplace(), EMAN::TestImageSquarecube::process_inplace(), EMAN::TestImageEllipse::process_inplace(), EMAN::TestImageHollowEllipse::process_inplace(), EMAN::TestImageCirclesphere::process_inplace(), EMAN::TestImageNoiseUniformRand::process_inplace(), EMAN::TestImageNoiseGauss::process_inplace(), EMAN::TestImageCylinder::process_inplace(), EMAN::TestImageDisc::process_inplace(), EMAN::CCDNormProcessor::process_inplace(), EMAN::WaveletProcessor::process_inplace(), EMAN::TomoTiltEdgeMaskProcessor::process_inplace(), EMAN::TomoTiltAngleWeightProcessor::process_inplace(), EMAN::FFTProcessor::process_inplace(), EMAN::HistogramBin::process_inplace(), EMAN::RotateInFSProcessor::process_inplace(), EMAN::ObjDensityProcessor::process_inplace(), EMAN::ObjLabelProcessor::process_inplace(), EMAN::BwThinningProcessor::process_inplace(), EMAN::PruneSkeletonProcessor::process_inplace(), EMAN::GrowSkeletonProcessor::process_inplace(), EMAN::ZThicknessProcessor::process_inplace(), EMAN::AmpMultProcessor::process_inplace(), EMAN::ModelEMCylinderProcessor::process_inplace(), EMAN::ApplyPolynomialProfileToHelix::process_inplace(), EMAN::BwMajorityProcessor::process_pixel(), EMAN::PeakOnlyProcessor::process_pixel(), EMAN::PolyMaskProcessor::process_pixel(), EMAN::ReplaceValuefromListProcessor::process_pixel(), set_params(), EMAN::SNREvalProcessor::set_params(), EMAN::Axis0FourierProcessor::set_params(), EMAN::GaussZFourierProcessor::set_params(), EMAN::AmpweightFourierProcessor::set_params(), EMAN::Wiener2DAutoAreaProcessor::set_params(), EMAN::Wiener2DFourierProcessor::set_params(), EMAN::LinearRampProcessor::set_params(), EMAN::LoGFourierProcessor::set_params(), EMAN::DoGFourierProcessor::set_params(), EMAN::RealPixelProcessor::set_params(), EMAN::FixSignProcessor::set_params(), EMAN::RecipCarefullyProcessor::set_params(), EMAN::ValuePowProcessor::set_params(), EMAN::DiscritizeProcessor::set_params(), EMAN::RangeZeroProcessor::set_params(), EMAN::CollapseProcessor::set_params(), EMAN::LinearXformProcessor::set_params(), EMAN::ExpProcessor::set_params(), EMAN::FiniteProcessor::set_params(), EMAN::RangeThresholdProcessor::set_params(), EMAN::SigmaProcessor::set_params(), EMAN::CircularMaskProcessor::set_params(), EMAN::MaskSharpProcessor::set_params(), EMAN::MaskSoftProcessor::set_params(), EMAN::MaskEdgeMeanProcessor::set_params(), EMAN::MaskGaussProcessor::set_params(), EMAN::MaskGaussNonuniformProcessor::set_params(), EMAN::AreaProcessor::set_params(), EMAN::PeakOnlyProcessor::set_params(), EMAN::PaintProcessor::set_params(), EMAN::RadialProcessor::set_params(), EMAN::MorphologicalProcessor::set_params(), EMAN::PolyMaskProcessor::set_params(), and EMAN::TransformProcessor::transform().


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