get_channel_infoget_channel_infoGetChannelInfoGetChannelInfoget_channel_info (Operator)

Name

get_channel_infoget_channel_infoGetChannelInfoGetChannelInfoget_channel_info — 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)

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

HString HObject::GetChannelInfo(const wchar_t* Request, Hlong Channel) const   (Nur Windows)

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)

def get_channel_info(object: HObject, request: str, channel: MaybeSequence[int]) -> Sequence[str]

def get_channel_info_s(object: HObject, request: str, channel: MaybeSequence[int]) -> str

Beschreibung

get_channel_infoget_channel_infoGetChannelInfoGetChannelInfoGetChannelInfoget_channel_info 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_infoGetChannelInfoGetChannelInfoGetChannelInfoget_channel_info 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.

Ausführungsinformationen

Parameter

ObjectObjectObjectObjectobjectValobject (input_object)  object objectHObjectHObjectHObjectHobject

Zu untersuchendes Bildobjekt.

RequestRequestRequestRequestrequestrequest (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (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) HTupleMaybeSequence[int]HTupleHtuple (integer) (int / long) (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) HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Angeforderte Information.

Ergebnis

Sind die Parameter korrekt, liefert get_channel_infoget_channel_infoGetChannelInfoGetChannelInfoGetChannelInfoget_channel_info den Wert TRUE. Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

read_imageread_imageReadImageReadImageReadImageread_image

Siehe auch

count_relationcount_relationCountRelationCountRelationCountRelationcount_relation

Modul

Foundation