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

Image< T > Class Template Reference

#include <Image/Image.H>

Inheritance diagram for Image< T >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class Image< T >

Generic image template class.

This is a generic image template class that can handle grayscale as well as color or multispectral images. All Image methods should be instantiable for any type T that has the basic arithmetic operators. Note that some external Image functions will only work for scalar types (e.g. if comparison operators are needed), and other will only work for composite types such as PixRGB (e.g. if luminance() is needed).

Note also that many other image manipulation functions are defined as non-member functions in Image/ColorOps.H, Image/FilterOps.H, Image/IO.H, Image/MathOps.H, Image/Omni.H, Image/ShapeOps.H, and Image/Transforms.H.

Definition at line 73 of file Image.H.

Iterators

There are const and non-const versions of iterators, which are returned by begin()/end() and beginw()/endw(), respectively. The "w" in beginw()/endw() is a mnemonic for "write" or "writeable". Beware that the non-const versions of these functions will invoke the copy-on-write mechanism (see ArrayHandle), so a deep copy of all the image data will be made if the current image object is not the unique owner of its image data. Thus, begin()/end() should always be used unless write access is specifically needed. (It is for this reason that we don't overload the const/non-const functions with the same names (even though this is possible in C++, as done in the STL containers)).

Debugging iterators (CheckedIterator) will be used if the macro INVT_MEM_DEBUG is define'd. A checked iterator will check that it is within its proper bounds every time that it is dereferenced with either operator*() or operator->(). Note that the existence of the checked iterators means you cannot rely on an image iterator being a raw pointer. Instead, getArrayPtr() is available in case you unconditionally need a raw pointer to the image data.

typedef T * iterator
 Read/write iterator.
typedef const T * const_iterator
 Read-only iterator.
const_iterator begin () const
 Returns a read-only iterator to the beginning of the image data.
const_iterator end () const
 Returns a read-only iterator to one-past-the-end of the image data.
iterator beginw ()
 Returns a read-write iterator to the beginning of the image data.
iterator endw ()
 Returns a read-write iterator to one-past-the-end of the image data.

Public Member Functions

Constructors, destructors, assignment
 Image (const T *inarray, int width, int height)
 Construct from C array.
 Image (const T *inarray, const Dims &dims)
 Construct from C array.
 Image (int width, int height, InitPolicy init)
 Allocates memory for given size, and optionally zero-clear that memory.
 Image (const Dims &dims, InitPolicy init)
 Constructor that only allocates memory for given size.
 Image ()
 Construct an empty (0-by-0) image (useful for arrays of Images).
 Image (const Image< T > &A)
 Copy constructor.
template<class T2>
 Image (const Image< T2 > &A)
 Conversion copy constructor.
Image< T > & operator= (const Image< T > &A)
 Assigment operator.
template<class T2>
Image< T > & operator= (const Image< T2 > &A)
 Conversion assigment operator.
 ~Image ()
 Destructor.
void freeMem ()
 Free memory and switch to uninitialized state.
Memory management functions
void swap (Image< T > &other)
 Swap the contents of two images.
void attach (T *array, const int width, const int height)
 Use existing memory.
void detach ()
 Detach previously attach()'ed image.
Image< T > deepcopy () const
 Return a new image object with a deep copy of the underlying data.
void resize (const Dims &dims, const bool clear=false)
 Free mem and realloc new array (array contents are lost).
void resize (const int width, const int height, const bool clear=false)
 Free mem and realloc new array (array contents are lost).
Access functions
bool initialized () const
 Check whether image is non-empty (i.e., non-zero height and width).
int getSize () const
 Get image size (width * height).
int getWidth () const
 Get image width.
int getHeight () const
 Get image height.
const DimsgetDims () const
 Get image width+height in Dims struct.
Rectangle getBounds () const
 Get image bounds as a rectangle with upper-left point at (0,0) and dims matching the image dims.
template<class C>
bool isSameSize (const C &other) const
 Check if *this is the same size as the other thing.
bool is1D () const
 Check if the image is 1D, i.e., width == 1 or height == 1.
bool isVector () const
 Check if the image is a vector, i.e., width == 1.
bool isTransposedVector () const
 Check if the image is a transposed vector, i.e., height == 1.
bool isSquare () const
 Check if the image is square, i.e., width == height.
T & operator[] (const int index)
 Access image elements through C array index interface.
const T & operator[] (const int index) const
 Access image elements through C array index interface.
T & operator[] (const Point2D< int > &p)
 Access image elements through C array index interface.
const T & operator[] (const Point2D< int > &p) const
 Access image elements through C array index interface.
const T & getVal (const int index) const
 Get pixel value at index in image.
const T & getVal (const int x, const int y) const
 Get pixel value at (x, y) in image.
const T & getVal (const Point2D< int > &p) const
 Get pixel value at specified coordinates in image.
template<class T2>
void getVal (const int x, const int y, T2 &val) const
 Get value at (x,y), put in val rather that return it.
getValInterp (const float x, const float y) const
 Get pixel value at (x, y) in image with bilinear interpolation.
getValInterp (const Point2D< float > &p) const
 Get pixel value at (x, y) in image with bilinear interpolation.
getValInterpScaled (const Point2D< int > &p, const Dims &pdims) const
 Get pixel value with bilinear interpolation at a location (x,y) specified in a different Dims scale.
template<class T2>
void setVal (const int index, const T2 &value)
 Set value in image at index.
template<class T2>
void setVal (const int x, const int y, const T2 &value)
 Set value in image at (x, y).
template<class T2>
void setVal (const Point2D< int > &p, const T2 &value)
 Set value in image at Point2D<int>.
const T * getArrayPtr () const
 Returns read-only (const) pointer to internal image array.
T * getArrayPtr ()
 Returns read/write (non-const) pointer to internal image array.
bool coordsOk (const Point2D< int > &P) const
 Test whether point falls inside array boundaries.
bool coordsOk (const int i, const int j) const
 Test whether point falls inside array boundaries.
bool coordsOk (const Point2D< float > &p) const
 Test whether point falls inside array boundaries.
bool coordsOk (const float i, const float j) const
 Test whether point falls inside array boundaries.
bool rectangleOk (const Rectangle &rect) const
 Test whether rectangle fits in image.
Operator overloads and basic image manipulations
Note that many other image manipulation functions are available in Image_ColorOps.H, Image_FilterOps.H, Image_IO.H, Image_MathOps.H, Image_Omni.H, Image_ShapeOps.H, Image_Transforms.H, and Image_Conversions.H.

bool operator== (const Image< T > &that) const
 Equality: true if the images are the same size and all pixels are equal.
Image< T > & operator+= (const T &val)
 Add constant to image, clamp result as necessary.
Image< T > & operator-= (const T &val)
 Subtract constant from image, clamp result as necessary.
Image< T > & operator *= (const T &val)
 Multiply image by constant, clamp result as necessary.
Image< T > & operator/= (const T &val)
 Divide image by constant, clamp result as necessary.
Image< T > & operator<<= (const unsigned int nbits)
 Bit-shift left by constant (type T must have operator<<()).
Image< T > & operator>>= (const unsigned int nbits)
 Bit-shift right by constant (type T must have operator>>()).
template<class T2>
Image< T > & operator+= (const Image< T2 > &A)
 Add image to image, clamp result as necessary.
template<class T2>
Image< T > & operator-= (const Image< T2 > &A)
 Subtract image from image, clamp result as necessary.
template<class T2>
Image< T > & operator *= (const Image< T2 > &A)
 Multiply image by image, point-by-point, clamp result as necessary.
template<class T2>
Image< T > & operator/= (const Image< T2 > &A)
 Divide image by image, point-by-point, clamp result as necessary.
template<class T2>
Image< T > & operator|= (const Image< T2 > &A)
 Bitwise-or image by image, point-by-point, clamp result as necessary.
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator+ (const T2 &val) const
 Add scalar to each point in *this and return result.
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator- (const T2 &val) const
 Subtract scalar from each point in *this and return result.
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator * (const T2 &val) const
 Multiply scalar each point in *this by scalar and return result.
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator/ (const T2 &val) const
 Divide each point in *this by scalar and return result.
Image< T > operator<< (const unsigned int nbits) const
 Bit-shift left by constant and return result (type T must have operator<<()).
Image< T > operator>> (const unsigned int nbits) const
 Bit-shift right by constant and return result (type T must have operator>>()).
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator+ (const Image< T2 > &img) const
 Point-wise add img to image and return result.
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator- (const Image< T2 > &img) const
 Point-wise subtract img from *this and return result.
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator * (const Image< T2 > &img) const
 Point-wise multiply *this by img and return result.
template<class T2>
Image< typename promote_trait<
T, T2 >::TP > 
operator/ (const Image< T2 > &img) const
 Point-wise divide *this by img and return result.
void clear (const T &val=T())
 clear contents (or set to given value)
Functions for testing/debugging only
bool hasSameData (const Image< T > &b) const
 For testing/debugging only.
long refCount () const throw ()
 For testing/debugging only.
bool isShared () const throw ()
 For testing/debugging only.


Member Typedef Documentation

template<class T>
typedef const T* Image< T >::const_iterator
 

Read-only iterator.

Definition at line 267 of file Image.H.

template<class T>
typedef T* Image< T >::iterator
 

Read/write iterator.

Definition at line 265 of file Image.H.


Constructor & Destructor Documentation

template<class T>
Image< T >::Image const T *  inarray,
int  width,
int  height
[inline]
 

Construct from C array.

Build from C array; an internal copy of the C array will be allocated, so the C array can (and should) be freed without affecting the Image.

Definition at line 582 of file Image.H.

template<class T>
Image< T >::Image const T *  inarray,
const Dims dims
[inline]
 

Construct from C array.

Build from C array; an internal copy of the C array will be allocated, so the C array can (and should) be freed without affecting the Image.

Definition at line 588 of file Image.H.

template<class T>
Image< T >::Image int  width,
int  height,
InitPolicy  init
[inline]
 

Allocates memory for given size, and optionally zero-clear that memory.

Definition at line 594 of file Image.H.

template<class T>
Image< T >::Image const Dims dims,
InitPolicy  init
[inline, explicit]
 

Constructor that only allocates memory for given size.

Definition at line 600 of file Image.H.

template<class T>
Image< T >::Image  )  [inline]
 

Construct an empty (0-by-0) image (useful for arrays of Images).

Definition at line 606 of file Image.H.

template<class T>
Image< T >::Image const Image< T > &  A  )  [inline]
 

Copy constructor.

e.g.:

      Image<byte> im(other);
      // or
      Image<byte> im = other; // with other also of type Image<byte>

Definition at line 612 of file Image.H.

template<class T>
template<class T2>
Image< T >::Image const Image< T2 > &  A  )  [inline]
 

Conversion copy constructor.

e.g.:

      Image<byte> im(other);
      // or
      Image<byte> im = other; // with other of type Image<float>

Definition at line 618 of file Image.H.

References Image< T >::begin(), Image< T >::beginw(), and Image< T >::endw().

template<class T>
Image< T >::~Image  )  [inline]
 

Destructor.

Definition at line 659 of file Image.H.


Member Function Documentation

template<class T>
void Image< T >::attach T *  array,
const int  width,
const int  height
[inline]
 

Use existing memory.

This is potentially dangerous and should really be avoided. The only case where this really is useful is to attach an image to an existing memory segment that is shared or into which data is streaming via DMA.

Definition at line 683 of file Image.H.

References WRITE_THRU.

Referenced by Ice2Image(), Image_xx_attach_detach_xx_1(), and orb2Image().

