Delete the current BgEsti data set
close_bg_esti deletes the current BgEsti data set and releases all used memory. A new data set then has to me marked as current set.
Before calling close_bg_esti, a data set has to be marked as current 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:) > /* read the next image in sequence: */ read_image(:Image1:'Image_1':) > /* estimate the Background: */ run_bg_esti(Image1:Region1::) > /* display the foreground region: */ disp_region(Region1) > /* read the next image in sequence: */ read_image(:Image2:'Image_2':) > /* estimate the Background: */ run_bg_esti(Image2:Region2::) > /* display the foreground region: */ disp_region(Region2) > /* etc. */ /* - end of background estimation - */ /* close the active dataset: */ close_bg_est(:::).
close_bg_esti returns TRUE if all parameters are correct.
create_bg_esti, set_bg_esti, get_bg_esti