#include <cmvision.h>
|
void | close () |
|
| CMVision () |
|
bool | disable (unsigned opt) |
|
bool | enable (unsigned opt) |
|
color_info * | getColorInfo (int color) |
|
void | getColorInfo (int color, color_info &info) |
|
char * | getColorName (int color) |
|
rgb | getColorVisual (int color) |
|
unsigned * | getMap () |
|
region * | getRegions (int color_id) |
|
bool | getThreshold (int color, int &a_low, int &a_high, int &b_low, int &b_high) |
|
bool | initialize (int nwidth, int nheight) |
|
bool | loadOptions (const char *filename) |
|
int | numRegions (int color_id) |
|
bool | processFrame (image_pixel *image) |
|
bool | processFrame (unsigned *map) |
|
bool | saveOptions (char *filename) |
|
void | setColorInfo (int color, color_info &info) |
|
bool | setThreshold (int color, int a_low, int a_high, int b_low, int b_high) |
|
bool | testClassify (rgb *restrict out, image_pixel *restrict image) |
|
| ~CMVision () |
|
|
void | calcAverageColors (region *restrict reg, int num_reg, image_pixel *restrict img, rle *restrict rmap, int num_runs) |
|
void | classifyFrame (image_pixel *restrict img, unsigned *restrict map) |
|
void | clear () |
|
void | connectComponents (rle *restrict map, int num) |
|
int | encodeRuns (rle *restrict out, unsigned *restrict map) |
|
int | extractRegions (region *restrict reg, rle *restrict rmap, int num) |
|
int | mergeRegions () |
|
int | mergeRegions (region *p, int num, double density_thresh) |
|
int | separateRegions (region *restrict reg, int num) |
|
region * | sortRegionListByArea (region *restrict list, int passes) |
|
void | sortRegions (int max_area) |
|
Definition at line 108 of file cmvision.h.
◆ CMVision()
◆ ~CMVision()
◆ calcAverageColors()
◆ classifyFrame()
◆ clear()
◆ close()
◆ connectComponents()
void CMVision::connectComponents |
( |
rle *restrict |
map, |
|
|
int |
num |
|
) |
| |
|
protected |
◆ disable()
bool CMVision::disable |
( |
unsigned |
opt | ) |
|
◆ enable()
bool CMVision::enable |
( |
unsigned |
opt | ) |
|
◆ encodeRuns()
◆ extractRegions()
◆ getColorInfo() [1/2]
◆ getColorInfo() [2/2]
void CMVision::getColorInfo |
( |
int |
color, |
|
|
color_info & |
info |
|
) |
| |
|
inline |
◆ getColorName()
char* CMVision::getColorName |
( |
int |
color | ) |
|
|
inline |
◆ getColorVisual()
rgb CMVision::getColorVisual |
( |
int |
color | ) |
|
|
inline |
◆ getMap()
unsigned* CMVision::getMap |
( |
| ) |
|
|
inline |
◆ getRegions()
◆ getThreshold()
bool CMVision::getThreshold |
( |
int |
color, |
|
|
int & |
a_low, |
|
|
int & |
a_high, |
|
|
int & |
b_low, |
|
|
int & |
b_high |
|
) |
| |
◆ initialize()
bool CMVision::initialize |
( |
int |
nwidth, |
|
|
int |
nheight |
|
) |
| |
◆ loadOptions()
bool CMVision::loadOptions |
( |
const char * |
filename | ) |
|
◆ mergeRegions() [1/2]
int CMVision::mergeRegions |
( |
| ) |
|
|
protected |
◆ mergeRegions() [2/2]
int CMVision::mergeRegions |
( |
region * |
p, |
|
|
int |
num, |
|
|
double |
density_thresh |
|
) |
| |
|
protected |
◆ numRegions()
int CMVision::numRegions |
( |
int |
color_id | ) |
|
◆ processFrame() [1/2]
◆ processFrame() [2/2]
bool CMVision::processFrame |
( |
unsigned * |
map | ) |
|
◆ saveOptions()
bool CMVision::saveOptions |
( |
char * |
filename | ) |
|
◆ separateRegions()
◆ setColorInfo()
void CMVision::setColorInfo |
( |
int |
color, |
|
|
color_info & |
info |
|
) |
| |
|
inline |
◆ setThreshold()
bool CMVision::setThreshold |
( |
int |
color, |
|
|
int |
a_low, |
|
|
int |
a_high, |
|
|
int |
b_low, |
|
|
int |
b_high |
|
) |
| |
◆ sortRegionListByArea()
◆ sortRegions()
void CMVision::sortRegions |
( |
int |
max_area | ) |
|
|
protected |
◆ testClassify()
◆ a_class
◆ b_class
◆ colors
◆ height
◆ map
◆ options
unsigned CMVision::options |
|
protected |
◆ region_count
◆ region_list
◆ region_table
◆ rmap
◆ width
The documentation for this class was generated from the following files: