#include <filters.h>
Definition at line 1511 of file filters.h.
◆ apply()
Apply the filter to an image or volume
Implements XmippFilter.
Definition at line 3689 of file filters.cpp.
void substractBackgroundRollingBall(MultidimArray< double > &I, int radius)
void substractBackgroundPlane(MultidimArray< double > &I)
◆ defineParams()
void BackgroundFilter::defineParams |
( |
XmippProgram * |
program | ) |
|
|
static |
Define the parameters for use inside an Xmipp program
Definition at line 3660 of file filters.cpp.
3664 " [ --background <type=plane> ] : Filters to remove the background.");
3667 " plane : Remove the plane that best fits the pixels.");
3669 " rollingball <radius> : The background is computed as a rolling ball operation.");
void addParamsLine(const String &line)
◆ readParams()
Read from program command line
Reimplemented from XmippFilter.
Definition at line 3674 of file filters.cpp.
3679 if (typeStr ==
"plane")
3681 else if (typeStr ==
"rollingball")
3684 radius = program->
getIntParam(
"--background",
"rollingball");
const char * getParam(const char *param, int arg=0)
int getIntParam(const char *param, int arg=0)
The documentation for this class was generated from the following files: