convolutionMap< T > Class Template Reference

Container class for convolution maps. More...

#include <Image/ConvolutionMap.H>

Collaboration diagram for convolutionMap< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 convolutionMap ()
 default constructor
 convolutionMap (T smallNumber, unsigned int initVecSize, Image< T > &origImage, Image< T > &kernelImage)
 default constructor, with initial values
 ~convolutionMap ()
 default destructor
void CMcheckInit1 ()
 check to see that we set up everything...
void CMcheckInit2 ()
 check to see that we set up everything...
void CMcopyImage (Image< T > &input)
 copy an image into an attached image array

Public Attributes

Image< std::vector< T * > > CMimageMap
 This is the pointer map to each pixel in the image for convolution.
Image< std::vector< T > > CMkernelMap
 This is the pointer map to each pixel in the kernel for convolution.
Image< unsigned int > CMindexMap
 This stores the number of operations at each pixel.
Image< T > CMkWeightNorm
 This stores the normalization const at each pixel.
Image< T > CMstaticImage
 This is the "attached" static image to use.
Image< T > CMorigImage
 This is the original or template image to create a static image from.
T * CMimageArrayHandle
 This is the handle to the static information in the attached image.
unsigned int CMimageArraySize
 This is an outside holder for the array size.
Image< T > CMkernel
 This is the "attached" static kernel image to use.
CMsmallNumber
 This is the small number below which we weed out operations.
unsigned int CMinitVecSize
 initial size for vectors, 0 means kernel size
bool CMinit1
 set true if we input values during construction
bool CMinit2
 set true if we called a known init method to make maps
bool CMpreciseVectors
 set this to true if the vector maps are precise in size

Detailed Description

template<class T>
class convolutionMap< T >

Container class for convolution maps.

Definition at line 47 of file ConvolutionMap.H.


Constructor & Destructor Documentation

template<class T >
convolutionMap< T >::convolutionMap (  )  [inline]
template<class T>
convolutionMap< T >::convolutionMap ( smallNumber,
unsigned int  initVecSize,
Image< T > &  origImage,
Image< T > &  kernelImage 
) [inline]
template<class T >
convolutionMap< T >::~convolutionMap (  )  [inline]

default destructor

Definition at line 182 of file ConvolutionMap.H.


Member Function Documentation

template<class T >
void convolutionMap< T >::CMcheckInit1 (  )  [inline]

check to see that we set up everything...

Definition at line 187 of file ConvolutionMap.H.

References convolutionMap< T >::CMinit1, convolutionMap< T >::CMkernel, and convolutionMap< T >::CMorigImage.

Referenced by computeConvolutionMaps().

template<class T >
void convolutionMap< T >::CMcheckInit2 (  )  [inline]
template<class T>
void convolutionMap< T >::CMcopyImage ( Image< T > &  input  )  [inline]

copy an image into an attached image array

Definition at line 221 of file ConvolutionMap.H.

References Image< T >::beginw(), convolutionMap< T >::CMstaticImage, Image< T >::getHeight(), and Image< T >::getWidth().


Member Data Documentation

template<class T>
T* convolutionMap< T >::CMimageArrayHandle

This is the handle to the static information in the attached image.

Definition at line 78 of file ConvolutionMap.H.

Referenced by computeConvolutionMaps().

template<class T>
unsigned int convolutionMap< T >::CMimageArraySize

This is an outside holder for the array size.

Definition at line 80 of file ConvolutionMap.H.

template<class T>
Image<std::vector<T*> > convolutionMap< T >::CMimageMap

This is the pointer map to each pixel in the image for convolution.

Definition at line 66 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit2(), computeConvolutionMaps(), and convolveWithMaps().

template<class T>
Image<unsigned int> convolutionMap< T >::CMindexMap

This stores the number of operations at each pixel.

Definition at line 70 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit2(), computeConvolutionMaps(), and convolveWithMaps().

template<class T>
bool convolutionMap< T >::CMinit1

set true if we input values during construction

Definition at line 88 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit1(), and convolutionMap< T >::convolutionMap().

template<class T>
bool convolutionMap< T >::CMinit2

set true if we called a known init method to make maps

Definition at line 90 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit2(), and computeConvolutionMaps().

template<class T>
unsigned int convolutionMap< T >::CMinitVecSize

initial size for vectors, 0 means kernel size

Definition at line 86 of file ConvolutionMap.H.

Referenced by computeConvolutionMaps(), and convolutionMap< T >::convolutionMap().

template<class T>
Image<T> convolutionMap< T >::CMkernel

This is the "attached" static kernel image to use.

Definition at line 82 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit1(), computeConvolutionMaps(), and convolutionMap< T >::convolutionMap().

template<class T>
Image<std::vector<T> > convolutionMap< T >::CMkernelMap

This is the pointer map to each pixel in the kernel for convolution.

Definition at line 68 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit2(), computeConvolutionMaps(), and convolveWithMaps().

template<class T>
Image<T> convolutionMap< T >::CMkWeightNorm

This stores the normalization const at each pixel.

Definition at line 72 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit2(), computeConvolutionMaps(), and convolveWithMaps().

template<class T>
Image<T> convolutionMap< T >::CMorigImage

This is the original or template image to create a static image from.

Definition at line 76 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit1(), computeConvolutionMaps(), and convolutionMap< T >::convolutionMap().

template<class T>
bool convolutionMap< T >::CMpreciseVectors

set this to true if the vector maps are precise in size

Definition at line 92 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::convolutionMap(), and convolveWithMaps().

template<class T>
T convolutionMap< T >::CMsmallNumber

This is the small number below which we weed out operations.

Definition at line 84 of file ConvolutionMap.H.

Referenced by computeConvolutionMaps(), and convolutionMap< T >::convolutionMap().

template<class T>
Image<T> convolutionMap< T >::CMstaticImage

This is the "attached" static image to use.

Definition at line 74 of file ConvolutionMap.H.

Referenced by convolutionMap< T >::CMcheckInit2(), convolutionMap< T >::CMcopyImage(), computeConvolutionMaps(), and convolveWithMaps().


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:21:04 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3