当前位置:网站首页>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')
边栏推荐
- "One week's solution to analog electricity" - power circuit
- 板端电源硬件调试BUG
- 【Sensors 2021】Relation-Based Deep Attention Network with Hybrid Memory for One-Shot Person Re-Id
- Self learning neural network series - 7 feedforward neural network pre knowledge
- How to correctly open the USB debugging and complete log functions of Huawei mobile phones?
- Collection object replication
- "One week's work on digital power" -- encoder and decoder
- Cancellation and unbinding of qiniu cloud account
- Merrill Lynch data technology expert team | application of recommendation of relevant contents in group system data retrieval
- Comparison of similar PMS in QPM
猜你喜欢

install realsense2: The following packages have unmet dependencies: libgtk-3-dev

全面解读!Golang中泛型的使用

【CVPR 2019】Semantic Image Synthesis with Spatially-Adaptive Normalization(SPADE)

install opencv-contrib-dev to use aruco code

Nacos registry structure and the principle of massive service registration and concurrent read-write source code analysis

Talk about the development of type-C interface
QPM suspended window setting information

《一周学习模电》-电容、三极管、场效应管

Bbox format conversion (detectron2 function library)

GAN Inversion: A Survey
随机推荐
Principe et application du micro - ordinateur à puce unique - Aperçu
Regular expression learning
全面解读!Golang中泛型的使用
《一周搞定模电》-二极管
Lagrange multiplier method
Construction practice of bank intelligent analysis and decision-making platform
Function function of gather()
Edge computing is the sinking and extension of cloud computing capabilities to the edge and user sides
Statistics of various target quantities of annotations (XML annotation format)
首期Techo Day腾讯技术开放日,628等你
Vipshop work practice: Jason's deserialization application
Runtimeerror: object has no attribute NMS error record when using detectron2
2021年全国职业院校技能大赛(中职组)网络安全竞赛试题(2)详解
Thinkphp5 manual error reporting
Origin of QPM
"One week's work on digital power" -- encoder and decoder
Merrill Lynch data technology expert team | application of recommendation of relevant contents in group system data retrieval
php不让图片跟数据一起上传(不再是先上传图片再上传数据)
Curriculum learning (CL)
Creation and use of XSync synchronization script (taking debian10 cluster as an example)