当前位置:网站首页>ros 相机标定 sensor_msgs/CameraInfo Message 数据类型及含义
ros 相机标定 sensor_msgs/CameraInfo Message 数据类型及含义
2022-07-27 03:39:00 【Newjet666】
1.最近有用到ros相机标定,网上找了很多没有找到标定输出参数的说明,最终还是在官网看到了,做个记录,希望对大家有用。
链接:sensor_msgs/CameraInfo Documentation (ros.org)
2.相关内容及解释:
#######################################################################
# Calibration Parameters #
#######################################################################
# These are fixed during camera calibration. Their values will be the #
# same in all messages until the camera is recalibrated. Note that #
# self-calibrating systems may "recalibrate" frequently. #
# #
# The internal parameters can be used to warp a raw (distorted) image #
# to: #
# 1. An undistorted image (requires D and K) #
# 2. A rectified image (requires D, K, R) #
# The projection matrix P projects 3D points into the rectified image.#
#######################################################################
# The image dimensions with which the camera was calibrated. Normally
# this will be the full camera resolution in pixels.
# 高 ,单位:像素
uint32 height
# 宽 ,单位:像素
uint32 width
# The distortion parameters, size depending on the distortion model.
# For "plumb_bob", the 5 parameters are: (k1, k2, t1, t2, k3).
# 畸变参数
float64[] D
# Intrinsic camera matrix for the raw (distorted) images.
# 未做去畸变处理图像的内参
# [fx 0 cx]
# K = [ 0 fy cy]
# [ 0 0 1]
# Projects 3D points in the camera coordinate frame to 2D pixel
# coordinates using the focal lengths (fx, fy) and principal point
# (cx, cy).
float64[9] K # 3x3 row-major matrix
# Rectification matrix (stereo cameras only)
# 仅用于立体相机,通常是多目相机
# 用于极线对齐
# A rotation matrix aligning the camera coordinate system to the ideal
# stereo image plane so that epipolar lines in both stereo images are
# parallel.
float64[9] R # 3x3 row-major matrix
# Projection/camera matrix
# 投影矩阵:去畸变,修正后世界坐标系下的三维坐标点投影到像素坐标系下的二维点
# [fx' 0 cx' Tx]
# P = [ 0 fy' cy' Ty]
# [ 0 0 1 0]
# By convention, this matrix specifies the intrinsic (camera) matrix
# of the processed (rectified) image. That is, the left 3x3 portion
# is the normal camera intrinsic matrix for the rectified image.
# It projects 3D points in the camera coordinate frame to 2D pixel
# coordinates using the focal lengths (fx', fy') and principal point
# (cx', cy') - these may differ from the values in K.
# 单目相机,tx=ty=0
# For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will
# also have R = the identity and P[1:3,1:3] = K.
# 双目相机
# For a stereo pair, the fourth column [Tx Ty 0]' is related to the
# position of the optical center of the second camera in the first
# camera's frame. We assume Tz = 0 so both cameras are in the same
# stereo image plane. The first camera always has Tx = Ty = 0. For
# the right (second) camera of a horizontal stereo pair, Ty = 0 and
# Tx = -fx' * B, where B is the baseline between the cameras.
# Given a 3D point [X Y Z]', the projection (x, y) of the point onto
# the rectified image is given by:
# [u v w]' = P * [X Y Z 1]'
# x = u / w
# y = v / w
# This holds for both images of a stereo pair.
float64[12] P # 3x4 row-major matrix3.最后,每天进步一点点!
边栏推荐
- 356 pages, 140000 words, weak current intelligent system of high-end commercial office complex, 2022 Edition
- JMeter download and installation
- E-commerce system combined with commodity spike activities, VR panorama continues to bring benefits
- scala 不可变Map 、 可变Map 、Map转换为其他数据类型
- Sum of binary numbers from root to leaf
- Elastic open source community: Developer Recruitment
- 人很话不多,工程师不耍嘴皮子
- C get UUID
- Maximum nesting depth of parentheses
- Rust:axum learning notes (1) Hello World
猜你喜欢

一张图看懂KingbaseES V9

shel自动设置目录权限

Is VR panorama just needed now? After reading it, you will understand

The difference between ArrayList and LinkedList

Navicat将MySQL导出表结构以及字段说明

Subject 3: Jinan Zhangqiu line 6
![[MySQL series] MySQL index transactions](/img/85/04eb67471ba1348af2a26bc4621c65.png)
[MySQL series] MySQL index transactions

playwright网络爬虫实战案例分享

Detailed explanation of TCP protocol knowledge

Okaleido生态核心权益OKA,尽在聚变Mining模式
随机推荐
CloudCompare&PCL 匹配点中值(或标准差)距离抑制
Remember the major performance problems caused by a TCP packet loss
playwright网络爬虫实战案例分享
PX4模块设计之十二:High Resolution Timer设计
Redis面试题(2022)
括号的最大嵌套深度
Nacos启动与登录
每日一题:从链表中删去总和值为零的连续节点
大咖说·图书分享|精益产品开发:原则、方法与实施
MySQL: understand the basic knowledge of MySQL and computer
Slope of binary tree
spicy之evt接口定义文件
HEAD detached from origin/...导致push失败
【比赛参考】PyTorch常用代码段以及操作合集
Brightcove appoints Dan Freund as chief revenue Officer
Which securities company has the lowest handling charge? Is it safe to open an account on your mobile phone
电商分账系统重要吗,平台应该如何选择分账服务商呢?
每日一题:奇偶树
Ribbon负载均衡策略与配置、Ribbon的懒加载和饥饿加载
2022 operation of simulated examination question bank and simulated examination platform for safety production management personnel of hazardous chemical production units