Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ImageUtil.h File Reference

#include <phStandard.h>
#include <phStdint.h>

Go to the source code of this file.

Defines

#define phResizeBilinear   (1<<1)
#define phResizeNN   (1<<2)
#define bl_table_type   ph_bilinear_table_type
#define ph_nn_table_type   ph_nearest_neighbor_table_type

Typedefs

typedef ph_bilinear_table_tph_bilinear_table_type
typedef ph_nearest_neighbor_table_tph_nearest_neighbor_table_type

Functions

int ph_bilinear_scale (const uint8_t *image, const uint32_t w, const uint32_t h, const uint32_t f, const uint32_t nw, const uint32_t nh, ph_bilinear_table_type *table, uint8_t **pscaled_image)
 todo.
void ph_bilinear_table_free (ph_bilinear_table_type *table)
int ph_nearest_neighbor_scale (const uint8_t *image, const uint32_t w, const uint32_t h, const uint32_t f, const uint32_t nw, const uint32_t nh, ph_nn_table_type *table, uint8_t **pscaled_image)
 todo.
void ph_nearest_neighbor_table_free (ph_nn_table_type *table)
int ph_image_crop (const uint8_t *imgptr, const uint32_t in_w, const uint32_t in_h, const uint32_t in_f, uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, uint8_t **pcropped_image, uint32_t *ps, uint32_t *pw, uint32_t *ph)
 todo.




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo


Generated on Sat Jun 16 02:44:12 2007 for phission by  doxygen 1.4.4