当前位置:网站首页>Halcon photometric stereoscopic
Halcon photometric stereoscopic
2022-06-26 09:37:00 【Crispy eggplant strips】
* Read 4 Zhang image
* 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)
* Initialize parameters
Tilts :=[0,90,18,270]
Slants := [45,45,45,45]
ResultType := ['gradient','albedo']
* 4 Original picture -->1 Gradient graph
photometric_stereo (Images, HeightField,
Gradient, Albedo, Slants, Tilts, ResultType, 'poisson', [], [])
* 1 Gradient graph --> Stereogram
derivate_vector_field (Gradient,
MeanCurvature, 1.0, 'mean_curvature')
* Show the reflectance map
dev_display (Albedo)
* Grayscale mapping ,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')
边栏推荐
猜你喜欢

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

Spark based distributed parallel processing optimization strategy - Merrill Lynch data

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

How does flutter transfer parameters to the next page when switching pages?

"One week's data collection" -- combinational logic circuit

Kubernetes cluster deployment (v1.23.5)

Single sign on logic

Detectron2 save (according to maxap50) model during training_ best. PTH weight

Learning to Generalize Unseen Domains via Memory-based Multi-Source Meta-Learning for Person Re-ID

Pycharm occasionally encounters low disk space
随机推荐
php不让图片跟数据一起上传(不再是先上传图片再上传数据)
install ompl.sh
halcon 光度立体
"One week's data collection" - logic gate
Champions League data set (Messi doesn't cry - leaving Barcelona may reach another peak)
"One week's work on Analog Electronics" - Basic amplification circuit
Real time data analysis tool
Execution process at runtime
深度学习(初识tensorflow2.版本)之三好学生成绩问题(1)
The most complete and simple nanny tutorial: deep learning environment configuration anaconda+pychart+cuda+cudnn+tensorflow+pytorch
Kubernetes cluster deployment (v1.23.5)
2021-11-29 轨迹规划五次多项式
mysql 数据库字段查询区分大小写设置
【pulsar学习】pulsar架构原理
"One week to solve the model electricity" - negative feedback
Record a time when the server was taken to mine
Detectron2 outputs validation loss during training
Jz2440 - - - utiliser le programme de gravure uboot
Edge computing is the sinking and extension of cloud computing capabilities to the edge and user sides
Catalogue gradué de revues scientifiques et technologiques de haute qualité dans le domaine de l'informatique