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

  • 相关阅读:
    类模板和函数模板
    vector用法
    the swap trick用于锐减过剩容量
    SIGHUP信号
    linux页表机制
    linux中sigsuspend和pause的区别
    最长回文串:LeetCode:Longest Palindromic Substring
    Implement strStr()
    ffmpeg知多少~~~
    下面可能会更新很多。。。
  • 原文地址:https://www.cnblogs.com/xhiong/p/get_image_type.html
Copyright © 2011-2022 走看看