SpectralResidualChannel.C File Reference

#include "Channels/SpectralResidualChannel.H"
#include "Channels/ChannelOpts.H"
#include "Channels/ChannelVisitor.H"
#include "Component/ModelOptionDef.H"
#include "Image/FilterOps.H"
#include "Image/FourierEngine.H"
#include "Image/Kernels.H"
#include "Image/MathOps.H"
#include "Image/ShapeOps.H"
#include "Transport/FrameInfo.H"
#include "Transport/FrameOstream.H"
#include "rutz/trace.h"
Include dependency graph for SpectralResidualChannel.C:

Go to the source code of this file.

Functions

static Image< complexd > joinLogampliPhase (const Image< float > &logampli, const Image< double > &phase)

Variables

const ModelOptionDef OPT_SpectralResidualChannelSaveOutputMap
const ModelOptionDef OPT_SpectralResidualChannelSaveExtraOutput
const ModelOptionDef OPT_SpectralResidualChannelResizeSpec
const ModelOptionDef OPT_SpectralResidualChannelSpectralBlur
const ModelOptionDef OPT_SpectralResidualChannelOutputBlur
const ModelOptionDef OPT_SpectralResidualChannelOutputBlurFactor
const ModelOptionDef OPT_SpectralResidualChannelDownSizeFilterWidth
const ModelOptionDef OPT_SpectralResidualChannelAttenuationWidth
const ModelOptionDef OPT_SpectralResidualChannelOutputResize
const ModelOptionDef OPT_SpectralResidualChannelOutputResizeSpec
const ModelOptionDef OPT_SpectralResidualChannelHiboostBypass
const ModelOptionDef OPT_SpectralResidualChannelGradientBypass

Detailed Description

"Spectral Residual" channel based on Hou&Zhang (CVPR 2007)

Definition in file SpectralResidualChannel.C.


Variable Documentation

const ModelOptionDef OPT_SpectralResidualChannelAttenuationWidth
Initial value:
  { MODOPT_ARG(double), "SpectralResidualChannelAttenuationWidth", &MOC_CHANNEL, OPTEXP_CORE,
    "Width across which the borders of the Spectral Residual output "
    "should be attenuated, expressed as a proportion of the output "
    "image size.",
    "srs-attenuation-width", '\0', "<double>", "0.0" }

Definition at line 105 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelDownSizeFilterWidth
Initial value:
  { MODOPT_ARG(int), "SpectralResidualChannelDownSizeFilterWidth", &MOC_CHANNEL, OPTEXP_CORE,
    "Low-pass filter width used when downsizing input prior to "
    "processing in the Spectral Residual channel",
    "srs-lowpass-filter-width", '\0', "<int>", "8" }

Definition at line 98 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelGradientBypass
Initial value:
  { MODOPT_FLAG, "SpectralResidualChannelGradientBypass", &MOC_CHANNEL, OPTEXP_CORE,
    "Whether to bypass spectral-residual computations with a simple "
    "gradient magnitude computation instead.",
    "srs-gradient-bypass", '\0', "", "false" }

Definition at line 134 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelHiboostBypass
Initial value:
  { MODOPT_FLAG, "SpectralResidualChannelHiboostBypass", &MOC_CHANNEL, OPTEXP_CORE,
    "Whether to bypass spectral-residual computations with a simple "
    "high-frequency boost instead.",
    "srs-hiboost-bypass", '\0', "", "false" }

Definition at line 127 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelOutputBlur
Initial value:
  { MODOPT_ARG(float), "SpectralResidualChannelOutputBlur", &MOC_CHANNEL, OPTEXP_CORE,
    "Standard deviation of the Gaussian blur filter applied to the "
    "Spectral Residual channel output",
    "srs-output-blur", '\0', "<float>", "3.5" }

Definition at line 82 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelOutputBlurFactor
Initial value:
  { MODOPT_ARG(double), "SpectralResidualOutputChannelBlurFactor", &MOC_CHANNEL, OPTEXP_CORE,
    "If non-zero, then this option overrides any value set with "
    "--srs-output-blur, such that the output blur filter width&height "
    "is set to this factor times the width&height of the channel's "
    "resized input.",
    "srs-output-blur-factor", '\0', "<double>", "0.0" }

Definition at line 89 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelOutputResize
Initial value:
  { MODOPT_FLAG, "SpectralResidualChannelOutputResize", &MOC_CHANNEL, OPTEXP_CORE,
    "Whether or not to do any output resizing; if yes, then choose output "
    "dims according to --srs-output-resize-spec.",
    "srs-output-resize", '\0', "", "false" }

Definition at line 113 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelOutputResizeSpec
Initial value:
  { MODOPT_ARG(ResizeSpec), "SpectralResidualChannelOutputResizeSpec", &MOC_CHANNEL, OPTEXP_CORE,
    "Specification for how the spectral residual channel should "
    "resize its output, relative to the original input size.",
    "srs-output-resize-spec", '\0', "<None | WxH | *WFxHF | /WFxHF>", "None" }

Definition at line 120 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelResizeSpec
Initial value:
  { MODOPT_ARG(ResizeSpec), "SpectralResidualChannelResizeSpec", &MOC_CHANNEL, OPTEXP_CORE,
    "Specification for how the spectral residual channel should "
    "resize the input prior to the fft and subsequent operations. ",
    "srs-resize", '\0', "<None | WxH | *WFxHF | /WFxHF>", "64x64" }

Definition at line 68 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelSaveExtraOutput
Initial value:
  { MODOPT_FLAG, "SpectralResidualChannelSaveExtraOutput", &MOC_CHANNEL, OPTEXP_SAVE,
    "Save additional output maps from the Spectral Residual channel",
    "save-srs-extra-output", '\0', "", "false" }

Definition at line 62 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelSaveOutputMap
Initial value:
  { MODOPT_FLAG, "SpectralResidualChannelSaveOutputMap", &MOC_CHANNEL, OPTEXP_SAVE,
    "Save output maps from the Spectral Residual channel (\"SRS\")",
    "save-srs-output", '\0', "", "false" }

Definition at line 56 of file SpectralResidualChannel.C.

const ModelOptionDef OPT_SpectralResidualChannelSpectralBlur
Initial value:
  { MODOPT_ARG(uint), "SpectralResidualChannelSpectralBlur", &MOC_CHANNEL, OPTEXP_CORE,
    "Size (in pixels) of the blur filter applied to the FFT "
    "log-magnitude image to produce the spectral residual image",
    "srs-spectral-blur", '\0', "<uint>", "3" }

Definition at line 75 of file SpectralResidualChannel.C.

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