zoukankan      html  css  js  c++  java
  • halcon算子翻译——get_image_size

    名称

    get_image_size - 返回图像的大小。

    用法

    get_image_size(Image : : : Width, Height)

    描述

    算子get_image_size返回输入图像的图像大小(宽度和高度)。

    并行

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

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

    参数

    Image (input_object)   (multichannel-)image(-array) → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
      输入图像。


    Width (output_control)    extent.x(-array) → (integer)
      图像宽度。


    Height (output_control)    extent.y(-array) → (integer)
      图像高度。

    结果

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

    Possible Predecessor

    read_image

    Alternatives

    get_image_pointer1

    See also

    get_image_type

    模块

    Foundation

    HDevelop例程

    display_operators.hdev             结果可视化
    count_fish_sticks.hdev              执行鱼棒的完整性检查
    barcode_param_stop_after_result_num.hdev    使用条形码参数“stop_after_result_num”

  • 相关阅读:
    Node 修改默认镜像源
    Mac下apache虚拟主机配置
    Grep命令出现 Binary file (standard input) matches
    idea取出方法参数提示
    Java8 Optional用法
    Codeforces Round #638 (Div. 2)
    Codeforces Round #637 (Div. 2)
    Codeforces Round #636 (Div. 3)
    Tree
    Educational Codeforces Round 85
  • 原文地址:https://www.cnblogs.com/xhiong/p/get_image_size.html
Copyright © 2011-2022 走看看