give_bg_esti — Liefert geschätztes Hintergrundbild.
give_bg_esti( : BackgroundImage : BgEstiHandle : )
give_bg_esti liefert das im aktuellen BgEsti-Datensatz gespeicherte
Hintergrundbild. Das Hintergrundbildes ist vom gleichen Typ und gleicher
Größe, wie das bei create_bg_esti angegebene
Initialisierungsbild.
BackgroundImage (output_object) image → object (byte / real)
geschätztes Hintergrundbild aus aktuellem BgEsti-Datensatz.
BgEstiHandle (input_control) bg_estimation → (handle)
ID des BgEsti-Datensatzes.
* Read image for initialization:
read_image(InitImage,'xing/init')
* Initialize BgEsti dataset with
* fixed gains and threshold adaption:
create_bg_esti(InitImage,0.7,0.7,'fixed',0.002,0.02, \
'on',7.0,10,3.25,15.0,BgEstiHandle)
* Read the next image in sequence:
read_image(Image0,'xing/xing000')
* Estimate the background:
run_bg_esti(Image0,ForegroundRegion1,BgEstiHandle)
* Give the background image from the aktive dataset:
give_bg_esti(BgImage,BgEstiHandle)
* Display the background image:
dev_display(BgImage)
give_bg_esti liefert den Wert 2 (H_MSG_TRUE), falls die Parameter
korrekt sind.
run_bg_esti,
create_bg_esti,
update_bg_esti
run_bg_esti,
update_bg_esti,
create_bg_esti
Foundation