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

phautoblob.c File Reference


Detailed Description

TODO.

Definition in file phautoblob.c.

#include <ImageGfx.h>
#include <ImageUtil.h>
#include <phautoblob.h>
#include <phbase.h>

Go to the source code of this file.

Defines

#define SET_MIN(a, b)   if (a > b) a = b;
#define SET_MAX(a, b)   if (a < b) a = b;
#define phTOTAL_DIRS   4

Functions

auto_line_segmentphautoblob_get_segment (const int32_t index, auto_line_segment *const line_array)
auto_line_segmentphautoblob_get_next_segment (const auto_line_segment *const segment, auto_line_segment *const line_array)
phautoblobphautoblob_get_next_blob (const phautoblob *const blob, phautoblob *const blobs)
int32_t ph_quicksort_partition (void *arr, int32_t low, int32_t high, ph_compare_fn compare, ph_swap_fn swap)
void ph_quicksort (void *arr, int32_t low, int32_t high, ph_compare_fn compare, ph_swap_fn swap)
int32_t phautoblob_compare (void *arr, int32_t i, int32_t j)
int32_t phautoblob_swap (void *arr, int32_t i, int32_t j)
int phautoblob_data_new (phautoblob_data **data)
int phautoblob_data_init (phautoblob_data *data)
int phautoblob_data_reset (phautoblob_data *data)
int phautoblob_data_free (phautoblob_data **data)
int phautoblob_data_copy (phautoblob_data *in, phautoblob_data *out)
int phautoblob_data_relink_line_ptrs (phautoblob_data *data)
int phautoblob_find_line_segments_color (phautoblob_args *args, phautoblob_data *data)
int phautoblob_find_line_segments_neighbor (phautoblob_args *args, phautoblob_data *data)
int phautoblob_link_line_segments (phautoblob_args *args, phautoblob_data *data)
int phautoblob_draw_blob_rects (uint8_t *imgptr, uint32_t width, uint32_t height, uint32_t format, const phColor *color, phautoblob_data *data, int32_t index, uint32_t min_size, uint32_t flag)
int phautoblob_color_lines (uint8_t *imgptr, uint32_t width, uint32_t height, uint32_t format, const phColor *color, phautoblob_data *data, uint32_t blob_min_size, uint32_t index, uint32_t flag)
int phautoblob_create_blobs (uint32_t width, uint32_t height, phautoblob_data *data)
int phautoblob_sort_blobs (phautoblob_data *data)

Variables

const uint32_t opposite_dir_bit [phTOTAL_DIRS]




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:19 2007 for phission by  doxygen 1.4.4