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

    名称

    get_image_type - 返回图像的类型。

    用法

    get_image_type(Image : : : Type)

    描述

    算子get_image_type返回图像类型(Type ='byte','int2','uint2'等)。

    注意

    对于多通道的输入图像,返回第一个通道的类型。

    并行

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

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

    参数

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


    Type (output_control)    string(-array) → (string)
      图像类型
      List of values: 'byte', 'complex', 'cyclic', 'direction', 'int1', 'int2', 'int4', 'int8', 'real', 'uint2', 'vector_field_absolute', 'vector_field_relative'

    结果

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

    Possible Predecessors

    read_image

    Alternatives

    get_image_pointer1

    See also

    get_image_size

    模块

    Foundation

  • 相关阅读:
    vue-修改vue项目运行端口号
    任正非521央视采访全文
    是施压还是真的决裂?
    贸易战风波继续
    华为对封杀的态度和格局
    美国封锁对华为的影响
    布鲁克斯法则 (Brooks's Law)
    2019第20周日
    如何让自己走的更远
    如何应对中年危机
  • 原文地址:https://www.cnblogs.com/xhiong/p/get_image_type.html
Copyright © 2011-2022 走看看