Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CorticalTransform.C File Reference


Detailed Description

Definition in file CorticalTransform.C.

#include "Image/CorticalTransform.H"
#include "Image/MatrixOps.H"
#include "Image/LowPass.H"
#include "Util/Promotions.H"
#include "Image/Pixels.H"
#include "Image/Layout.H"
#include "Util/MathFunctions.H"

Include dependency graph for CorticalTransform.C:

Go to the source code of this file.

Defines

#define PI   3.14159265

Functions

template<class T_or_RGB>
Image< T_or_RGB > transform (const SpaceVariantTransform &sv, const Image< T_or_RGB > &input)
 compute cortical scale space, subsample and return a space variant image
template<class T_or_RGB>
Image< T_or_RGB > transformDoG (const SpaceVariantTransform &sv, const Image< T_or_RGB > &input, const int smult, const bool centeron)
template<class T_or_RGB>
Image< T_or_RGB > replicateHemifield (const Image< T_or_RGB > &inp)
template Image< PixRGB< byte > > transform (const SpaceVariantTransform &svt, const Image< PixRGB< byte > > &inp)
template Image< PixRGB< byte > > transformDoG (const SpaceVariantTransform &svt, const Image< PixRGB< byte > > &inp, const int surround_ratio, const bool center_on)
template Image< PixRGB< byte > > replicateHemifield (const Image< PixRGB< byte > > &inp)
template Image< float > transform (const SpaceVariantTransform &svt, const Image< float > &inp)
template Image< float > transformDoG (const SpaceVariantTransform &svt, const Image< float > &inp, const int surround_ratio, const bool center_on)
template Image< float > replicateHemifield (const Image< float > &inp)


Function Documentation

template<class T_or_RGB>
Image<T_or_RGB> transform const SpaceVariantTransform sv,
const Image< T_or_RGB > &  input
 

compute cortical scale space, subsample and return a space variant image

Definition at line 155 of file CorticalTransform.C.

Referenced by abs(), classify_image(), lobot::downstring(), get_textons(), inverse(), normalize(), normalized_histogram(), spatial_counts_vector(), submain(), toPower(), and lobot::upstring().

template<class T_or_RGB>
Image<T_or_RGB> transformDoG const SpaceVariantTransform sv,
const Image< T_or_RGB > &  input,
const int  surround_ratio = 2,
const bool  center_on = true
 

compute cortical scale space, subsample and return a space variant image with center surround structure. Be aware that types <byte> or PixRGB<byte> will be truncated > 0, losing the negative component. Cast to int or float first.

Definition at line 194 of file CorticalTransform.C.

References ImageSet< T >::back(), diff(), Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), SpaceVariantTransform::itsLookup, SpaceVariantTransform::itsVar, lowPass3(), NO_INIT, out, p, ImageSet< T >::pop_front(), ImageSet< T >::push_back(), Image< T >::setVal(), and w.

Referenced by submain().


Generated on Sun Nov 22 13:44:04 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4