Name
get_1d_bar_codeT_get_1d_bar_codeGet1dBarCodeget_1d_bar_codeGet1dBarCodeGet1dBarCode — Bestimmt die Dicke der Elemente innerhalb einer Barcode-Region.
Warnung
get_1d_bar_codeget_1d_bar_codeGet1dBarCodeget_1d_bar_codeGet1dBarCodeGet1dBarCode ist veraltet und wird nur aus Gründen
der Rückwärtskompatibilität zur Verfügung gestellt. Neue
Applikationen zum Lesen von Barcode-Symbologien sollten stattdessen die
Funktionalitäten im Kapitel Identifizierung / Barcode verwenden
(siehe find_bar_codefind_bar_codeFindBarCodefind_bar_codeFindBarCodeFindBarCode).
Herror get_1d_bar_code(Hobject BarCodeRegion, const HTuple& BarCodeDescr, const HTuple& GenericName, const HTuple& GenericValue, const HTuple& Orientation, HTuple* BarCodeElements)
HTuple HImage::Get1dBarCode(const HTuple& BarCodeDescr, const HTuple& GenericName, const HTuple& GenericValue, const HTuple& Orientation) const
HTuple HBarCode1D::Get1dBarCode(const HImage& BarCodeRegion, const HTuple& GenericName, const HTuple& GenericValue, const HTuple& Orientation) const
void Get1dBarCode(const HObject& BarCodeRegion, const HTuple& BarCodeDescr, const HTuple& GenericName, const HTuple& GenericValue, const HTuple& Orientation, HTuple* BarCodeElements)
HTuple HImage::Get1dBarCode(const HTuple& BarCodeDescr, const HTuple& GenericName, const HTuple& GenericValue, double Orientation) const
HTuple HImage::Get1dBarCode(const HTuple& BarCodeDescr, const HString& GenericName, double GenericValue, double Orientation) const
HTuple HImage::Get1dBarCode(const HTuple& BarCodeDescr, const char* GenericName, double GenericValue, double Orientation) const
void HOperatorSetX.Get1dBarCode(
[in] IHUntypedObjectX* BarCodeRegion, [in] VARIANT BarCodeDescr, [in] VARIANT GenericName, [in] VARIANT GenericValue, [in] VARIANT Orientation, [out] VARIANT* BarCodeElements)
VARIANT HBarCode1DX.Get1dBarCode(
[in] IHImageX* BarCodeRegion, [in] VARIANT BarCodeDescr, [in] VARIANT GenericName, [in] VARIANT GenericValue, [in] double Orientation)
VARIANT HImageX.Get1dBarCode(
[in] VARIANT BarCodeDescr, [in] VARIANT GenericName, [in] VARIANT GenericValue, [in] double Orientation)
static void HOperatorSet.Get1dBarCode(HObject barCodeRegion, HTuple barCodeDescr, HTuple genericName, HTuple genericValue, HTuple orientation, out HTuple barCodeElements)
HTuple HImage.Get1dBarCode(HTuple barCodeDescr, HTuple genericName, HTuple genericValue, double orientation)
HTuple HImage.Get1dBarCode(HTuple barCodeDescr, string genericName, double genericValue, double orientation)
get_1d_bar_codeget_1d_bar_codeGet1dBarCodeget_1d_bar_codeGet1dBarCodeGet1dBarCode extrahiert die Elementdicke innerhalb der
vorgegebenen (Barcode-)Region.
Die Steuerung der Verarbeitung erfolgt genauso wie bei
find_1d_bar_codefind_1d_bar_codeFind1dBarCodefind_1d_bar_codeFind1dBarCodeFind1dBarCode. Die Beschreibung der Parameter
GenericNameGenericNameGenericNameGenericNameGenericNamegenericName und GenericValueGenericValueGenericValueGenericValueGenericValuegenericValue sind bei diesem
Operator zu finden.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Beschreibung eines Barcode-Typs
Namen der optionalen Steuerparameter.
Defaultwert: []
Werteliste: 'add_length_project'"add_length_project""add_length_project""add_length_project""add_length_project""add_length_project", 'amplitude_project'"amplitude_project""amplitude_project""amplitude_project""amplitude_project""amplitude_project", 'interpolation_project'"interpolation_project""interpolation_project""interpolation_project""interpolation_project""interpolation_project", 'max_extra_elements'"max_extra_elements""max_extra_elements""max_extra_elements""max_extra_elements""max_extra_elements", 'num_scanlines'"num_scanlines""num_scanlines""num_scanlines""num_scanlines""num_scanlines", 'sigma_project'"sigma_project""sigma_project""sigma_project""sigma_project""sigma_project", 'width_project'"width_project""width_project""width_project""width_project""width_project"
Werte der optionalen Steuerparameter.
Defaultwert: []
Orientierung des Barcodes.
Dicke der einzelnen Elemente.
HTuple empty; // empty list of values
HTuple BarCodeDescr;
HTuple Orientations, Elements;
HTuple Characters,Reference,IsCorrect;
Hobject Image,CodeRegions,CodeRegion,GrayRegion;
Hlong num;
gen_1d_bar_code_descr("code 39",4,15,&BarCodeDescr);
find_1d_bar_code_region(Image,&CodeRegion,BarCodeDescr,empty,empty,
&Orientations);
count_obj(CodeRegions,&num);
for (Hlong i=0; i<num; i++)
{
select_obj(CodeRegions,&CodeRegion,i);
reduce_domain(Image,CodeRegion,GrayRegion)\:
get_1d_bar_code(GrayRegion,BarCodeDescr,empty,empty,Orientations[i],
&Elements);
decode_1d_bar_code(Elements,BarCodeDescr,
&Characters,&Reference,&IsCorrect);
}
get_1d_bar_codeget_1d_bar_codeGet1dBarCodeget_1d_bar_codeGet1dBarCodeGet1dBarCode liefert den Wert 2 (H_MSG_TRUE), sofern die
Parameter korrekt sind.
Bar Code