Functions
segment-image.h File Reference
#include <cstdlib>
#include "image.h"
#include "misc.h"
#include "filter.h"
#include "segment-graph.h"
Include dependency graph for segment-image.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

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

Parameters:
rR image
gG image
bB image
dD image
x1first x coord
y1first y coord
x2second x coord
y2second y coord
wcWeight for color channels
wdWeight for depth channels
Returns:
The dissimilarity

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.

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.



cpl_superpixels
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:38:57