|
void | init_easimage () |
| Init easimage.
|
|
void | quit_easimage () |
| Quit easimage. More...
|
|
void | waitTime (unsigned int milliseconds) |
| Delay for a given number of milliseconds. More...
|
|
long int | GetTime () |
| GetTime. More...
|
|
int | kbhit () |
|
int | appProcEvents () |
|
Camera * | camOpen (char *dev_name, unsigned int width, unsigned int height, int format) |
|
unsigned int | camGetWidth (Camera *cam) |
|
unsigned int | camGetHeight (Camera *cam) |
|
Image * | camGrabNewImage (Camera *cam) |
|
int | camGrabImage (Camera *cam, Image *img) |
|
void | camClose (Camera *cam) |
|
int | camPrintCaps (Camera *cam) |
|
Image * | imgNew (unsigned int width, unsigned int height, unsigned short depth) |
| Creates a new image. More...
|
|
Image * | imgFromBitmap (const char *filename) |
| Loads an image from a BMP image file. More...
|
|
Image * | imgFromPPM (const char *filename) |
| Loads an image from a PPM image file. More...
|
|
Image * | imgFromFile (const char *filename) |
|
int | imgSavePPM (Image *img, char *fname) |
|
int | imgSavePAM (Image *img, char *fname) |
|
int | imgSaveRAW (Image *img, char *fname) |
| Save RAW file. More...
|
|
Image * | imgCopy (Image *img) |
| Creates a copy of an Image. More...
|
|
void | imgScale (Image *img, unsigned int sfactor) |
| Scales an image.
|
|
Image * | imgCrop (Image *img, int x1, int y1, int x2, int y2) |
| Crops an image. More...
|
|
Image * | imgCreateGaussian (int dim, float sig) |
|
Image * | imgConvolution (Image *img1, Image *img2, Image *res) |
| Image convolution. More...
|
|
int | imgFindPattern (Image *img, Image *pat, int *best_x, int *best_y) |
| Searches image for a pattern. More...
|
|
int | imgFindPatternArea (Image *img, Image *pat, int x1, int y1, int x2, int y2, int *best_x, int *best_y) |
| Searches image area for a pattern. More...
|
|
void | imgDestroy (Image *img) |
| Destroys the image.
|
|
void | imgMakeSymmetricX (Image *img) |
|
void | imgMakeSymmetricY (Image *img) |
|
void | imgMakeSymmetric (Image *img) |
|
int | imgGetSymmetryError (Image *img, int x, int y, int radius) |
| Evaluates simmetry error at location. More...
|
|
Image * | imgPatternDifference (Image *img, Image *pat, Image *res, int x1, int y1, int x2, int y2) |
| Searches image for a pattern. More...
|
|
int | imgGetPixelDifference (unsigned char *p1, unsigned char *p2) |
|
int | imgGetSumArea (Image *img, int x1, int y1, int x2, int y2) |
| Evaluates the addition of pixel components. More...
|
|
float | imgGetMeanArea (Image *img, int x1, int y1, int x2, int y2) |
| Evaluates the pixel component mean value. More...
|
|
float | imgGetMean (Image *img) |
| Evaluates the pixel component mean value. More...
|
|
unsigned int | imgGetWidth (Image *img) |
|
unsigned int | imgGetHeight (Image *img) |
|
void | imgSetPixel (Image *img, unsigned int x, unsigned int y, unsigned char *pdata) |
|
void | imgSetPixelRGB (Image *img, unsigned int x, unsigned int y, unsigned char r, unsigned char g, unsigned char b) |
|
void | imgSetPixelRGBA (Image *img, unsigned int x, unsigned int y, unsigned char r, unsigned char g, unsigned char b, unsigned char a) |
|
unsigned char * | imgGetPixel (Image *img, unsigned int x, unsigned int y) |
| Gets pixel data. More...
|
|
unsigned char * | imgPixel (Image *img, unsigned int x, unsigned int y) |
|
void | MarkImagePositionRGB (Image *img, int x, int y, unsigned char r, unsigned char g, unsigned char b) |
|
void | MarkImagePosition (Image *img, int x, int y) |
|
Viewer * | viewOpen (unsigned int width, unsigned int height, const char *title) |
|
void | viewDisplayImage (Viewer *view, Image *img) |
| Displays an Image. More...
|
|
void | viewClose (Viewer *view) |
| Terminates the viewer. More...
|
|
int | viewPollEvent (SDL_Event *event) |
| Polls for currently pending events. More...
|
|