#include <mex.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
|
void | rgbtolab (int *rin, int *gin, int *bin, int sz, double *lvec, double *avec, double *bvec) |
|
void | getLABXYSeeds (int STEP, int width, int height, int *seedIndices, int *numseeds) |
|
void | PerformSuperpixelSLIC (double *lvec, double *avec, double *bvec, double *kseedsl, double *kseedsa, double *kseedsb, double *kseedsx, double *kseedsy, int width, int height, int numseeds, int *klabels, int STEP, double compactness) |
|
void | EnforceConnectivity (int *labels, int width, int height, int numSuperpixels, int *nlabels, int *finalNumberOfLabels) |
|
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
|
◆ EnforceConnectivity()
void EnforceConnectivity |
( |
int * | labels, |
|
|
int | width, |
|
|
int | height, |
|
|
int | numSuperpixels, |
|
|
int * | nlabels, |
|
|
int * | finalNumberOfLabels ) |
◆ getLABXYSeeds()
void getLABXYSeeds |
( |
int | STEP, |
|
|
int | width, |
|
|
int | height, |
|
|
int * | seedIndices, |
|
|
int * | numseeds ) |
◆ mexFunction()
void mexFunction |
( |
int | nlhs, |
|
|
mxArray * | plhs[], |
|
|
int | nrhs, |
|
|
const mxArray * | prhs[] ) |
◆ PerformSuperpixelSLIC()
void PerformSuperpixelSLIC |
( |
double * | lvec, |
|
|
double * | avec, |
|
|
double * | bvec, |
|
|
double * | kseedsl, |
|
|
double * | kseedsa, |
|
|
double * | kseedsb, |
|
|
double * | kseedsx, |
|
|
double * | kseedsy, |
|
|
int | width, |
|
|
int | height, |
|
|
int | numseeds, |
|
|
int * | klabels, |
|
|
int | STEP, |
|
|
double | compactness ) |
◆ rgbtolab()
void rgbtolab |
( |
int * | rin, |
|
|
int * | gin, |
|
|
int * | bin, |
|
|
int | sz, |
|
|
double * | lvec, |
|
|
double * | avec, |
|
|
double * | bvec ) |