KlassenKlassenKlassenKlassen | | | | Operatoren

get_channel_infoget_channel_infoGetChannelInfoget_channel_infoGetChannelInfoGetChannelInfo (Operator)

Name

get_channel_infoget_channel_infoGetChannelInfoget_channel_infoGetChannelInfoGetChannelInfo — Informationen über die Komponenten eines Bildobjektes.

Signatur

get_channel_info(Object : : Request, Channel : Information)

Herror get_channel_info(const Hobject Object, const char* Request, const Hlong Channel, char* Information)

Herror T_get_channel_info(const Hobject Object, const Htuple Request, const Htuple Channel, Htuple* Information)

Herror get_channel_info(Hobject Object, const HTuple& Request, const HTuple& Channel, char* Information)

Herror get_channel_info(Hobject Object, const HTuple& Request, const HTuple& Channel, HTuple* Information)

void GetChannelInfo(const HObject& Object, const HTuple& Request, const HTuple& Channel, HTuple* Information)

HTuple HObject::GetChannelInfo(const HString& Request, const HTuple& Channel) const

HString HObject::GetChannelInfo(const HString& Request, Hlong Channel) const

HString HObject::GetChannelInfo(const char* Request, Hlong Channel) const

void HOperatorSetX.GetChannelInfo(
[in] IHUntypedObjectX* Object, [in] VARIANT Request, [in] VARIANT Channel, [out] VARIANT* Information)

VARIANT HImageX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

VARIANT HRegionX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

VARIANT HUntypedObjectX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

VARIANT HXLDContX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

VARIANT HXLDPolyX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

VARIANT HXLDParaX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

VARIANT HXLDModParaX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

VARIANT HXLDExtParaX.GetChannelInfo(
[in] BSTR Request, [in] VARIANT Channel)

static void HOperatorSet.GetChannelInfo(HObject objectVal, HTuple request, HTuple channel, out HTuple information)

HTuple HObject.GetChannelInfo(string request, HTuple channel)

string HObject.GetChannelInfo(string request, int channel)

Beschreibung

get_channel_infoget_channel_infoGetChannelInfoget_channel_infoGetChannelInfoGetChannelInfo liefert Informationen über die Komponenten eines Bildobjektes. Folgende Abfragen (RequestRequestRequestRequestRequestrequest) sind derzeit möglich:

'creator'

Ausgabe der Namen der Prozeduren, die die Komponenten (nicht das Objekt) ursprünglich angelegt haben.

'type'

Ausgabe des Typs der Bildkomponente ('byte', 'int1', 'int2', 'uint2' 'int4', 'real', 'direction', 'cyclic', 'complex', 'vector_field'). Die Komponente 0 ist vom Typ 'region' oder 'xld'.

Im Tupel ChannelChannelChannelChannelChannelchannel werden die Nummern der Komponenten angegeben, über die Informationen gewünscht werden. InformationInformationInformationInformationInformationinformation enthält nach Ausführung von get_channel_infoget_channel_infoGetChannelInfoget_channel_infoGetChannelInfoGetChannelInfo ein Tupel von Strings (je ein String pro Eintrag in ChannelChannelChannelChannelChannelchannel) mit den gewünschten Informationen.

Die in HALCON verfügbaren ikonischen Objekte werden bei der Einleitung zu Kapitel Objekt vorgestellt.

Parallelisierung

Parameter

ObjectObjectObjectObjectObjectobjectVal (input_object)  object objectHObjectHObjectHObjectHObjectXHobject

Zu untersuchendes Bildobjekt.

RequestRequestRequestRequestRequestrequest (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Gewünschte Information über Objektkomponenten.

Defaultwert: 'creator' "creator" "creator" "creator" "creator" "creator"

Werteliste: 'creator'"creator""creator""creator""creator""creator", 'type'"type""type""type""type""type"

ChannelChannelChannelChannelChannelchannel (input_control)  channel(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Zu untersuchende Komponenten (0 für Region/XLD).

Defaultwert: 0

Wertevorschläge: 0, 1, 2, 3, 4, 5, 6, 7, 8

InformationInformationInformationInformationInformationinformation (output_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Angeforderte Information.

Ergebnis

Sind die Parameter korrekt, liefert get_channel_infoget_channel_infoGetChannelInfoget_channel_infoGetChannelInfoGetChannelInfo den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

read_imageread_imageReadImageread_imageReadImageReadImage

Siehe auch

count_relationcount_relationCountRelationcount_relationCountRelationCountRelation

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren