#include "Component/ModelManager.H"
#include "Component/ModelOptionDef.H"
#include "Image/ColorOps.H"
#include "Image/FourierEngine.H"
#include "Image/Image.H"
#include "Image/Normalize.H"
#include "Image/MathOps.H"
#include "Media/FrameSeries.H"
#include "Raster/GenericFrame.H"
#include "Raster/Raster.H"
#include "Transport/FrameInfo.H"
#include "Util/Pause.H"
#include "Util/csignals.H"
#include "Util/Timer.H"
#include <complex>
Go to the source code of this file.
Functions | |
double | compute_factor (const complexd &val, const double &mag) |
int | submain (int argc, const char **argv) |
int | main (const int argc, const char **argv) |
Variables | |
static const ModelOptionCateg | MOC_FFTMANIP |
static const ModelOptionDef | OPT_RemovePhase |
static const ModelOptionDef | OPT_RemoveMagnitude |
static const ModelOptionDef | OPT_AdjustMagnitude |
Manipulate an image in the fft domain. Used to remove phase or magnitude from an image or movie
Definition in file app-fft-manipulator.C.
const ModelOptionCateg MOC_FFTMANIP [static] |
{
MOC_SORTPRI_2, "Options for fft manipulation" }
Definition at line 59 of file app-fft-manipulator.C.
const ModelOptionDef OPT_AdjustMagnitude [static] |
{ MODOPT_ARG(float), "AdjustMagnitude", &MOC_FFTMANIP, OPTEXP_CORE, "adjust the power spectrum of an image by 1/frequency^a", "adjust-magnitude", '\0', "<float>", "0.0" }
Definition at line 72 of file app-fft-manipulator.C.
const ModelOptionDef OPT_RemoveMagnitude [static] |
{ MODOPT_FLAG, "RemoveMagnitude", &MOC_FFTMANIP, OPTEXP_CORE, "remove the phase component of an image", "remove-magnitude", '\0', "--[no]remove-phase", "false" }
Definition at line 67 of file app-fft-manipulator.C.
const ModelOptionDef OPT_RemovePhase [static] |
{ MODOPT_FLAG, "RemovePhase", &MOC_FFTMANIP, OPTEXP_CORE, "remove the phase component of an image", "remove-phase", '\0', "--[no]remove-phase", "false" }
Definition at line 62 of file app-fft-manipulator.C.