![]() |
Microscopy Image Browser 2.91
MIB
|
#include <mex.h>#include <stdio.h>#include <math.h>#include <float.h>
Functions | |
| void | rgbtolab (unsigned char *rin, unsigned char *gin, unsigned char *bin, int sz, double *lout, double *aout, double *bout) |
| void | getVoxelSeeds (int width, int height, int depth, int numReqdSupervoxels, double step, int *seedIndices, int *numseeds) |
| void | PerformSupervoxelSLIC (double *lvec, double *avec, double *bvec, double *kseedsl, double *kseedsa, double *kseedsb, double *kseedsx, double *kseedsy, double *kseedsz, int width, int height, int depth, int numseeds, int *klabels, int STEP, double compactness) |
| void | PerformSupervoxelSLIC_byte (unsigned char *lvec, double *kseedsl, double *kseedsx, double *kseedsy, double *kseedsz, int width, int height, int depth, int numseeds, int *klabels, int STEP, double compactness) |
| void | EnforceSupervoxelConnectivity (int *labels, int width, int height, int depth, int numSuperpixels, int *nlabels, int *finalNumberOfLabels) |
| void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| void EnforceSupervoxelConnectivity | ( | int * | labels, |
| int | width, | ||
| int | height, | ||
| int | depth, | ||
| int | numSuperpixels, | ||
| int * | nlabels, | ||
| int * | finalNumberOfLabels ) |
| void getVoxelSeeds | ( | int | width, |
| int | height, | ||
| int | depth, | ||
| int | numReqdSupervoxels, | ||
| double | step, | ||
| int * | seedIndices, | ||
| int * | numseeds ) |
getVoxelSeeds
Works the same way for color and grayscale cases.
References n.
Referenced by mexFunction().

| void mexFunction | ( | int | nlhs, |
| mxArray * | plhs[], | ||
| int | nrhs, | ||
| const mxArray * | prhs[] ) |
References EnforceSupervoxelConnectivity(), getVoxelSeeds(), PerformSupervoxelSLIC(), PerformSupervoxelSLIC_byte(), and rgbtolab().
