FemtoScan Online SDK Documentation

Home :: FsOnlineSDK :: fmutl classes

function findZeroLevel_16s_C1MR

^ 
Find zero level in the image.

For zero level assumed the highest pike coordinate in height distribution histogram.

Source:
../fmutl/mathlp.h:195
Author:
ATC
Version:
1.0
Params:
src source data to process, 16-bit signed integer.
srcStep step between consecutive lines in the source image in bytes.
mask mask of the processed points. Points in the source data, having nonzero mask values, are processed.
maskStep step between consecutive lines in mask image in bytes.
w data width.
h data height.
stats pointer to @link histogram_stats @endlink structure (optional)
Returns:
zero level value.
Code:
public extern "C" FMUTL_API short findZeroLevel_16s_C1MR ( const short * src ,
int srcStep ,
const unsigned char * mask ,
int maskStep ,
int w ,
int h ,
histogram_stats * stats = 0 )

(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net