#include <iostream>
#include <cstdlib>
#include <image.h>
#include <misc.h>
#include <filter.h>
#include <vector>
#include "segment-graph.h"
Go to the source code of this file.
Functions | |
void | BubbleSort (vector< double > *in_values, vector< int > *indices) |
static float | diff (image< float > *r, image< float > *g, image< float > *b, int x1, int y1, int x2, int y2) |
double | FittedDepthValue (double x_val, double y_val, double z_val, double **param_models, int label) |
double | FittingError (double **x_val, double **y_val, double **z_val, double *param_cur, int *components_elements_number, int *list_of_labels, int num_labels_in_list) |
void | nelmin (int n, double *start, double *xmin, double *ynewlo, double reqmin, double *step, int konvge, int kcount, int *icount, int *numres, int *ifault, double **x_val, double **y_val, double **z_val, int *number_of_elements_in_segment, int *current_label_list, int number_current_labels) |
rgb | random_rgb () |
void | ReArrange (vector< int > *label_values_sort, vector< int > *label_values, vector< int > *indices) |
image< rgb > * | segment_image (image< rgb > *im, image< rgb > *pc, float sigma, float c, int min_size, int *num_ccs, int *num_ccs_fin, int **&ClusterArray) |
double *** | setArray3D (image< rgb > *image_input) |
void BubbleSort | ( | vector< double > * | in_values, |
vector< int > * | indices | ||
) |
Definition at line 109 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 47 of file segment-image.h.
double FittedDepthValue | ( | double | x_val, |
double | y_val, | ||
double | z_val, | ||
double ** | param_models, | ||
int | label | ||
) |
Definition at line 211 of file segment-image.h.
double FittingError | ( | double ** | x_val, |
double ** | y_val, | ||
double ** | z_val, | ||
double * | param_cur, | ||
int * | components_elements_number, | ||
int * | list_of_labels, | ||
int | num_labels_in_list | ||
) |
Definition at line 174 of file segment-image.h.
void nelmin | ( | int | n, |
double * | start, | ||
double * | xmin, | ||
double * | ynewlo, | ||
double | reqmin, | ||
double * | step, | ||
int | konvge, | ||
int | kcount, | ||
int * | icount, | ||
int * | numres, | ||
int * | ifault, | ||
double ** | x_val, | ||
double ** | y_val, | ||
double ** | z_val, | ||
int * | number_of_elements_in_segment, | ||
int * | current_label_list, | ||
int | number_current_labels | ||
) |
Definition at line 230 of file segment-image.h.
rgb random_rgb | ( | ) |
Definition at line 33 of file segment-image.h.
void ReArrange | ( | vector< int > * | label_values_sort, |
vector< int > * | label_values, | ||
vector< int > * | indices | ||
) |
Definition at line 157 of file segment-image.h.
image<rgb>* segment_image | ( | image< rgb > * | im, |
image< rgb > * | pc, | ||
float | sigma, | ||
float | c, | ||
int | min_size, | ||
int * | num_ccs, | ||
int * | num_ccs_fin, | ||
int **& | ClusterArray | ||
) |
Definition at line 753 of file segment-image.h.
double*** setArray3D | ( | image< rgb > * | image_input | ) |
Definition at line 59 of file segment-image.h.