Name
close_bg_esticlose_bg_estiCloseBgEsticlose_bg_estiCloseBgEstiCloseBgEsti — Delete the background estimation data set.
close_bg_esticlose_bg_estiCloseBgEsticlose_bg_estiCloseBgEstiCloseBgEsti deletes the background estimation data set and
releases all used memory.
- Multithreading type: exclusive (runs in parallel only with independent operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
ID of the BgEsti data set.
* read Init-Image:
read_image(InitImage,'Init_Image')
* initialize 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,BgEstiHandle)
* read the next image in sequence:
read_image(Image1,'Image_1')
* estimate the Background:
run_bg_esti(Image1,Region1,BgEstiHandle)
* display the foreground region:
disp_region(Region1,WindowHandle)
* read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* display the foreground region:
disp_region(Region2,WindowHandle)
* etc.
* - end of background estimation -
* close the dataset:
close_bg_esti(BgEstiHandle)
/* read Init-Image: */
read_image(&InitImage,"Init_Image") ;
/* initialize 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,&BgEstiHandle) \'
/* read the next image in sequence: */
read_image(&Image1,"Image_1") ;
/* estimate the Background: */
run_bg_esti(Image1,&Region1,BgEstiHandle) ;
/* display the foreground region: */
disp_region(Region1,WindowHandle) ;
/* read the next image in sequence: */
read_image(&Image2,"Image_2") ;
/* estimate the Background: */
run_bg_esti(Image2,&Region2,BgEstiHandle) ;
/* display the foreground region: */
disp_region(Region2,WindowHandle) ;
/* etc. */
/* - end of background estimation - */
/* close the dataset: */
close_bg_esti(BgEstiHandle) ;
* read Init-Image:
read_image(InitImage,'Init_Image')
* initialize 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,BgEstiHandle)
* read the next image in sequence:
read_image(Image1,'Image_1')
* estimate the Background:
run_bg_esti(Image1,Region1,BgEstiHandle)
* display the foreground region:
disp_region(Region1,WindowHandle)
* read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* display the foreground region:
disp_region(Region2,WindowHandle)
* etc.
* - end of background estimation -
* close the dataset:
close_bg_esti(BgEstiHandle)
* read Init-Image:
read_image(InitImage,'Init_Image')
* initialize 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,BgEstiHandle)
* read the next image in sequence:
read_image(Image1,'Image_1')
* estimate the Background:
run_bg_esti(Image1,Region1,BgEstiHandle)
* display the foreground region:
disp_region(Region1,WindowHandle)
* read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* display the foreground region:
disp_region(Region2,WindowHandle)
* etc.
* - end of background estimation -
* close the dataset:
close_bg_esti(BgEstiHandle)
* read Init-Image:
read_image(InitImage,'Init_Image')
* initialize 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,BgEstiHandle)
* read the next image in sequence:
read_image(Image1,'Image_1')
* estimate the Background:
run_bg_esti(Image1,Region1,BgEstiHandle)
* display the foreground region:
disp_region(Region1,WindowHandle)
* read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* display the foreground region:
disp_region(Region2,WindowHandle)
* etc.
* - end of background estimation -
* close the dataset:
close_bg_esti(BgEstiHandle)
* read Init-Image:
read_image(InitImage,'Init_Image')
* initialize 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,BgEstiHandle)
* read the next image in sequence:
read_image(Image1,'Image_1')
* estimate the Background:
run_bg_esti(Image1,Region1,BgEstiHandle)
* display the foreground region:
disp_region(Region1,WindowHandle)
* read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* display the foreground region:
disp_region(Region2,WindowHandle)
* etc.
* - end of background estimation -
* close the dataset:
close_bg_esti(BgEstiHandle)
close_bg_esticlose_bg_estiCloseBgEsticlose_bg_estiCloseBgEstiCloseBgEsti returns 2 (H_MSG_TRUE) if all parameters are
correct.
run_bg_estirun_bg_estiRunBgEstirun_bg_estiRunBgEstiRunBgEsti
create_bg_esticreate_bg_estiCreateBgEsticreate_bg_estiCreateBgEstiCreateBgEsti
Foundation