Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
slicsupervoxelmex_byte.c File Reference
#include <mex.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
Include dependency graph for slicsupervoxelmex_byte.c:

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[])
 

Function Documentation

◆ EnforceSupervoxelConnectivity()

void EnforceSupervoxelConnectivity ( int * labels,
int width,
int height,
int depth,
int numSuperpixels,
int * nlabels,
int * finalNumberOfLabels )

References n.

Referenced by mexFunction().

Here is the caller graph for this function:

◆ getVoxelSeeds()

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().

Here is the caller graph for this function:

◆ mexFunction()

void mexFunction ( int nlhs,
mxArray * plhs[],
int nrhs,
const mxArray * prhs[] )

◆ PerformSupervoxelSLIC()

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 )

References n.

Referenced by mexFunction().

Here is the caller graph for this function:

◆ PerformSupervoxelSLIC_byte()

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 )

References n.

Referenced by mexFunction().

Here is the caller graph for this function:

◆ rgbtolab()

void rgbtolab ( unsigned char * rin,
unsigned char * gin,
unsigned char * bin,
int sz,
double * lout,
double * aout,
double * bout )

References B().

Referenced by mexFunction().

Here is the call graph for this function:
Here is the caller graph for this function: