Classes | |
struct | _image32 |
Typedefs | |
typedef struct gft::Image32::_image32 | Image32 |
Functions | |
Image32 * | SobelFilter (Image32 *img) |
Image32 * | LinearFilter (Image32 *img, Kernel::Kernel *K) |
Image32 * | ImageMagnitude (Image32 *imgx, Image32 *imgy) |
Image32 * | Create (int ncols, int nrows) |
A constructor. More... | |
void | Destroy (Image32 **img) |
A destructor. More... | |
Image32 * | Clone (Image32 *img) |
A copy constructor. More... | |
Image32 * | Read (char *filename) |
void | Write (Image32 *img, char *filename) |
Image32 * | ConvertToNbits (Image32 *img, int N) |
int | GetMinimumValue (Image32 *img) |
int | GetMaximumValue (Image32 *img) |
void | Set (Image32 *img, int value) |
bool | IsValidPixel (Image32 *img, int x, int y) |
Image32 * | Threshold (Image32 *img, int L, int H) |
void | DrawRectangle (Image32 *img, int x1, int y1, int x2, int y2, int val) |
void | DrawLineDDA (Image32 *img, int x1, int y1, int xn, int yn, int val) |
typedef struct gft::Image32::_image32 gft::Image32::Image32 |
It supports both linear and two-dimensional access (i.e., img->data[p] or img->array[y][x] for a pixel (x,y) at address p=x+y*xsize).
Image32 * gft::Image32::Clone | ( | Image32 * | img | ) |
A copy constructor.
Image32 * gft::Image32::ConvertToNbits | ( | Image32 * | img, |
int | N | ||
) |
Image32 * gft::Image32::Create | ( | int | ncols, |
int | nrows | ||
) |
A constructor.
void gft::Image32::Destroy | ( | Image32 ** | img | ) |
A destructor.
void gft::Image32::DrawLineDDA | ( | Image32 * | img, |
int | x1, | ||
int | y1, | ||
int | xn, | ||
int | yn, | ||
int | val | ||
) |
void gft::Image32::DrawRectangle | ( | Image32 * | img, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | val | ||
) |
int gft::Image32::GetMaximumValue | ( | Image32 * | img | ) |
int gft::Image32::GetMinimumValue | ( | Image32 * | img | ) |
Image32 * gft::Image32::ImageMagnitude | ( | Image32 * | imgx, |
Image32 * | imgy | ||
) |
bool gft::Image32::IsValidPixel | ( | Image32 * | img, |
int | x, | ||
int | y | ||
) |
Image32 * gft::Image32::LinearFilter | ( | Image32 * | img, |
Kernel::Kernel * | K | ||
) |
Image32 * gft::Image32::Read | ( | char * | filename | ) |
void gft::Image32::Set | ( | Image32 * | img, |
int | value | ||
) |
Image32 * gft::Image32::SobelFilter | ( | Image32 * | img | ) |
Image32 * gft::Image32::Threshold | ( | Image32 * | img, |
int | L, | ||
int | H | ||
) |
void gft::Image32::Write | ( | Image32 * | img, |
char * | filename | ||
) |