imageprocessing.cpp File Reference

#include <stdlib.h>
#include "imageprocessing.h"

Go to the source code of this file.

Functions

int init_imageprocessing ()
Image * get_component (Image *inputImage, int color)
Image * find_color_entities (Image *inputimage, int color, ENTITYLIST *entitylist)
bool get_first_non_null_point (Image *inputImage, int *row, int *column)
bool find_labeled_entity (Image *inputImage, int &row, int &col, int &label)

Variables

int threshold_red = 0
int threshold_green = 0
int threshold_blue = 0


Function Documentation

Image* find_color_entities Image *  inputimage,
int  color,
ENTITYLIST entitylist
 

Definition at line 143 of file imageprocessing.cpp.

References area(), find_labeled_entity(), get_component(), get_first_non_null_point(), GOAL_MAXAREA, RGB_BLUE, RGB_GREEN, RGB_RED, Entity::setColor(), Entity::setType(), Entity::setX(), Entity::setY(), Entity::SUBJECT, SUBJECT_MAXAREA, SUBJECT_MINAREA, threshold_blue, threshold_green, and threshold_red.

Referenced by MyApp::OnRun().

bool find_labeled_entity Image *  inputImage,
int &  row,
int &  col,
int &  label
 

Definition at line 292 of file imageprocessing.cpp.

Referenced by find_color_entities().

Image* get_component Image *  inputImage,
int  color
 

Definition at line 24 of file imageprocessing.cpp.

References RGB_BLUE, RGB_GREEN, RGB_RED, threshold_blue, threshold_green, and threshold_red.

Referenced by find_color_entities().

bool get_first_non_null_point Image *  inputImage,
int *  row,
int *  column
 

Definition at line 263 of file imageprocessing.cpp.

Referenced by find_color_entities().

int init_imageprocessing  ) 
 

Definition at line 11 of file imageprocessing.cpp.

References threshold_blue, threshold_green, and threshold_red.

Referenced by MyApp::OnRun().


Variable Documentation

int threshold_blue = 0
 

Definition at line 8 of file imageprocessing.cpp.

Referenced by find_color_entities(), get_component(), and init_imageprocessing().

int threshold_green = 0
 

Definition at line 7 of file imageprocessing.cpp.

Referenced by find_color_entities(), get_component(), and init_imageprocessing().

int threshold_red = 0
 

Definition at line 6 of file imageprocessing.cpp.

Referenced by find_color_entities(), get_component(), and init_imageprocessing().


Generated on Wed Nov 29 01:27:42 2006 by  doxygen 1.4.6