Name
get_bg_esti_paramsget_bg_esti_paramsGetBgEstiParamsget_bg_esti_paramsGetBgEstiParamsGetBgEstiParams — Gibt die Parameter des Datensatzes aus.
Herror get_bg_esti_params(const Hlong BgEstiHandle, double* Syspar1, double* Syspar2, char* GainMode, double* Gain1, double* Gain2, char* AdaptMode, double* MinDiff, Hlong* StatNum, double* ConfidenceC, double* TimeC)
Herror T_get_bg_esti_params(const Htuple BgEstiHandle, Htuple* Syspar1, Htuple* Syspar2, Htuple* GainMode, Htuple* Gain1, Htuple* Gain2, Htuple* AdaptMode, Htuple* MinDiff, Htuple* StatNum, Htuple* ConfidenceC, Htuple* TimeC)
Herror get_bg_esti_params(const HTuple& BgEstiHandle, double* Syspar1, double* Syspar2, char* GainMode, double* Gain1, double* Gain2, char* AdaptMode, double* MinDiff, Hlong* StatNum, double* ConfidenceC, double* TimeC)
double HBgEsti::GetBgEstiParams(HTuple* Syspar2, HTuple* GainMode, HTuple* Gain1, HTuple* Gain2, HTuple* AdaptMode, HTuple* MinDiff, HTuple* StatNum, HTuple* ConfidenceC, HTuple* TimeC) const
void GetBgEstiParams(const HTuple& BgEstiHandle, HTuple* Syspar1, HTuple* Syspar2, HTuple* GainMode, HTuple* Gain1, HTuple* Gain2, HTuple* AdaptMode, HTuple* MinDiff, HTuple* StatNum, HTuple* ConfidenceC, HTuple* TimeC)
double HBgEsti::GetBgEstiParams(double* Syspar2, HString* GainMode, double* Gain1, double* Gain2, HString* AdaptMode, double* MinDiff, Hlong* StatNum, double* ConfidenceC, double* TimeC) const
void HOperatorSetX.GetBgEstiParams(
[in] VARIANT BgEstiHandle, [out] VARIANT* Syspar1, [out] VARIANT* Syspar2, [out] VARIANT* GainMode, [out] VARIANT* Gain1, [out] VARIANT* Gain2, [out] VARIANT* AdaptMode, [out] VARIANT* MinDiff, [out] VARIANT* StatNum, [out] VARIANT* ConfidenceC, [out] VARIANT* TimeC)
double HBgEstiX.GetBgEstiParams(
[out] double* Syspar2, [out] BSTR* GainMode, [out] double* Gain1, [out] double* Gain2, [out] BSTR* AdaptMode, [out] double* MinDiff, [out] Hlong* StatNum, [out] double* ConfidenceC, [out] double* TimeC)
static void HOperatorSet.GetBgEstiParams(HTuple bgEstiHandle, out HTuple syspar1, out HTuple syspar2, out HTuple gainMode, out HTuple gain1, out HTuple gain2, out HTuple adaptMode, out HTuple minDiff, out HTuple statNum, out HTuple confidenceC, out HTuple timeC)
double HBgEsti.GetBgEstiParams(out double syspar2, out string gainMode, out double gain1, out double gain2, out string adaptMode, out double minDiff, out int statNum, out double confidenceC, out double timeC)
Mit get_bg_esti_paramsget_bg_esti_paramsGetBgEstiParamsget_bg_esti_paramsGetBgEstiParamsGetBgEstiParams werden die Parameter des
Datensatz ausgegeben. Die zurückgegebenen Parameter sind
identisch mit denen für create_bg_esticreate_bg_estiCreateBgEsticreate_bg_estiCreateBgEstiCreateBgEsti und
set_bg_esti_paramsset_bg_esti_paramsSetBgEstiParamsset_bg_esti_paramsSetBgEstiParamsSetBgEstiParams (Erklärung siehe dort).
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
ID des BgEsti-Datensatzes.
1. Parameter der Systemmatrix.
2. Parameter der Systemmatrix.
Kalmangain / Adaptionszeit für Vordergrund.
Kalmangain / Adaptionszeit für Hintergrund.
Schwelle, für Vordergrund / Hintergrund.
Anzahl statistischer Datensätze.
* Read image for initialization:
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.0,10,3.25,15.0,BgEstiHandle)
* Read the next image in sequence:
read_image(Image1,'Image_1')
* Estimate the background:
run_bg_esti(Image1,ForegroundRegion1,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion1)
* Read the next image in sequence:
read_image(Image2,'Image_2')
* Estimate the background:
run_bg_esti(Image2,ForegroundRegion2,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion2)
* etc.
* Change only the gain parameter in dataset:
get_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, Gain1, Gain2, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
set_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, 0.004, 0.08, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
* Read the next image in sequence:
read_image(Image3,'Image_3')
* Etimate the background:
run_bg_esti(Image3,ForegroundRegion3,BgEstiHandle)
* Display the foreground region:
dev_display(ForegroundRegion3)
* etc.
/* Read image for initialization:*/
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.0,10,3.25,15.0,&BgEstiHandle) ;
/* rRead 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. */
/* Change only the gain parameter in dataset: */
get_bg_esti_params(BgEstiHandle,&par1,&par2,&par3,&par4,
&par5,&par6,&par7,&par8,&par9,&par10);
set_bg_esti_params(BgEstiHandle,par1,par2,par3,0.004,
0.08,par6,par7,par8,par9,par10) ;
/* Read the next image in sequence: */
read_image(&Image3,"Image_3") ;
/* Estimate the Background: */
run_bg_esti(Image3,&Region3,BgEstiHandle) ;
/* Display the foreground region: */
disp_region(Region3,WindowHandle) ;
/* etc. */
* Read image for initialization:
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.0,10,3.25,15.0,BgEstiHandle)
* Read the next image in sequence:
read_image(Image1,'Image_1')
* Estimate the background:
run_bg_esti(Image1,ForegroundRegion1,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion1)
* Read the next image in sequence:
read_image(Image2,'Image_2')
* Estimate the background:
run_bg_esti(Image2,ForegroundRegion2,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion2)
* etc.
* Change only the gain parameter in dataset:
get_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, Gain1, Gain2, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
set_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, 0.004, 0.08, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
* Read the next image in sequence:
read_image(Image3,'Image_3')
* Etimate the background:
run_bg_esti(Image3,ForegroundRegion3,BgEstiHandle)
* Display the foreground region:
dev_display(ForegroundRegion3)
* etc.
* Read image for initialization:
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.0,10,3.25,15.0,BgEstiHandle)
* Read the next image in sequence:
read_image(Image1,'Image_1')
* Estimate the background:
run_bg_esti(Image1,ForegroundRegion1,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion1)
* Read the next image in sequence:
read_image(Image2,'Image_2')
* Estimate the background:
run_bg_esti(Image2,ForegroundRegion2,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion2)
* etc.
* Change only the gain parameter in dataset:
get_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, Gain1, Gain2, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
set_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, 0.004, 0.08, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
* Read the next image in sequence:
read_image(Image3,'Image_3')
* Etimate the background:
run_bg_esti(Image3,ForegroundRegion3,BgEstiHandle)
* Display the foreground region:
dev_display(ForegroundRegion3)
* etc.
* Read image for initialization:
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.0,10,3.25,15.0,BgEstiHandle)
* Read the next image in sequence:
read_image(Image1,'Image_1')
* Estimate the background:
run_bg_esti(Image1,ForegroundRegion1,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion1)
* Read the next image in sequence:
read_image(Image2,'Image_2')
* Estimate the background:
run_bg_esti(Image2,ForegroundRegion2,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion2)
* etc.
* Change only the gain parameter in dataset:
get_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, Gain1, Gain2, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
set_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, 0.004, 0.08, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
* Read the next image in sequence:
read_image(Image3,'Image_3')
* Etimate the background:
run_bg_esti(Image3,ForegroundRegion3,BgEstiHandle)
* Display the foreground region:
dev_display(ForegroundRegion3)
* etc.
* Read image for initialization:
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.0,10,3.25,15.0,BgEstiHandle)
* Read the next image in sequence:
read_image(Image1,'Image_1')
* Estimate the background:
run_bg_esti(Image1,ForegroundRegion1,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion1)
* Read the next image in sequence:
read_image(Image2,'Image_2')
* Estimate the background:
run_bg_esti(Image2,ForegroundRegion2,BgEstiHandle)
* Display the foreground region:
dev_display (ForegroundRegion2)
* etc.
* Change only the gain parameter in dataset:
get_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, Gain1, Gain2, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
set_bg_esti_params(BgEstiHandle, Syspar1, Syspar2, \
GainMode, 0.004, 0.08, AdaptMode,\
MinDiff, StatNum, ConfidenceC, TimeC)
* Read the next image in sequence:
read_image(Image3,'Image_3')
* Etimate the background:
run_bg_esti(Image3,ForegroundRegion3,BgEstiHandle)
* Display the foreground region:
dev_display(ForegroundRegion3)
* etc.
get_bg_esti_paramsget_bg_esti_paramsGetBgEstiParamsget_bg_esti_paramsGetBgEstiParamsGetBgEstiParams liefert den Wert 2 (H_MSG_TRUE), falls die Parameter
korrekt sind.
create_bg_esticreate_bg_estiCreateBgEsticreate_bg_estiCreateBgEstiCreateBgEsti
run_bg_estirun_bg_estiRunBgEstirun_bg_estiRunBgEstiRunBgEsti
set_bg_esti_paramsset_bg_esti_paramsSetBgEstiParamsset_bg_esti_paramsSetBgEstiParamsSetBgEstiParams
Foundation