Go to the source code of this file.
Functions | |
bool | compareHeader (IplImage *A, IplImage *B) |
int | PAD_BYTES (int len, int pad) |
this might turn out to be useful. More... | |
template<class T > | |
T * | AllocAligned (int size) |
template<class T > | |
void | FreeAligned (T *ptr) |
IplConvKernel * | iplCreateConvKernel (int nCols, int nRows, int anchorX, int anchorY, int *values, int nShiftR) |
WARNING: most of this is implemented for PAD_BYTES == 0. More... | |
IplConvKernelFP * | iplCreateConvKernelFP (int nCols, int nRows, int anchorX, int anchorY, float *values) |
void | iplGetConvKernel (IplConvKernel *kernel, int *nCols, int *nRows, int *anchorX, int *anchorY, int **values, int *nShiftR) |
void | iplGetConvKernelFP (IplConvKernelFP *kernel, int *nCols, int *nRows, int *anchorX, int *anchorY, float **values) |
void | iplDeleteConvKernel (IplConvKernel *kernel) |
void | iplDeleteConvKernelFP (IplConvKernelFP *kernel) |
void | iplConvolve2D (IplImage *srcImage, IplImage *dstImage, IplConvKernel **kernel, int nKernels, int combineMethod) |
void | iplConvolve2DFP (IplImage *srcImage, IplImage *dstImage, IplConvKernelFP **kernel, int nKernels, int combineMethod) |
void | iplConvolveSep2DFP (IplImage *srcImage, IplImage *dstImage, IplConvKernelFP *xKernel, IplConvKernelFP *yKernel) |
void | iplConvolveSep2D (IplImage *srcImage, IplImage *dstImage, IplConvKernel *xKernel, IplConvKernel *yKernel) |
void | iplAllocateImage (IplImage *image, int doFill, int fillValue) |
void | iplAllocateImageFP (IplImage *image, int doFill, float fillValue) |
void | iplDeallocateImage (IplImage *image) |
IplImage * | iplCreateImageHeader (int nChannels, int alphaChannel, int depth, char *colorModel, char *channelSeq, int dataOrder, int origin, int align, int width, int height, IplROI *roi, IplImage *maskROI, void *imageId, IplTileInfo *tileInfo) |
IplImage * | iplCloneImage (const IplImage *img) |
void | iplCopy (IplImage *srcImage, IplImage *dstImage) |
void | iplDeallocateHeader (IplImage *image) |
void | iplDeallocate (IplImage *image, int flag) |
void | iplSetBorderMode (IplImage *src, int mode, int border, int constVal) |
void | iplSet (IplImage *image, int fillValue) |
void | iplSetFP (IplImage *image, float fillValue) |
void | iplAddS (IplImage *srcImage, IplImage *dstImage, int value) |
void | iplAdd (IplImage *srcImageA, IplImage *srcImageB, IplImage *dstImage) |
void | iplSubtract (IplImage *srcImageA, IplImage *srcImageB, IplImage *dstImage) |
void | iplSubtractS (IplImage *srcImage, IplImage *dstImage, int value, bool flip) |
void | iplMultiplySFP (IplImage *srcImage, IplImage *dstImage, float value) |
void | iplAbs (IplImage *srcImage, IplImage *dstImage) |
void | iplThreshold (IplImage *srcImage, IplImage *dstImage, int threshold) |
void | iplColorToGray (IplImage *srcImage, IplImage *dstImage) |
IplROI * | iplCreateROI (int coi, int xOffset, int yOffset, int width, int height) |
void | iplSetROI (IplROI *roi, int coi, int xOffset, int yOffset, int width, int height) |
void | iplRGB2HSV (IplImage *rgbImage, IplImage *hsvImage) |
void | iplHSV2RGB (IplImage *hsvImage, IplImage *rgbImage) |
void | iplXorS (IplImage *srcImage, IplImage *dstImage, unsigned int value) |
int | _iplCalcPadding (int lineSize, int align) |
Computes the ipl image padding. More... | |
|
inline |
Computes the ipl image padding.
lineSize | the total length in bytes of the row of the image. |
align | is the alignment bytes (e.g. typically 8). |
Definition at line 1489 of file IplImage.cpp.
T* AllocAligned | ( | int | size | ) |
((rem != 0) ? (YARP_IMAGE_ALIGN - rem) : 0);
Definition at line 33 of file IplImage.cpp.
Definition at line 14 of file IplImage.cpp.
void FreeAligned | ( | T * | ptr | ) |
Definition at line 46 of file IplImage.cpp.
Definition at line 1252 of file IplImage.cpp.
Definition at line 1022 of file IplImage.cpp.
Definition at line 964 of file IplImage.cpp.
void iplAllocateImage | ( | IplImage * | image, |
int | doFill, | ||
int | fillValue | ||
) |
yAssert(image->widthStep == image->width * (image->depth & IPL_DEPTH_MASK) / 8 * image->nChannels);
Definition at line 667 of file IplImage.cpp.
void iplAllocateImageFP | ( | IplImage * | image, |
int | doFill, | ||
float | fillValue | ||
) |
Definition at line 701 of file IplImage.cpp.
Definition at line 857 of file IplImage.cpp.
Definition at line 1332 of file IplImage.cpp.
void iplConvolve2D | ( | IplImage * | srcImage, |
IplImage * | dstImage, | ||
IplConvKernel ** | kernel, | ||
int | nKernels, | ||
int | combineMethod | ||
) |
__tmp_res = new char[dstImage->imageSize];
delete[] __tmp_res;
__tmp_res = new char[dstImage->imageSize];
Definition at line 174 of file IplImage.cpp.
void iplConvolve2DFP | ( | IplImage * | srcImage, |
IplImage * | dstImage, | ||
IplConvKernelFP ** | kernel, | ||
int | nKernels, | ||
int | combineMethod | ||
) |
__tmp_res = new float[dstImage->imageSize / sizeof(float)];
delete[] __tmp_res;
__tmp_res = new float[dstImage->imageSize / sizeof(float)];
Definition at line 290 of file IplImage.cpp.
void iplConvolveSep2D | ( | IplImage * | srcImage, |
IplImage * | dstImage, | ||
IplConvKernel * | xKernel, | ||
IplConvKernel * | yKernel | ||
) |
__tmp_res = new char[dstImage->imageSize];
delete[] __tmp_res;
__tmp_res = new char[dstImage->imageSize];
Definition at line 503 of file IplImage.cpp.
void iplConvolveSep2DFP | ( | IplImage * | srcImage, |
IplImage * | dstImage, | ||
IplConvKernelFP * | xKernel, | ||
IplConvKernelFP * | yKernel | ||
) |
__tmp_res = new float[dstImage->imageSize / sizeof(float)];
delete[] __tmp_res;
__tmp_res = new float[dstImage->imageSize / sizeof(float)];
Definition at line 395 of file IplImage.cpp.
Definition at line 888 of file IplImage.cpp.
IplConvKernel* iplCreateConvKernel | ( | int | nCols, |
int | nRows, | ||
int | anchorX, | ||
int | anchorY, | ||
int * | values, | ||
int | nShiftR | ||
) |
WARNING: most of this is implemented for PAD_BYTES == 0.
fixing the functions for != 0 is trivial though.
LATER: externd for PAD_BYTES != 0. NOT TESTED YET!
Definition at line 80 of file IplImage.cpp.
IplConvKernelFP* iplCreateConvKernelFP | ( | int | nCols, |
int | nRows, | ||
int | anchorX, | ||
int | anchorY, | ||
float * | values | ||
) |
Definition at line 108 of file IplImage.cpp.
IplImage* iplCreateImageHeader | ( | int | nChannels, |
int | alphaChannel, | ||
int | depth, | ||
char * | colorModel, | ||
char * | channelSeq, | ||
int | dataOrder, | ||
int | origin, | ||
int | align, | ||
int | width, | ||
int | height, | ||
IplROI * | roi, | ||
IplImage * | maskROI, | ||
void * | imageId, | ||
IplTileInfo * | tileInfo | ||
) |
the 8 bytes stuff.
Definition at line 795 of file IplImage.cpp.
IplROI* iplCreateROI | ( | int | coi, |
int | xOffset, | ||
int | yOffset, | ||
int | width, | ||
int | height | ||
) |
Definition at line 1357 of file IplImage.cpp.
void iplDeallocate | ( | IplImage * | image, |
int | flag | ||
) |
Definition at line 910 of file IplImage.cpp.
void iplDeallocateHeader | ( | IplImage * | image | ) |
delete[] image->imageData;
Definition at line 894 of file IplImage.cpp.
void iplDeallocateImage | ( | IplImage * | image | ) |
delete[] image->imageData;
Definition at line 739 of file IplImage.cpp.
void iplDeleteConvKernel | ( | IplConvKernel * | kernel | ) |
Definition at line 151 of file IplImage.cpp.
void iplDeleteConvKernelFP | ( | IplConvKernelFP * | kernel | ) |
Definition at line 161 of file IplImage.cpp.
void iplGetConvKernel | ( | IplConvKernel * | kernel, |
int * | nCols, | ||
int * | nRows, | ||
int * | anchorX, | ||
int * | anchorY, | ||
int ** | values, | ||
int * | nShiftR | ||
) |
Definition at line 125 of file IplImage.cpp.
void iplGetConvKernelFP | ( | IplConvKernelFP * | kernel, |
int * | nCols, | ||
int * | nRows, | ||
int * | anchorX, | ||
int * | anchorY, | ||
float ** | values | ||
) |
Definition at line 139 of file IplImage.cpp.
Definition at line 1474 of file IplImage.cpp.
Definition at line 1237 of file IplImage.cpp.
Definition at line 1373 of file IplImage.cpp.
void iplSet | ( | IplImage * | image, |
int | fillValue | ||
) |
Definition at line 944 of file IplImage.cpp.
void iplSetBorderMode | ( | IplImage * | src, |
int | mode, | ||
int | border, | ||
int | constVal | ||
) |
Definition at line 932 of file IplImage.cpp.
void iplSetFP | ( | IplImage * | image, |
float | fillValue | ||
) |
Definition at line 951 of file IplImage.cpp.
void iplSetROI | ( | IplROI * | roi, |
int | coi, | ||
int | xOffset, | ||
int | yOffset, | ||
int | width, | ||
int | height | ||
) |
Definition at line 1366 of file IplImage.cpp.
Definition at line 1097 of file IplImage.cpp.
Definition at line 1172 of file IplImage.cpp.
Definition at line 1286 of file IplImage.cpp.
Definition at line 1481 of file IplImage.cpp.
|
inline |
this might turn out to be useful.
Definition at line 26 of file IplImage.cpp.