博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
halcon算子翻译——gen_image_surface_first_order
阅读量:7071 次
发布时间:2019-06-28

本文共 2394 字,大约阅读时间需要 7 分钟。

名称

gen_image_surface_first_order - 使用一阶多项式创建倾斜的灰色曲面。

用法

gen_image_surface_first_order( : ImageSurface : Type, Alpha, Beta, Gamma, Row, Column, Width, Height : )

描述

算子gen_image_surface_first_order根据以下公式创建倾斜的灰度值曲面:

ImageSurface(r,c) = Alpha(r - Row) +Beta(c - Column) +Gamma

图像的大小由Width和Height决定。 参数Row和Column定义创建的灰色曲面的参考点。 灰色值的类型为Type(有关像素类型的详细说明,请参阅gen_image_const)。 有效区域外的灰度值会被剪切。

并行

●  多线程类型:可重入(与非独占算子并行运行)。

●  多线程范围:全局(可以从任何线程调用)。
●  不并行化处理。

参数

ImageSurface (output_object)   image → object (byte / uint2 / real)

  新创建的图像矩阵。

Type (input_control)    string → (string)
  像素类型
  Default value: 'byte'
  List of values: 'byte', 'real', 'uint2'

Alpha (input_control)    number → (real)
  垂直方向的一阶系数。
  Default value: 1.0
  Suggested values: -2.0, -1.0, -0.5, -0.0, 0.5, 1.0, 2.0
  Minimum increment: 0.000001
  Recommended increment: -0.005

Beta (input_control)    number → (real)
  水平方向上的一阶系数。
  Default value: 1.0
  Suggested values: -2.0, -1.0, -0.5, -0.0, 0.5, 1.0, 2.0
  Minimum increment: 0.000001
  Recommended increment: -0.005

Gamma (input_control)    number → (real)
  零阶系数。
  Default value: 1.0
  Suggested values: -2.0, -1.0, -0.5, -0.0, 0.5, 1.0, 2.0
  Minimum increment: 0.000001
  Recommended increment: -0.005

Row (input_control)    number → (real)
  曲面参考点的行坐标。
  Default value: 256.0
  Suggested values: 0.0, 128.0, 256.0, 512.0
  Minimum increment: 0.000001
  Recommended increment: -0.005

Column (input_control)    number → (real)
  曲面参考点的列坐标。
  Default value: 256.0
  Suggested values: 0.0, 128.0, 256.0, 512.0
  Minimum increment: 0.000001
  Recommended increment: -0.005

Width (input_control)    extent.x → (integer)
  图像宽度。
  Default value: 512
  Suggested values: 128, 256, 512, 1024
  Typical range of values: 1 ≤ Width ≤ 512 (lin)
  Minimum increment: 1
  Recommended increment: 10
  Restriction: Width >= 1

Height (input_control)    extent.y → (integer)
  图像高度。
  Default value: 512
  Suggested values: 128, 256, 512, 1024
  Typical range of values: 1 ≤ Height ≤ 512 (lin)
  Minimum increment: 1
  Recommended increment: 10
  Restriction: Height >= 1

结果

如果参数值正确,则gen_image_surface_first_order返回值2(H_MSG_TRUE)。 否则会引发异常。

Possible Predecessors

fit_surface_first_order

Possible Successors

sub_image

See also

gen_image_gray_ramp, gen_image_surface_second_order, gen_image_const

模块

Foundation

HDevelop例程

 

 

转载于:https://www.cnblogs.com/xhiong/p/gen_image_surface_first_order.html

你可能感兴趣的文章
【Android】使用SearchView时软键盘不支持actionSearch的问题
查看>>
url请求返回结果测试工具(CURL)
查看>>
虚拟机安装教程
查看>>
java对文件的检索
查看>>
Marquee滚动字幕设置(转)
查看>>
linux系统下调度数据库类型资源库中的kettle job
查看>>
8UFTP
查看>>
VC 2005 解决方案的目录结构设置和管理
查看>>
吾爱论坛浏览器分享
查看>>
java内存模型优化建议
查看>>
解决Ubuntu Kylin 1610安装ANSYS17.2的NVIDIA显卡驱动问题
查看>>
Linux下如何修改Apache根目录
查看>>
JAVA入门[2]-安装Maven
查看>>
什么是回调函数
查看>>
HDU 2588 GCD && GCD问题总结
查看>>
2015年北京大学软件project学科优秀大学生夏令营上机考试---C:单词翻转面试题...
查看>>
cocos2d-x 3.0的坑有哪些
查看>>
awk条件语句
查看>>
TCP端口状态说明ESTABLISHED、TIME_WAIT
查看>>
the import java.util.* cannot be resolve,怎么解决
查看>>