Openholo
v4.0
Open Source Digital Holographic Library
|
#include <ImgControl.h>
Public Member Functions | |
bool | GetSize (const char *path, unsigned int *size) |
void | Resize (unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
bool | Rotate (double rotate, unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
bool | Flip (FLIP mode, unsigned char *src, unsigned char *dst, int w, int h, int ch) |
bool | Crop (unsigned char *src, unsigned char *dst, int w, int h, int ch, int x, int y, int neww, int newh) |
Static Public Member Functions | |
static ImgControl * | getInstance () |
Definition at line 39 of file ImgControl.h.
bool ImgControl::Crop | ( | unsigned char * | src, |
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | ch, | ||
int | x, | ||
int | y, | ||
int | neww, | ||
int | newh | ||
) |
Definition at line 228 of file ImgControl.cpp.
bool ImgControl::Flip | ( | FLIP | mode, |
unsigned char * | src, | ||
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | ch | ||
) |
Definition at line 173 of file ImgControl.cpp.
|
inlinestatic |
Definition at line 49 of file ImgControl.h.
bool ImgControl::GetSize | ( | const char * | path, |
unsigned int * | size | ||
) |
Definition at line 256 of file ImgControl.cpp.
void ImgControl::Resize | ( | unsigned char * | src, |
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | neww, | ||
int | newh, | ||
int | ch | ||
) |
Definition at line 24 of file ImgControl.cpp.
bool ImgControl::Rotate | ( | double | rotate, |
unsigned char * | src, | ||
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | neww, | ||
int | newh, | ||
int | ch | ||
) |
Definition at line 111 of file ImgControl.cpp.