Name
update_bg_estiupdate_bg_estiUpdateBgEstiupdate_bg_estiUpdateBgEstiUpdateBgEsti — Verändert geschätztes Hintergrundbild.
update_bg_estiupdate_bg_estiUpdateBgEstiupdate_bg_estiUpdateBgEstiUpdateBgEsti überschreibt das im BgEsti-Datensatz gespeicherte
Hintergrundbild in den durch UpDateRegionUpDateRegionUpDateRegionUpDateRegionUpDateRegionupDateRegion festgelegten Bereichen
durch die Grauwerte aus PresentImagePresentImagePresentImagePresentImagePresentImagepresentImage. Dies kann zur „harten“
Adaption verwendet werden, d.h. Bildbereiche, in denen sich der Hintergrund
stark verändert hat, können hiermit schnell adaptiert werden.
Das übergebene Bild (PresentImagePresentImagePresentImagePresentImagePresentImagepresentImage) muss vom gleichen Typ und
gleicher Größe sein, wie das im aktuellen Datensatz abgelegte
Hintergrundbild (festgelegt mit create_bg_esticreate_bg_estiCreateBgEsticreate_bg_estiCreateBgEstiCreateBgEsti).
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Region, die zu verändernde Bereiche beschreibt.
ID des BgEsti-Datensatzes.
* 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)
* use the Region and the information of a knowledge base
* to calculate the UpDateRegion
update_bg_esti(Image1,UpdateRegion,BgEstiHandle)
* then read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* etc.
/* 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) ;
/* use the Region and the information of a knowledge base */
/* to calculate the UpDateRegion */
update_bg_esti(Image1,UpdateRegion,BgEstiHandle) ;
/* then read the next image in sequence: */
read_image(&Image2,"Image_2") ;
/* estimate the Background: */
run_bg_esti(Image2,&Region2,BgEstiHandle) ;
/* etc. */
* 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)
* use the Region and the information of a knowledge base
* to calculate the UpDateRegion
update_bg_esti(Image1,UpdateRegion,BgEstiHandle)
* then read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* etc.
* 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)
* use the Region and the information of a knowledge base
* to calculate the UpDateRegion
update_bg_esti(Image1,UpdateRegion,BgEstiHandle)
* then read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* etc.
* 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)
* use the Region and the information of a knowledge base
* to calculate the UpDateRegion
update_bg_esti(Image1,UpdateRegion,BgEstiHandle)
* then read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* etc.
* 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)
* use the Region and the information of a knowledge base
* to calculate the UpDateRegion
update_bg_esti(Image1,UpdateRegion,BgEstiHandle)
* then read the next image in sequence:
read_image(Image2,'Image_2')
* estimate the Background:
run_bg_esti(Image2,Region2,BgEstiHandle)
* etc.
update_bg_estiupdate_bg_estiUpdateBgEstiupdate_bg_estiUpdateBgEstiUpdateBgEsti liefert den Wert 2 (H_MSG_TRUE), falls die Parameter
korrekt sind.
run_bg_estirun_bg_estiRunBgEstirun_bg_estiRunBgEstiRunBgEsti
run_bg_estirun_bg_estiRunBgEstirun_bg_estiRunBgEstiRunBgEsti
run_bg_estirun_bg_estiRunBgEstirun_bg_estiRunBgEstiRunBgEsti,
give_bg_estigive_bg_estiGiveBgEstigive_bg_estiGiveBgEstiGiveBgEsti
Foundation