halcon算子翻译——get_image_time

名称

get_image_time - 获取创建图像的时间。

用法

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

描述

算子get_image_time返回创建图像的时间。

并行

●  支持计算设备上的对象。

●  多线程类型:可重入(与非独占算子并行运行)。
●  多线程范围:全局(可以从任何线程调用)。
●  不并行化处理。

参数

Image (input_object)   (multichannel-)image → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
  输入图像
MSecond (output_control) integer → (integer)
  毫秒 (0..999).
Second (output_control) integer → (integer)
  秒 (0..59).
Minute (output_control) integer → (integer)
  分 (0..59).
Hour (output_control) integer → (integer)
  时(0..23).
Day (output_control) integer → (integer)
    天(1..31).
YDay (output_control) integer → (integer)
    年份的天 (1..366).
Month (output_control) integer → (integer)
  月 (1..12).
Year (output_control) integer → (integer)
  年 (xxxx).

结果

  如果传递了一个图像,则算子get_image_time将返回值2(H_MSG_TRUE)。 空输入(无可用输入图像)时的行为通过算子set_system('no_object_result',<Result>)设置。 如有必要,会引发异常。

Possible Predecessors

read_image, grab_image

See also

count_seconds

模块

Foundation

HDevelop例程

multicam_picolo.hdev   在Euresys PICOLO电路板使用MultiCam接口

posted @ 2017-12-09 23:33  水行  阅读(362)  评论(0)    收藏  举报