随笔分类 -  机器视觉 / Halcon

摘要:灰度插值算法 1. 简介 灰度值插值是图像变换中必不可少的方法,因为图像并非连续函数,而是经过数字化的 —— 即由与(离散)灰度值相关联的像素组成。例如,当对图像进行旋转和下采样时(如图 1.1 所示),输出图像的某个像素将不再精确对应输入图像中的单个像素,而是可能包含原始图像中多个像素的部分信息。 阅读全文
posted @ 2025-05-15 16:00 明理 阅读(113) 评论(0) 推荐(0)
摘要:算子 get_contour_global_attrib_xld 名称 get_contour_global_attrib_xld — 返回 XLD 轮廓的全局属性值。 签名 get_contour_global_attrib_xld(Contour : : Name : Attrib) 描述 ge 阅读全文
posted @ 2025-03-08 21:25 明理 阅读(208) 评论(0) 推荐(0)
摘要:算子 get_contour_attrib_xld 名称 get_contour_attrib_xld — 返回 XLD 轮廓的点属性值。 签名 get_contour_attrib_xld(Contour : : Name : Attrib) 描述 get_contour_attrib_xld 算 阅读全文
posted @ 2025-03-08 20:41 明理 阅读(317) 评论(0) 推荐(0)
摘要:算子segment_contours_xld 功能:将 XLD 轮廓分割为线段、圆弧或椭圆弧。 签名 segment_contours_xld(Contours : ContoursSplit : Mode, SmoothCont, MaxLineDist1, MaxLineDist2) 参数详解 阅读全文
posted @ 2025-03-03 17:31 明理 阅读(204) 评论(0) 推荐(0)
摘要:算子var_threshold 名称 var_threshold — 通过局部均值和标准差分析对图像进行阈值处理。 签名 var_threshold(Image : Region : MaskWidth, MaskHeight, StdDevScale, AbsThreshold, LightDar 阅读全文
posted @ 2025-03-03 17:12 明理 阅读(254) 评论(2) 推荐(0)
摘要:算子segment_contours_xld 功能:将 XLD 轮廓分割为线段、圆弧或椭圆弧。 签名 segment_contours_xld(Contours : ContoursSplit : Mode, SmoothCont, MaxLineDist1, MaxLineDist2) 参数详解 阅读全文
posted @ 2025-03-02 18:19 明理 阅读(458) 评论(0) 推荐(0)
摘要:1 dev_close_window () 2 read_image (Image, '测量/0.bmp') 3 get_image_size (Image, Width, Height) 4 dev_open_window (0, 0, Width, Height, 'black', Window 阅读全文
posted @ 2023-08-11 14:30 明理 阅读(324) 评论(0) 推荐(0)
摘要:dev_close_window () read_image (Image, 'bracket_mask.bmp') get_image_size (Image, Width, Height) dev_open_window (0, 0, Width, Height, 'black', Window 阅读全文
posted @ 2023-08-11 14:28 明理 阅读(302) 评论(0) 推荐(0)
摘要:dev_close_window () read_image (Image, '测量/0.bmp') get_image_size (Image, Width, Height) dev_open_window (0, 0, Width, Height, 'black', WindowHandle) 阅读全文
posted @ 2023-08-11 14:17 明理 阅读(109) 评论(0) 推荐(0)
摘要:1 dev_close_window () 2 read_image (Image, '测量/0.bmp') 3 get_image_size (Image, Width, Height) 4 dev_open_window (0, 0, Width, Height, 'black', Window 阅读全文
posted @ 2023-08-11 14:14 明理 阅读(148) 评论(0) 推荐(0)
摘要:1 dev_close_window () 2 read_image (Image, '测量/0.bmp') 3 get_image_size (Image, Width, Height) 4 dev_open_window (0, 0, Width, Height, 'black', Window 阅读全文
posted @ 2023-08-11 14:11 明理 阅读(237) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-08-11 11:52 明理 阅读(127) 评论(0) 推荐(0)
摘要:1、create_metrology_model() create_metrology_model( : : : MetrologyHandle) 函数说明: 创建测量几何图形所需的数据结构/模型。 创建测量模型,后续的使用都是围绕着句柄ModelID。 2、set_metrology_model_ 阅读全文
posted @ 2023-08-11 10:22 明理 阅读(1111) 评论(0) 推荐(0)