当前位置:网站首页>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')
边栏推荐
- Detectron2 draw confusion matrix, PR curve and confidence curve
- 【CVPR 2021】 Lifelong Person Re-Identification via Adaptive Knowledge Accumulation
- 【CVPR 2021】Unsupervised Pre-training for Person Re-identification(UPT)
- 【CVPR 2021】Joint Generative and Contrastive Learning for Unsupervised Person Re-identification
- 【CVPR 2021】Unsupervised Multi-Source Domain Adaptation for Person Re-Identification (UMSDA)
- Kubernetes cluster deployment (v1.23.5)
- 【Sensors 2021】Relation-Based Deep Attention Network with Hybrid Memory for One-Shot Person Re-Id
- 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
- 3大问题!Redis缓存异常及处理方案总结
- 【CVPR 2021】Intra-Inter Camera Similarity for Unsupervised Person Re-Identification (IICS++)
猜你喜欢

《一周搞定模电》-二极管

正则表达的学习

Shared by Merrill Lynch data technology expert team, smoking detection related practice based on Jetson nano

jz2440---使用uboot燒錄程序

【CVPR 2021】Intra-Inter Camera Similarity for Unsupervised Person Re-Identification (IICS++)

Kubernetes cluster deployment (v1.23.5)

The most complete and simple nanny tutorial: deep learning environment configuration anaconda+pychart+cuda+cudnn+tensorflow+pytorch

0 basic how to make a cool leadership cockpit?

Understanding of swing transformer

Creation and use of XSync synchronization script (taking debian10 cluster as an example)
随机推荐
Yolov5 results Txt visualization
Catalogue gradué de revues scientifiques et technologiques de haute qualité dans le domaine de l'informatique
Jz2440--- using uboot burning program
Common circuit design
"One week's data collection" - logic gate
集合对象复制
深度学习(初识tensorflow2.版本)之三好学生成绩问题(1)
thinkphp5手动报错
Collection object replication
How to view the data mini map quickly and conveniently after importing data in origin
计算领域高质量科技期刊分级目录
Construction practice of bank intelligent analysis and decision-making platform
Pycharm [debug] process stuck
Self taught programming series - 2 file path and text reading and writing
安装 新版本cmake & swig & tinyspline
Comparison of similar PMS in QPM
The first techo day Tencent technology open day, 628
《一周搞定数电》-逻辑门
《單片機原理及應用》——概述
全面解读!Golang中泛型的使用