get_image_timeget_image_timeGetImageTimeGetImageTime (Operator)

Name

get_image_timeget_image_timeGetImageTimeGetImageTime — Abfragen der Zeit, zu der das Bild erzeugt wurde.

Signatur

get_image_time(Image : : : MSecond, Second, Minute, Hour, Day, YDay, Month, Year)

Herror get_image_time(const Hobject Image, Hlong* MSecond, Hlong* Second, Hlong* Minute, Hlong* Hour, Hlong* Day, Hlong* YDay, Hlong* Month, Hlong* Year)

Herror T_get_image_time(const Hobject Image, Htuple* MSecond, Htuple* Second, Htuple* Minute, Htuple* Hour, Htuple* Day, Htuple* YDay, Htuple* Month, Htuple* Year)

void GetImageTime(const HObject& Image, HTuple* MSecond, HTuple* Second, HTuple* Minute, HTuple* Hour, HTuple* Day, HTuple* YDay, HTuple* Month, HTuple* Year)

Hlong HImage::GetImageTime(Hlong* Second, Hlong* Minute, Hlong* Hour, Hlong* Day, Hlong* YDay, Hlong* Month, Hlong* Year) const

static void HOperatorSet.GetImageTime(HObject image, out HTuple MSecond, out HTuple second, out HTuple minute, out HTuple hour, out HTuple day, out HTuple YDay, out HTuple month, out HTuple year)

int HImage.GetImageTime(out int second, out int minute, out int hour, out int day, out int YDay, out int month, out int year)

Beschreibung

get_image_timeget_image_timeGetImageTimeGetImageTimeGetImageTime liefert den Zeitpunkt, zu dem das Bild intern in HALCON erzeugt wurde. Diese Zeit hängt nicht unbedingt mit der Zeit zusammen, zu der das Bild aufgenommen wurde.

Für manche Bildeinzugsschnittstellen kann die Zeit der Aufnahme mit get_framegrabber_paramget_framegrabber_paramGetFramegrabberParamGetFramegrabberParamGetFramegrabberParam abgefragt werden.

Ausführungsinformationen

Parameter

ImageImageImageImageimage (input_object)  (multichannel-)image objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Eingabebild.

MSecondMSecondMSecondMSecondMSecond (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Milli-Sekunden (0..999).

SecondSecondSecondSecondsecond (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Sekunden (0..59).

MinuteMinuteMinuteMinuteminute (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Minuten (0..59).

HourHourHourHourhour (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Stunden (0..23).

DayDayDayDayday (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Tag innerhalb des Monats (1..31).

YDayYDayYDayYDayYDay (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Tag innerhalb des Jahres (1..366).

MonthMonthMonthMonthmonth (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Monat (1..12).

YearYearYearYearyear (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Jahr (xxxx).

Ergebnis

get_image_timeget_image_timeGetImageTimeGetImageTimeGetImageTime liefert den Wert 2 (H_MSG_TRUE), falls genau ein Bild übergeben wurde. Das Verhalten bei leerer Eingabe (keine Eingabebilder vorhanden) lässt sich mittels set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>) festlegen. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

read_imageread_imageReadImageReadImageReadImage, grab_imagegrab_imageGrabImageGrabImageGrabImage

Siehe auch

count_secondscount_secondsCountSecondsCountSecondsCountSeconds

Modul

Foundation