FemtoScan Online SDK Documentation

Home :: FsOnlineSDK :: fmutl classes

function find_zero_level

^ 
Find zero level in the image.

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

Source:
../fmutl/mathlp.h:179
Author:
ATC
Version:
1.0
Params:
data data to process, 16-bit signed integer, in row-major or column-major format.
w data width.
h data height.
stride_x distance between z(column,row) and z(column+1,row) expressed in sizeof(short) units.
stride_y distance between z(column,row) and z(column,row+1) expressed in sizeof(short) units.
Returns:
zero level value.
Code:
public extern "C" FMUTL_API short find_zero_level ( const short * data ,
int w ,
int h ,
int stride_x ,
int stride_y ,
histogram_stats * stats = 0 )

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