Herror ::get_image_time (
    Hobject Image,
    long *MSecond,
    long *Second,
    long *Minute,
    long *Hour,
    long *Day,
    long *YDay,
    long *Month,
    long *Year
)
HTuple HImage::GetImageTime (
    HTuple *Second,
    HTuple *Minute,
    HTuple *Hour,
    HTuple *Day,
    HTuple *YDay,
    HTuple *Month,
    HTuple *Year
) const

Request time at which the image was created.

The operator ::get_image_time returns the time at which the image was created.


Parameters

Image (input_object)
image -> Hobject: HImage
Input image.

MSecond (output_control)
integer -> long *
Milliseconds (0..999).

Second (output_control)
integer -> long *
Seconds (0..59).

Minute (output_control)
integer -> long *
Minutes (0..59).

Hour (output_control)
integer -> long *
Hours (0..11).

Day (output_control)
integer -> long *
Day of the month (1..31).

YDay (output_control)
integer -> long *
Day of the year (1..365).

Month (output_control)
integer -> long *
Month (1..12).

Year (output_control)
integer -> long *
Year (xxxx).


Result

The operator ::get_image_time returns the value H_MSG_TRUE if exactly one image was passed. The behavior in case of empty input (no input images available) is set via the operator ::set_system('no_object_result',<Result>). If necessary an exception handling is raised.


Possible Predecessors

::read_image, ::grab_image


See also

::count_seconds


Module

Image / region / XLD management



Copyright © 1996-2002 MVTec Software GmbH