template<class T>
Image< T >::const_iterator Image< T >::begin  )  const [inline]
 

Returns a read-only iterator to the beginning of the image data.

Definition at line 744 of file Image.H.

Referenced by abs(), absDiff(), addRow(), average(), averageWeighted(), avgOrient(), binaryReverse(), blurAndDecY(), centerSurround(), chamfer34(), clampedDiff(), colorize(), colorStain(), SurpriseModelOD::combineFrom(), SurpriseModelPM::combineFrom(), composite(), SimulationViewerStats::computeAGStats(), AttentionGateStd::computeMinMaxXY(), concatArray(), concatX(), concatY(), contour2D(), contour2D8(), convertToQPixmap(), convolveCleanHelper(), convolveCleanZero(), convolveHmax(), convolveWithMaps(), convolveZeroHelper(), corrcoef(), correlation(), corrpatch(), countThresh(), crop(), deBayer(), decX(), decXY(), decY(), dilateImg(), distance(), distDegrade(), divideRow(), WinnerTakeAllStdOptim::doEvolve(), WinnerTakeAllTempNote::doEvolve(), WinnerTakeAllGreedy::doEvolve(), WinnerTakeAllStd::doEvolve(), VarianceChannel::doInput(), MultiColorBandChannel::doInput(), IntensityBandChannel::doInput(), H2SVChannel::doInput(), EntropyChannel::doInput(), dotprod(), drawContour2D8(), BitObject::drawShape(), MotionEnergyPyrBuilder< T >::DrawVectors(), dumpImage(), emptyArea(), erodeImg(), V4::evolve(), IT::evolve(), RetinaToWorld::evolve(), exp(), featurePoolHmax(), FourierEngine< T >::fft(), V1::filter2D(), filterAtLocationBatch(), findMax(), findMin(), findNonZero(), flipHoriz(), flipVertic(), gameOfLifeUpdate(), getAugmentedBeliefBayesImage(), getColor(), getError(), PnmParser::getFrame(), VisualObjectMatch::getFusedImage(), getJpegYUV(), getLikelyhoodImage(), getMaskedMinMax(), getMaskedMinMaxAvg(), getMaskedMinMaxSumArea(), SurpriseImage< T >::getMean(), getMinMax(), getMinMaxAvg(), getMinMaxAvgEtc(), getNormalizedBayesImage(), POMDP::getObjProb(), SpectralResidualChannel::getOutput(), getPixelComponentImage(), getRange(), getRGBY(), NeuralLayer::getSpikeRate(), NeuralLayer::getSpikes(), getSubSum(), getSubSumGen(), WinnerTakeAllTempNote::getV(), WinnerTakeAllStd::getV(), SaliencyMapStd::getV(), NeuralLayer::getV(), Image< T >::getVal(), Jet< T >::getVal(), Image< T >::getValInterp(), SurpriseImage< T >::getVar(), getVector(), getVectorColumn(), getVectorRow(), WinnerTakeAllTempNote::getVth(), getYIQ(), gradient(), gradientmag(), gradientori(), gradientSobel(), hmaxActivation(), V2::houghTrans(), houghTrans(), hueDistance(), Image< T >::Image(), Image2mexArray(), Image2mexArrayUint8(), Image_xx_begin_end_xx_1(), Image_xx_default_construct_xx_1(), Image_xx_orientedFilter_xx_1(), SurpriseImage< T >::init(), inplaceAddWeighted(), inplaceEmbed(), inplacePaste(), inplacePasteGabor(), inplaceSetValMask(), SaliencyMapStd::input(), NeuralLayer::inputAMPA(), NeuralLayer::inputGABAA(), NeuralLayer::inputGABAB(), VirtualVoxelSalMap< T >::inputNewImage(), NeuralLayer::inputNMDA(), SaliencyMapStdOptim::integrate(), interpolate(), intgCenterSurround(), intgGetRGBY(), intgMaxNormalizeStd(), intgOrientedFilter(), intgQuadEnergy(), intgRescale(), intgScaleLuminanceFromByte(), intgShiftImage(), intX(), intXY(), intXYWithPad(), intY(), inverse(), isFinite(), isLocalMax(), joinLogampliPhase(), junctionFilterFull(), junctionFilterPartial(), learningCoeff(), PatchSet::load(), TrainingSet::load(), TrainingSet::loadRebalanced(), POMDP::locateObject(), log(), log10(), logPolarTransform(), logSig(), lowPass3x(), lowPass3y(), lowPass5x(), lowPass5xDecX(), lowPass5y(), lowPass5yDecY(), lowPass9x(), lowPass9y(), main(), makeBinary(), Nv2UiJob::makeInhibitionMarkup(), makeRGB(), makeSparceMap(), meanAbsDiff(), median3x(), median3y(), multiplyRow(), multiScaleBatchFilter(), negexp(), normalizeScaleRainbow(), normalizeWithScale(), operator *(), Image< T >::operator *(), Image< T >::operator *=(), operator+(), Image< T >::operator+(), Image< T >::operator+=(), operator-(), Image< T >::operator-(), Image< T >::operator-=(), operator/(), Image< T >::operator/(), Image< T >::operator/=(), Image< T >::operator=(), Image< T >::operator==(), Image< T >::operator[](), Image< T >::operator|=(), optConvolve(), orientedFilter(), Hmax::origGetC2(), overlay(), overlayStain(), pasteImage(), SurpriseImage< T >::preComputeHyperParams(), quadEnergy(), quickInterpolate(), quickLocalAvg(), quickLocalAvg2x2(), quickLocalMax(), quickLocalMin(), rangeOf(), remapRange(), replaceVals(), rescaleBilinear(), rescaleNI(), retinexCompareNeighbors(), RMSerr(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSgetOutImage(), CINNICstatsRun::runStandardStats(), SimulationViewerStats::saveCompat(), SingleChannel::saveStats(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCcomputeLocalBias(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCcomputeNewBeta(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetInImage(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetOutImage(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetSharpened(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCinputConspicMap(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCprocessFrameSeperable(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCseperateConv(), segmentColor(), BitObject::setMaxMinAvgIntensity(), RealVoxel< T >::setSlice(), shift(), shiftClean(), shiftImage(), dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::sigmoid(), segmentImageMC::SIsegment(), segmentImageTrackMC::SITsmoothImage(), segmentImageTrackMC::SITtrackImage(), RealVoxel< T >::sliceOp(), spatialPoolMax(), splitPosNeg(), sqrt(), squared(), squash(), ScaleRemoveSurprise< FLOAT >::SRSgetBetaParts(), ScaleRemoveSurprise< FLOAT >::SRSgetDiffImage(), ScaleRemoveSurprise< FLOAT >::SRSgetDiffParts(), ScaleSurpriseControl< FLOAT >::SSCgetBetaParts(), ScaleSurpriseControl< FLOAT >::SSCgetDiffImage(), ScaleSurpriseControl< FLOAT >::SSCgetDiffParts(), stain(), stainPosNeg(), stdev(), stdevRow(), subtractRow(), sum(), sumXY(), SurpriseImage< T >::surprise(), takeMax(), takeMin(), thresholdedMix(), toPower(), toRGB(), trace(), BackpropNetwork::train(), transform(), transpose(), weightedBlur(), PnmWriter::writeAsciiBW(), writeImageToStream(), PlaintextWriter::writePlaintextGrayF32(), PlaintextWriter::writePlaintextGrayU8(), PnmWriter::writeRawBW(), xFilter(), yFilter(), and zoomXY().

template<class T>
Image< T >::iterator Image< T >::beginw  )  [inline]
 

Returns a read-write iterator to the beginning of the image data.

Definition at line 752 of file Image.H.

Referenced by abs(), absDiff(), SwpeScorer::accum(), addNoise(), addRow(), apply(), average(), averageWeighted(), avgOrient(), binaryReverse(), SaliencyMapStd::blinkSuppression(), blurAndDecY(), centerSurround(), chamfer34(), clampedDiff(), Image< T >::clear(), convolutionMap< T >::CMcopyImage(), colorize(), colorStain(), composite(), SimulationViewerStats::computeAGStats(), ComputeCMAP(), AttentionGateStd::computeFeatureDistance(), TaskRelevanceMapGistClassify::computeGistDist(), SimulationViewerStats::computeLAMStats(), AffineTransform::computeTransform(), concatArray(), concatX(), concatY(), contour2D(), contour2D8(), convertToImage(), convolveCleanHelper(), convolveCleanZero(), convolveHmax(), convolveWithMaps(), convolveZeroHelper(), corrEigenMatrix(), correlation(), crop(), deBayer(), decX(), decXY(), decY(), SaliencyMapStdOptim::depress(), SaliencyMapFast::depress(), SaliencyMapTrivial::depress(), SaliencyMapStd::depress(), diff(), dilateImg(), distDegrade(), divideRow(), WinnerTakeAllStdOptim::doEvolve(), WinnerTakeAllTempNote::doEvolve(), WinnerTakeAllGreedy::doEvolve(), WinnerTakeAllStd::doEvolve(), dogFilter(), VarianceChannel::doInput(), ScorrChannel::doInput(), PN03contrastChannel::doInput(), H2SVChannel::doInput(), EntropyChannel::doInput(), downscaleFancy(), drawFilledPolygon(), drawFilledRect(), BitObject::drawShape(), erodeImg(), RetinaToWorld::evolve(), GistEstimatorContextBased::evolve(), NeuralLayer::evolve(), exp(), eye(), featureClusterVision< FLOAT >::fCVgetImageComplexStats(), featureClusterVision< FLOAT >::fCVprocessOutSaccadeData(), featureClusterVision< FLOAT >::fCVrunStandAloneMSBatchTest(), fill(), filterAtLocation(), findMonteMap(), findNonZero(), flipHoriz(), flipVertic(), flood(), fromARGB(), fromMono(), fromRGB(), fromRGB555(), fromRGB565(), fromVideoHM12(), fromVideoYUV24(), fromVideoYUV410P(), fromVideoYUV411(), fromVideoYUV411P(), fromVideoYUV420P(), fromVideoYUV422(), fromVideoYUV422P(), fromVideoYUV444(), fromVideoYUV444P(), gaborFilter(), gaborFilter2(), gaborFilter3(), gaborFilterRGB(), GaborPatch::GaborPatch(), gameOfLifeUpdate(), gaussian2D(), get_textons(), SOFM::getActMap(), getAugmentedBeliefBayesImage(), AffineTransform::getCalibrated(), getComponents(), PnmParser::getFrame(), DpxParser::getFrame(), VisualObjectMatch::getFusedImage(), TaskRelevanceMapTigs2::getGistPCAMatrix(), getGrey(), getImage(), SearchArray::getImage(), TaskRelevanceMapTigs2::getImgPCAMatrix(), getJpegYUV(), getLikelyhoodImage(), SOFM::getMap(), SurpriseImage< T >::getMean(), getNormalizedBayesImage(), TcorrChannel::getOutput(), SpectralResidualChannel::getOutput(), TaskRelevanceMapTigs::getPCAMatrix(), TaskRelevanceMapGistClassify::getPCAMatrix(), getPixelComponent(), getPixelComponentImage(), getRGBY(), EnvSaliencyMap::getSalmap(), RealVoxel< T >::getSlice(), NeuralLayer::getSpikeRate(), NeuralLayer::getSpikes(), TaskRelevanceMapTigs2::getTigsMatrix(), TaskRelevanceMapTigs::getTigsMatrix(), VisualObjectMatch::getTransfTestImage(), WinnerTakeAllTempNote::getV(), WinnerTakeAllStd::getV(), SaliencyMapStd::getV(), NeuralLayer::getV(), SurpriseImage< T >::getVar(), WinnerTakeAllTempNote::getVth(), SOFM::getWeightsImage(), getYIQ(), IEEE1394grabber::grabPrealloc(), ColorMap::GRADIENT(), gradientmag(), gradientori(), grating(), ColorMap::GREY(), GREY_to_YUV24(), hack(), highThresh(), hmaxActivation(), V2::houghTrans(), houghTrans(), hueDistance(), Image< T >::Image(), Image_xx_beginw_endw_xx_1(), Image_xx_emptyArea_xx_1(), Image_xx_fft_xx_1(), Image_xx_orientedFilter_xx_1(), Image_xx_svd_gsl_xx_1(), Image_xx_svd_lapack_xx_1(), imageWriterThread(), WinnerTakeAllTempNote::inhibit(), WinnerTakeAllStd::inhibit(), SurpriseImage< T >::init(), FeedForwardNetwork::init(), BeobotVisualCortex::init(), FeedForwardNetwork::init3L(), SurpriseMap< T >::initModels(), inplaceAddBGnoise2(), inplaceAddWeighted(), inplaceAttenuateBorders(), inplaceBackpropSigmoid(), inplaceClamp(), inplaceClearRegion(), inplaceEmbed(), inplaceLowThresh(), inplaceLowThreshAbs(), inplaceNormalize(), inplacePaste(), inplacePasteGabor(), inplaceRectify(), inplaceReplaceVal(), inplaceSetBorders(), inplaceSetValMask(), inplaceSigmoid(), inplaceSquare(), WinnerTakeAllTempNote::input(), WinnerTakeAllStd::input(), SaliencyMapStd::input(), NeuralLayer::inputAMPA(), NeuralLayer::inputGABAA(), NeuralLayer::inputGABAB(), VirtualVoxelSalMap< T >::inputNewImage(), NeuralLayer::inputNMDA(), SaliencyMapStdOptim::integrate(), SaliencyMapStd::integrate(), interpolate(), intgCenterSurround(), intgGetRGBY(), intgInplaceAddBGnoise(), intgInplaceAttenuateBorders(), intgInplaceNormalize(), intgOrientedFilter(), intgQuadEnergy(), intgRescale(), intgScaleFromByte(), intgScaleLuminanceFromByte(), intgShiftImage(), intX(), intXY(), intXYWithPad(), intY(), inverse(), ColorSegmenter::isolateOrange(), ColorMap::JET(), joinLogampliPhase(), junctionFilterFull(), junctionFilterPartial(), log(), log10(), logmagnitude(), logPolarTransform(), logSig(), longRangeExcFilter(), lowPass3x(), lowPass3x_rgb(), lowPass3y(), lowPass3y_rgb(), lowPass5x(), lowPass5xDecX(), lowPass5y(), lowPass5yDecY(), lowPass9x(), lowPass9y(), luminance(), luminanceNormalize(), magnitude(), main(), makeBinary(), makeDash(), Nv2UiJob::makeInhibitionMarkup(), makeL(), makeMeter(), makeO(), BeoMap::makePanorama(), makePlus(), makeQ(), makeRGB(), makeT(), BeobotVisualCortex::masterCollect(), matrixMult(), median3x(), median3y(), mexArray2Image(), mexArray2RGBImage(), multiplyRow(), multiScaleBatchFilter(), negexp(), SurpriseImage< T >::neighborhoods(), NeuralLayer::NeuralLayer(), normalized_histogram(), normalizeFloatRgb(), normalizeScaleRainbow(), normalizeWithScale(), operator *(), Image< T >::operator *(), Image< T >::operator *=(), operator+(), Image< T >::operator+(), Image< T >::operator+=(), operator-(), Image< T >::operator-(), Image< T >::operator-=(), operator/(), Image< T >::operator/(), Image< T >::operator/=(), Image< T >::operator<<(), Image< T >::operator<<=(), Image< T >::operator=(), Image< T >::operator>>(), Image< T >::operator>>=(), Image< T >::operator[](), Image< T >::operator|=(), optConvolve(), orientedFilter(), overlay(), overlayStain(), PnmParser::Rep::parseBW(), pasteImage(), phase(), SurpriseImage< T >::preComputeHyperParams(), quadEnergy(), quickInterpolate(), quickLocalAvg(), quickLocalAvg2x2(), quickLocalMax(), quickLocalMin(), randImage(), RandomInput::readFrame(), GameOfLifeInput::readFrame(), readImageFromStream(), remapRange(), replaceVals(), rescaleAndPromote(), rescaleBilinear(), rescaleNI(), SurpriseImage< T >::reset(), SurpriseImage< T >::resetUpdFac(), retinexCompareNeighbors(), RGB24_to_GREY(), RGB24_to_YUV24(), RGB32_to_YUV24(), rotate(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSfindConvolutionEndPoints(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSgetOutImage(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSinit(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSinputRawImage(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSprocessFrame(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSprocessFrameSeperable(), RemoveSurprise< PIXTYPE, BETATYPE, FLOAT >::RSseperateConv(), TrackFeature::run(), FeedForwardNetwork::run(), FeedForwardNetwork::run3L(), SaliencyMapStd::saccadicSuppression(), StimAnalyzer::SAcompImages(), saveData(), saveGist(), scaleBlock(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCcomputeLocalBias(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCcomputeNewBeta(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCfindConvolutionEndPoints(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetBetaImage(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetFrame(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetInImage(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetLocalBiasImages(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetOutImage(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetRawInImage(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetSeperableParts(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCgetSharpened(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCinit(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCinputConspicMap(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCinputRawImage(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCprocessFrameSeperable(), scramble(), SurpriseControl< PIXTYPE, BETATYPE, FLOAT >::SCseperateConv(), segmentColor(), Ganglion::setBias(), SurpriseMapFFT< T >::setFFTModels(), setupCases(), setupPcaIcaMatrix(), Image< T >::setVal(), Jet< T >::setVal(), shift(), shiftClean(), shiftImage(), segmentImageMC2::SIcalcMassCenter(), segmentImageMC::SIcalcMassCenter(), segmentImageMC2::SIgetValue(), segmentImageMC::SIgetValue(), dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::sigmoid(), segmentImageMerge2::SIMclusterColor(), BeobotVisualCortex::singleCPUprocess(), segmentImageMC2::SIresetCandidates(), segmentImageMC::SIresetCandidates(), segmentImageTrackMC::SITtrackImage(), segmentImageTrackMC::SITtrackImageAny(), spatialPoolMax(), splitPosNeg(), sqrt(), squared(), squash(), ScaleRemoveSurprise< FLOAT >::SRScomputeBayesFeatureBias(), ScaleRemoveSurprise< FLOAT >::SRSgetBetaParts(), ScaleRemoveSurprise< FLOAT >::SRSgetDiffImage(), ScaleRemoveSurprise< FLOAT >::SRSgetDiffParts(), ScaleRemoveSurprise< FLOAT >::SRSopenBayesFeatureBias(), ScaleRemoveSurprise< FLOAT >::SRSprocessFrame(), ScaleSurpriseControl< FLOAT >::SSCgetBetaParts(), ScaleSurpriseControl< FLOAT >::SSCgetDiffImage(), ScaleSurpriseControl< FLOAT >::SSCgetDiffParts(), ScaleSurpriseControl< FLOAT >::SSCprocessFrame(), stain(), stainPosNeg(), stdevRow(), subtractRow(), SurpriseImage< T >::surprise(),