cmv_threshold.h File Reference
#include <stdio.h>
#include "cmv_types.h"
Include dependency graph for cmv_threshold.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Namespaces |
namespace | CMVision |
Classes |
class | CMVision::DummyI3< x, y, z > |
class | CMVision::DummyT1I3< T, x, y, z > |
Functions |
template<class cmap_t, class image, int bits_y, int bits_u, int bits_v> |
void | ThresholdImage (cmap_t *cmap, image &img, cmap_t *tmap, DummyI3< bits_y, bits_u, bits_v > dummy=DummyI3< bits_y, bits_u, bits_v >()) |
template<class cmap_t, class image> |
void | ThresholdImageRGB16 (cmap_t *cmap, image &img, cmap_t *tmap) |
template<class cmap_t, class image, class element, int bits_y, int bits_u, int bits_v> |
void | ThresholdImageYUVPlanar (cmap_t *cmap, image &img, cmap_t *tmap) |
template<class rle_t, class color_class_state_t> |
void | RmapToRgb (rgb *img, rle_t *map, int last_run, int width, int height, color_class_state_t *color, int num) |
template<class cmap_t> |
void | RgbToIndex (cmap_t *map, rgb *img, int width, int height, rgb *colors, int num) |
template<class cmap_t, class color_class_state_t> |
void | IndexToRgb (rgb *img, cmap_t *map, int width, int height, color_class_state_t *color, int num) |
template<class cmap_t> |
void | IndexToRgb (rgb *img, cmap_t *map, int width, int height, rgb *colors, int num) |
template<class data> |
data | Get3D (data *arr, int num_i, int num_j, int num_k, int i, int j, int k) |
template<class data> |
void | Set3D (data *arr, int num_i, int num_j, int num_k, int i, int j, int k, data v) |
template<class tmap_t> |
int | RemapTMapColor (tmap_t *tmap, int num_y, int num_u, int num_v, int src_id, int dest_id) |
template<class tmap_t> |
int | CheckTMapColors (tmap_t *tmap, int num_y, int num_u, int num_v, int colors, int default_id) |
template<class tmap_t> |
bool | LoadThresholdFile (tmap_t *tmap, int num_y, int num_u, int num_v, const char *filename) |
template<class tmap_t> |
bool | SaveThresholdFile (tmap_t *tmap, int num_y, int num_u, int num_v, char *filename) |
Function Documentation
template<class tmap_t> |
int CheckTMapColors |
( |
tmap_t * |
tmap, |
|
|
int |
num_y, |
|
|
int |
num_u, |
|
|
int |
num_v, |
|
|
int |
colors, |
|
|
int |
default_id |
|
) |
|
|
template<class data> |
data Get3D |
( |
data * |
arr, |
|
|
int |
num_i, |
|
|
int |
num_j, |
|
|
int |
num_k, |
|
|
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
|
|
template<class cmap_t> |
void IndexToRgb |
( |
rgb * |
img, |
|
|
cmap_t * |
map, |
|
|
int |
width, |
|
|
int |
height, |
|
|
rgb * |
colors, |
|
|
int |
num |
|
) |
|
|
template<class cmap_t, class color_class_state_t> |
void IndexToRgb |
( |
rgb * |
img, |
|
|
cmap_t * |
map, |
|
|
int |
width, |
|
|
int |
height, |
|
|
color_class_state_t * |
color, |
|
|
int |
num |
|
) |
|
|
template<class tmap_t> |
bool LoadThresholdFile |
( |
tmap_t * |
tmap, |
|
|
int |
num_y, |
|
|
int |
num_u, |
|
|
int |
num_v, |
|
|
const char * |
filename |
|
) |
|
|
template<class tmap_t> |
int RemapTMapColor |
( |
tmap_t * |
tmap, |
|
|
int |
num_y, |
|
|
int |
num_u, |
|
|
int |
num_v, |
|
|
int |
src_id, |
|
|
int |
dest_id |
|
) |
|
|
template<class cmap_t> |
void RgbToIndex |
( |
cmap_t * |
map, |
|
|
rgb * |
img, |
|
|
int |
width, |
|
|
int |
height, |
|
|
rgb * |
colors, |
|
|
int |
num |
|
) |
|
|
template<class rle_t, class color_class_state_t> |
void RmapToRgb |
( |
rgb * |
img, |
|
|
rle_t * |
map, |
|
|
int |
last_run, |
|
|
int |
width, |
|
|
int |
height, |
|
|
color_class_state_t * |
color, |
|
|
int |
num |
|
) |
|
|
template<class tmap_t> |
bool SaveThresholdFile |
( |
tmap_t * |
tmap, |
|
|
int |
num_y, |
|
|
int |
num_u, |
|
|
int |
num_v, |
|
|
char * |
filename |
|
) |
|
|
template<class data> |
void Set3D |
( |
data * |
arr, |
|
|
int |
num_i, |
|
|
int |
num_j, |
|
|
int |
num_k, |
|
|
int |
i, |
|
|
int |
j, |
|
|
int |
k, |
|
|
data |
v |
|
) |
|
|
template<class cmap_t, class image, int bits_y, int bits_u, int bits_v> |
void ThresholdImage |
( |
cmap_t * |
cmap, |
|
|
image & |
img, |
|
|
cmap_t * |
tmap, |
|
|
DummyI3< bits_y, bits_u, bits_v > |
dummy = DummyI3<bits_y,bits_u,bits_v>() |
|
) |
|
|
template<class cmap_t, class image> |
void ThresholdImageRGB16 |
( |
cmap_t * |
cmap, |
|
|
image & |
img, |
|
|
cmap_t * |
tmap |
|
) |
|
|
template<class cmap_t, class image, class element, int bits_y, int bits_u, int bits_v> |
void ThresholdImageYUVPlanar |
( |
cmap_t * |
cmap, |
|
|
image & |
img, |
|
|
cmap_t * |
tmap |
|
) |
|
|
|