app-fft-manipulator.C File Reference

#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>
Include dependency graph for app-fft-manipulator.C:

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

Detailed Description

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.


Variable Documentation

const ModelOptionCateg MOC_FFTMANIP [static]
Initial value:
 {
  MOC_SORTPRI_2, "Options for fft manipulation" }

Definition at line 59 of file app-fft-manipulator.C.

const ModelOptionDef OPT_AdjustMagnitude [static]
Initial value:
  { 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]
Initial value:
  { 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]
Initial value:
  { 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.

Generated on Sun May 8 08:07:19 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3