get_bg_esti ( : : : AktiveDataset )

Return the ID of the current BgEsti data set

get_bg_esti returns the ID of the current BgEsti data set.


Attention

Before calling get_bg_esti a BgEsti data set has to be created.


Parameters

AktiveDataset (output_control)
integer -> integer
ID of the current BgEsti data set


Example
/* read Init-Image: */
read_image(:InitImage:'Init_Image':) >
/* initialize 1. BgEsti-Dataset with fixed gains and threshold adaption: */
create_bg_esti(InitImage::0.7,0.7,'fixed',0.002,0.02,'on',7,10,3.25,15.0:) >
/* initialize 2. BgEsti-Dataset with frame orientated gains and fixed threshold: */
create_bg_esti(InitImage::0.7,0.7,'frame',30.0,4.0,'off',9,10,3.25,15.0:) >
/* get id of the aktive dataset (here the second): */
get_bg_esti(:::akt_datset_id).

Result

get_bg_esti returns TRUE if all parameters are correct.


Possible Predecessors

create_bg_esti


Possible Successors

set_bg_esti


See also

change_bg_esti_params, set_bg_esti, create_bg_esti, close_bg_esti



Copyright © 1996-1997 MVTec Software GmbH