#include <cstdlib>#include "image.h"#include "misc.h"#include "filter.h"#include "segment-graph.h"

Go to the source code of this file.
Functions | |
| static float | depth_diff (image< float > *r, image< float > *g, image< float > *b, image< float > *d, int x1, int y1, int x2, int y2, float wr, float wg, float wb, float wd) |
| static float | diff (image< float > *r, image< float > *g, image< float > *b, int x1, int y1, int x2, int y2) |
| rgb | random_rgb () |
| image< rgb > * | segment_image (image< rgb > *im, float sigma, float c, int min_size, int *num_ccs) |
| image< rgb > * | segment_image (image< rgb > *color_im, image< float > *depth_im, float sigma, float c, int min_size, int *num_ccs, float wr, float wg, float wb, float wd) |
| static float depth_diff | ( | image< float > * | r, |
| image< float > * | g, | ||
| image< float > * | b, | ||
| image< float > * | d, | ||
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| float | wr, | ||
| float | wg, | ||
| float | wb, | ||
| float | wd | ||
| ) | [inline, static] |
Method to compare the dissimilairy between to RGB-D pixels
| r | R image |
| g | G image |
| b | B image |
| d | D image |
| x1 | first x coord |
| y1 | first y coord |
| x2 | second x coord |
| y2 | second y coord |
| wc | Weight for color channels |
| wd | Weight for depth channels |
Definition at line 64 of file segment-image.h.
| static float diff | ( | image< float > * | r, |
| image< float > * | g, | ||
| image< float > * | b, | ||
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2 | ||
| ) | [inline, static] |
Definition at line 41 of file segment-image.h.
| rgb random_rgb | ( | ) |
Definition at line 29 of file segment-image.h.
| image<rgb>* segment_image | ( | image< rgb > * | im, |
| float | sigma, | ||
| float | c, | ||
| int | min_size, | ||
| int * | num_ccs | ||
| ) |
Definition at line 85 of file segment-image.h.
| image<rgb>* segment_image | ( | image< rgb > * | color_im, |
| image< float > * | depth_im, | ||
| float | sigma, | ||
| float | c, | ||
| int | min_size, | ||
| int * | num_ccs, | ||
| float | wr, | ||
| float | wg, | ||
| float | wb, | ||
| float | wd | ||
| ) |
Definition at line 211 of file segment-image.h.