当前位置:网站首页>halcon 光度立体
halcon 光度立体
2022-06-26 08:58:00 【脆皮茄条】
* 读取4张图像
* strFiles = 'C:/Users/wuyk/Desktop/liujing/huashang2/10'
* set_system('image_dir',strFiles)
* read_image(Images,['e','n','w','s'])
read_image(Images_e,'e.bmp')
read_image(Images_n,'n.bmp')
read_image(Images_w,'w.bmp')
read_image(Images_s,'s.bmp')
concat_obj(Images_e, Images_n, Images_1)
concat_obj(Images_w, Images_s, Images_2)
concat_obj(Images_1, Images_2, Images)
* 初始化参数
Tilts :=[0,90,18,270]
Slants := [45,45,45,45]
ResultType := ['gradient','albedo']
* 4张原始图-->1张梯度图
photometric_stereo (Images, HeightField,
Gradient, Albedo, Slants, Tilts, ResultType, 'poisson', [], [])
* 1张梯度图-->立体图
derivate_vector_field (Gradient,
MeanCurvature, 1.0, 'mean_curvature')
* 显示反射率图
dev_display (Albedo)
* 灰度映射,ROI
scale_image_max (MeanCurvature,ImageScaleMax)
gen_rectangle1 (ROI_0, 1001.24, -118.652, 2653.7, 5590.4)
reduce_domain(ImageScaleMax, ROI_0, ImageReduced)
write_image( ImageReduced , 'bmp' , 0 ,'save_name')
边栏推荐
- Creation and use of XSync synchronization script (taking debian10 cluster as an example)
- How to solve the problem that NVIDIA model cannot be viewed by inputting NVIDIA SMI and quickly view NVIDIA model information of computer graphics card
- 2021-11-22 运动规划杂记
- 《一周搞定模电》-二极管
- 集合对象复制
- thinkphp5手动报错
- 【pulsar学习】pulsar架构原理
- Merrill Lynch data technology expert team | application of recommendation of relevant contents in group system data retrieval
- 安装 新版本cmake & swig & tinyspline
- "One week's work on Analog Electronics" - diodes
猜你喜欢

《單片機原理及應用》——概述

Edit type information

2021年全国职业院校技能大赛(中职组)网络安全竞赛试题(1)详细解析教程

《单片机原理及应用》——概述

【C】青蛙跳台阶和汉诺塔问题(递归)
![Modify coco evaluation index maxdets=[10,15,20]](/img/f6/a0fbf601371aa51ec5b0136574c756.jpg)
Modify coco evaluation index maxdets=[10,15,20]

jz2440---使用uboot燒錄程序

Board end power hardware debugging bug

Spark based distributed parallel processing optimization strategy - Merrill Lynch data

【CVPR 2021】Intra-Inter Camera Similarity for Unsupervised Person Re-Identification (IICS++)
随机推荐
Collection object replication
《單片機原理及應用》——概述
Bbox format conversion (detectron2 function library)
How to solve the sample imbalance problem in machine learning?
"One week's study of model electricity" - capacitor, triode, FET
Runtimeerror: object has no attribute NMS error record when using detectron2
【CVPR 2019】Semantic Image Synthesis with Spatially-Adaptive Normalization(SPADE)
Jetson TX2 installing the SciPy Library
板端电源硬件调试BUG
深度学习(初识tensorflow2.版本)之三好学生成绩问题(1)
PHP extracts TXT text to store the domain name in JSON data
Curriculum learning (CL)
[Journal of Computer Aided Design & computer graphics] overview of research on pedestrian re recognition methods based on generated countermeasure network
首期Techo Day腾讯技术开放日,628等你
Self taught neural network series - 1 Basic programming knowledge
Shared by Merrill Lynch data technology expert team, smoking detection related practice based on Jetson nano
进入页面输入框自动获取焦点
Solutions for safety management and control at the operation site
集合对象复制
Self taught neural network series - 4 learning of neural network