当前位置:网站首页>Conversion of Halcon 3D depth map to 3D image
Conversion of Halcon 3D depth map to 3D image
2022-06-12 05:35:00 【Σίσυφος one thousand and nine hundred】
One 、 brief introduction
Principle of turning depth map into point cloud - horsetail - Blog Garden
Depth images and 3D Point cloud rotation only involves camera intrinsic parameter matrix , among
- fx,fy They are lenses x,y The focal length of the direction ( The distance from the imaging plane to the lens )
- cx,cy They are optical centers ( The projection of the lens center point on the imaging plane ) In the image coordinate system ( The origin is in the upper left corner of the image , Level is x, Vertical is y) The coordinates under .

Two 、 Operator introduction
1、 Threshold segmentation
auto_threshold (AerialImage, Regions, 5)
* auto_threshold(Image : Regions : Sigma : )
* According to the histogram to determine the threshold, automatic global threshold segmentation , Operation principle , First of all , Calculate the gray histogram . second , Extract the minimum value from the histogram after Gaussian smoothing . Third , Threshold segmentation is performed according to the extracted minimum value .sigma The larger the extraction area, the less .2、 Image conversion
* Convert the segmented region into a label image .
region_to_label (Regions, LabelImage, 'byte', Width, Height)
* region_to_label According to their index (1..n) Convert the input area into a label image , namely , The first area is drawn as a grayscale value 1, The second area is drawn as a gray value 2 etc. . Use only positive grayscale values .
The third parameter : * about 'byte' Images , Index to get 256 Analog input of . The default is int2
*Width (input_control) The width of the image to be generated
*Height (input_control) The height of the image to be generated 3、 Using polynomials will create a sloped gray surface
gen_image_surface_first_order (X, 'real', 0, xishu, 0, 0, 0, Width, Height)
gen_image_surface_first_order (Y, 'real', -xishu, 0, 0, 0, 0, Width, Height)
* Use first-order polynomials to create slanted gray surfaces . ( Output image , type , Vertical parameters , Horizontal parameters ,0 Order parameter , The row coordinates of the reference point , Column coordinates , The width and height of the image ).
* ImageSurface(r,c) = Alpha(r - Row) +Beta(c - Column) +Gamma
*gen_image_surface_first_order( : ImageSurface : Type, Alpha, Beta, Gamma, Row, Column, Width, Height : )
*ImageSurface (output_object) Newly created image matrix .
*Type (input_control) Pixel type 'byte'
*Alpha (input_control) First order coefficient in the vertical direction
*Beta (input_control) First order coefficient in horizontal direction
*Gamma (input_control) Zero order coefficient
*Row (input_control) Row coordinates of the surface reference point
*Column (input_control) Column coordinates of the surface reference point
*Width (input_control) The width of the image
*Height (input_control) Height of the image 边栏推荐
- Set common methods
- Go interface oriented programming practice
- CODIS stress test (PHP)
- [grpc development] go language builds simple server and client
- XML参数架构,同一MTK SW版本兼容两套不同的音频参数
- 分公司负责人需要承担的法律责任
- Introduction to redis cluster
- 60. points of N dice
- Webrtc AEC process analysis
- How Wireshark decrypts WiFi data packets
猜你喜欢

基于tensorflow的校园绿植识别

How long is the company's registered capital subscribed

It costs less than 30 yuan, but we still don't build it quickly - check the small knowledge of software application

Performance test - Analysis of performance test results

What is the project advance payment

Matlab: halftone and dither conversion

Halcon 3D 深度图转换为3D图像

CODIS long link test

Servlet core technology
![[grpc development] go language builds simple server and client](/img/24/06c3c1219ecad7e117f4df152e9ce7.jpg)
[grpc development] go language builds simple server and client
随机推荐
国企为什么要上市
Go interface implementation principle [advanced level]
Multi thread learning v. volatile visibility and cache inconsistency, instruction reordering
Go interface oriented programming practice
Computer network connected but unable to access the Internet
关于架构(排名不分先后)
Kubernetes certificate online update
什么是工程预付款
43. Number of occurrences of 1 in 1 ~ n integers
基于tensorflow的校园绿植识别
Matlab: image rotation and interpolation and comparison of MSE before and after
59 - I. maximum value of sliding window
Abstract methods and interfaces
How Wireshark decrypts WiFi data packets
[getting to the bottom] five minutes to understand the combination evaluation model - fuzzy borde (taking the C question of the 2021 college students' numerical simulation national competition as an e
Introduction to audio alsa architecture
tkinter使用WebView2网页组件(续篇)
Test work summary - performance test related issues
37. serialized binary tree
merge sort