Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
RegionGrowing_mex.cpp File Reference
#include "mex.h"
#include <queue>
#include <cmath>
Include dependency graph for RegionGrowing_mex.cpp:

Macros

#define UPDATECYCLE3D   50000
 
#define UPDATECYCLE2D   1000
 
#define NQUEUES   100
 

Functions

double ifMin (double a, double b)
 
double ifMax (double a, double b)
 
long fPop ()
 
void fGetNHood (const long lLinInd, long &lNHoodSize, long *lNHood)
 
void fGetMinMax (double *pdArray, long lLength, double &dMin, double &dMax)
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 

Variables

long lNZ
 
long lNX
 
long lNY
 
double dMaxDif
 
double dRegMean
 
doublepdImg
 
queue< long > * aqQueue
 

Macro Definition Documentation

◆ NQUEUES

#define NQUEUES   100

Referenced by fPop(), and mexFunction().

◆ UPDATECYCLE2D

#define UPDATECYCLE2D   1000

Referenced by mexFunction().

◆ UPDATECYCLE3D

#define UPDATECYCLE3D   50000

Referenced by mexFunction().

Function Documentation

◆ fGetMinMax()

void fGetMinMax ( double * pdArray,
long lLength,
double & dMin,
double & dMax )

References ifMax(), and ifMin().

Referenced by mexFunction().

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

◆ fGetNHood()

void fGetNHood ( const long lLinInd,
long & lNHoodSize,
long * lNHood )

References lNX, lNY, and lNZ.

Referenced by mexFunction().

Here is the caller graph for this function:

◆ fPop()

long fPop ( )

References aqQueue, dMaxDif, dRegMean, NQUEUES, and pdImg.

Referenced by mexFunction().

Here is the caller graph for this function:

◆ ifMax()

double ifMax ( double a,
double b )

Referenced by fGetMinMax().

Here is the caller graph for this function:

◆ ifMin()

double ifMin ( double a,
double b )

Referenced by fGetMinMax().

Here is the caller graph for this function:

◆ mexFunction()

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

References aqQueue, dMaxDif, dRegMean, fGetMinMax(), fGetNHood(), fPop(), lNX, lNY, lNZ, NQUEUES, pdImg, UPDATECYCLE2D, and UPDATECYCLE3D.

Here is the call graph for this function:

Variable Documentation

◆ aqQueue

queue<long>* aqQueue

Referenced by fPop(), and mexFunction().

◆ dMaxDif

◆ dRegMean

double dRegMean

Referenced by fPop(), and mexFunction().

◆ lNX

long lNX

Referenced by fGetNHood(), and mexFunction().

◆ lNY

long lNY

Referenced by fGetNHood(), and mexFunction().

◆ lNZ

long lNZ

Referenced by fGetNHood(), and mexFunction().

◆ pdImg

double* pdImg

Referenced by fPop(), and mexFunction().