Halcon裁剪图片reduce_domain与crop_domain

简介: Halcon裁剪图片reduce_domain与crop_domain

dev_close_window()

dev_update_off ()

dev_open_file_dialog ('read_image', 'default', 'default', Selection)

read_image (Image, Selection)

get_image_size (Image, Width, Height)

dev_open_window_fit_image (Image, 0, 0, -1, -1, WindowHandle)

dev_display (Image)


draw_rectangle1 (WindowHandle, Row1, Column1, Row2, Column2)

gen_rectangle1 (ROI_0,Row1, Column1, Row2, Column2)

reduce_domain (Image, ROI_0, ImageReduced)

crop_domain(ImageReduced, ImagePart)

write_image(ImagePart, 'jpeg 100', 0, 'd:/pcb1.jpg')


相关文章
|
人工智能 算法 自动驾驶
使用OpenCV实现Halcon算法(2)形状匹配开源项目,shape_based_matching
使用OpenCV实现Halcon算法(2)形状匹配开源项目,shape_based_matching
3197 0
使用OpenCV实现Halcon算法(2)形状匹配开源项目,shape_based_matching
|
1月前
|
计算机视觉
halcon系列基础之Scale_image_range
halcon系列基础之Scale_image_range
|
6月前
|
定位技术
94Echarts - 地理坐标/地图(Use lines to draw 1 million ny streets.)
94Echarts - 地理坐标/地图(Use lines to draw 1 million ny streets.)
19 0
|
6月前
135Echarts - 路径图(Use lines to draw 1 million ny streets.)
135Echarts - 路径图(Use lines to draw 1 million ny streets.)
16 0
|
6月前
paraformer支持设置 speech_noise_threshold 这个参数吗 ?
请问:speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch 这个模型支持设置 speech_noise_threshold 这个参数吗 ? vad 本身是支持的,但对这个集成的模型好像不起作用? 如果支持,应该如何正确地设置呢 ? 如果不支持,那该模型有没有什么方法可以过滤掉背景噪声? 经常会有背景噪声被识别出文字
33 0
|
机器学习/深度学习 编解码 机器人
Paper:《First Order Motion Model for Image Animation》翻译与解读
Paper:《First Order Motion Model for Image Animation》翻译与解读
Paper:《First Order Motion Model for Image Animation》翻译与解读
|
Java 定位技术
Google Earth Engine(GEE)——Error: Projection: The CRS of a map projection could not be parsed.(坐标转换错)
Google Earth Engine(GEE)——Error: Projection: The CRS of a map projection could not be parsed.(坐标转换错)
619 0
Google Earth Engine(GEE)——Error: Projection: The CRS of a map projection could not be parsed.(坐标转换错)
|
UED
Google Earth Engine——WRI/GFW/FORMA/raw_output_ndvi数据集
Google Earth Engine——WRI/GFW/FORMA/raw_output_ndvi数据集
96 0
Google Earth Engine——WRI/GFW/FORMA/raw_output_ndvi数据集
GEE——本地矢量无法上传到GEE中?Error: Projection exception. Ensure the projection is specified correctly
GEE——本地矢量无法上传到GEE中?Error: Projection exception. Ensure the projection is specified correctly
731 0
GEE——本地矢量无法上传到GEE中?Error: Projection exception. Ensure the projection is specified correctly
|
移动开发
Gradient Domain Guided Image Filtering(梯度域导向滤波)
作者提出了一种新的梯度域引导图像滤波器,通过将明确的一阶边缘感知约束结合到现有的引导图像滤波器中。               matlab代码实现 转载至:https://blog.
3645 0