get_bg_esti_paramsT_get_bg_esti_paramsGetBgEstiParamsGetBgEstiParamsget_bg_esti_params (Operator)

Name

get_bg_esti_paramsT_get_bg_esti_paramsGetBgEstiParamsGetBgEstiParamsget_bg_esti_params — Gibt die Parameter des Datensatzes aus.

Signatur

get_bg_esti_params( : : BgEstiHandle : Syspar1, Syspar2, GainMode, Gain1, Gain2, AdaptMode, MinDiff, StatNum, ConfidenceC, 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)

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

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)

def get_bg_esti_params(bg_esti_handle: HHandle) -> Tuple[float, float, str, float, float, str, float, int, float, float]

Beschreibung

Mit get_bg_esti_paramsget_bg_esti_paramsGetBgEstiParamsGetBgEstiParamsGetBgEstiParamsget_bg_esti_params werden die Parameter des Datensatz ausgegeben. Die zurückgegebenen Parameter sind identisch mit denen für create_bg_esticreate_bg_estiCreateBgEstiCreateBgEstiCreateBgEsticreate_bg_esti und set_bg_esti_paramsset_bg_esti_paramsSetBgEstiParamsSetBgEstiParamsSetBgEstiParamsset_bg_esti_params (Erklärung siehe dort).

Ausführungsinformationen

Parameter

BgEstiHandleBgEstiHandleBgEstiHandleBgEstiHandlebgEstiHandlebg_esti_handle (input_control)  bg_estimation HBgEsti, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

ID des BgEsti-Datensatzes.

Syspar1Syspar1Syspar1Syspar1syspar1syspar_1 (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

1. Parameter der Systemmatrix.

Syspar2Syspar2Syspar2Syspar2syspar2syspar_2 (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

2. Parameter der Systemmatrix.

GainModeGainModeGainModeGainModegainModegain_mode (output_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Art der Gains.

Gain1Gain1Gain1Gain1gain1gain_1 (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Kalmangain / Adaptionszeit für Vordergrund.

Gain2Gain2Gain2Gain2gain2gain_2 (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Kalmangain / Adaptionszeit für Hintergrund.

AdaptModeAdaptModeAdaptModeAdaptModeadaptModeadapt_mode (output_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Adaption der Schwelle.

MinDiffMinDiffMinDiffMinDiffminDiffmin_diff (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Schwelle, für Vordergrund / Hintergrund.

StatNumStatNumStatNumStatNumstatNumstat_num (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Anzahl statistischer Datensätze.

ConfidenceCConfidenceCConfidenceCConfidenceCconfidenceCconfidence_c (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Konfidenzkonstante.

TimeCTimeCTimeCTimeCtimeCtime_c (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Abklingkonstante.

Beispiel (HDevelop)

* 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)
* Display the foreground region:
dev_display (ForegroundRegion1)
* Read the next image in sequence:
read_image(Image1,'xing/xing001')
* Estimate the background:
run_bg_esti(Image1,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,'xing/xing003')
* Estimate the background:
run_bg_esti(Image3,ForegroundRegion3,BgEstiHandle)
* Display the foreground region:
dev_display(ForegroundRegion3)
* etc

Ergebnis

get_bg_esti_paramsget_bg_esti_paramsGetBgEstiParamsGetBgEstiParamsGetBgEstiParamsget_bg_esti_params liefert den Wert TRUE, falls die Parameter korrekt sind.

Vorgänger

create_bg_esticreate_bg_estiCreateBgEstiCreateBgEstiCreateBgEsticreate_bg_esti

Nachfolger

run_bg_estirun_bg_estiRunBgEstiRunBgEstiRunBgEstirun_bg_esti

Siehe auch

set_bg_esti_paramsset_bg_esti_paramsSetBgEstiParamsSetBgEstiParamsSetBgEstiParamsset_bg_esti_params

Modul

Foundation