Container class for convolution maps. More...
#include <Image/ConvolutionMap.H>
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. | |
T | 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 |
Container class for convolution maps.
Definition at line 47 of file ConvolutionMap.H.
convolutionMap< T >::convolutionMap | ( | ) | [inline] |
default constructor
Definition at line 153 of file ConvolutionMap.H.
References convolutionMap< T >::CMinit1, convolutionMap< T >::CMinitVecSize, convolutionMap< T >::CMpreciseVectors, and convolutionMap< T >::CMsmallNumber.
convolutionMap< T >::convolutionMap | ( | T | smallNumber, | |
unsigned int | initVecSize, | |||
Image< T > & | origImage, | |||
Image< T > & | kernelImage | |||
) | [inline] |
default constructor, with initial values
Definition at line 164 of file ConvolutionMap.H.
References convolutionMap< T >::CMinit1, convolutionMap< T >::CMinitVecSize, convolutionMap< T >::CMkernel, convolutionMap< T >::CMorigImage, convolutionMap< T >::CMpreciseVectors, and convolutionMap< T >::CMsmallNumber.
convolutionMap< T >::~convolutionMap | ( | ) | [inline] |
default destructor
Definition at line 182 of file ConvolutionMap.H.
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().
void convolutionMap< T >::CMcheckInit2 | ( | ) | [inline] |
check to see that we set up everything...
Definition at line 201 of file ConvolutionMap.H.
References convolutionMap< T >::CMimageMap, convolutionMap< T >::CMindexMap, convolutionMap< T >::CMinit2, convolutionMap< T >::CMkernelMap, convolutionMap< T >::CMkWeightNorm, convolutionMap< T >::CMstaticImage, and Image< T >::initialized().
Referenced by convolveWithMaps().
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().
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().
unsigned int convolutionMap< T >::CMimageArraySize |
This is an outside holder for the array size.
Definition at line 80 of file ConvolutionMap.H.
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().