![]() |
OpenCV 4.12.0
开源计算机视觉
|
函数 | |
| void | computeNormals (const Mesh &mesh, OutputArray normals) |
| Viz3d | getWindowByName (const String &window_name) |
| 通过名称检索窗口。 | |
| Viz3d | imshow (const String &window_name, InputArray image, const Size &window_size=Size(-1, -1)) |
| 在指定窗口中显示图像。 | |
| template<typename _Tp > | |
| bool | isNan (const Point3_< _Tp > &p) |
| 检查 float/double 值是否为 NaN。 | |
| template<typename _Tp , int cn> | |
| bool | isNan (const Vec< _Tp, cn > &v) |
| 检查 float/double 值是否为 NaN。 | |
| bool | isNan (double x) |
| 检查 float/double 值是否为 NaN。 | |
| bool | isNan (float x) |
| 检查 float/double 值是否为 NaN。 | |
| Affine3d | makeCameraPose (const Vec3d &position, const Vec3d &focal_point, const Vec3d &y_dir) |
| 从 position、focal_point 和 up_vector 构建相机姿态(更多信息请参见 gluLookAt())。 | |
| Affine3d | makeTransformToGlobal (const Vec3d &axis_x, const Vec3d &axis_y, const Vec3d &axis_z, const Vec3d &origin=Vec3d::all(0)) |
| 获取坐标系框架数据并构建到全局坐标系的变换。 | |
| Mat | readCloud (const String &file, OutputArray colors=noArray(), OutputArray normals=noArray()) |
| Mesh | readMesh (const String &file) |
| 读取网格。现在只支持 ply 格式,不支持纹理加载。 | |
| bool | readPose (const String &file, Affine3d &pose, const String &tag="pose") |
| 读/写姿态和轨迹。 | |
| void | readTrajectory (OutputArray traj, const String &files_format="pose%05d.xml", int start=0, int end=INT_MAX, const String &tag="pose") |
| void | unregisterAllWindows (取消注册所有窗口) () |
| 从内部数据库注销所有 Viz 窗口。之后 'getWindowByName()' 将创建新窗口,而不是从数据库中获取现有窗口。 | |
| void | writeCloud (const String &file, InputArray cloud, InputArray colors=noArray(), InputArray normals=noArray(), bool binary=false) |
| 读取/写入点云。支持的格式:ply、xyz、obj 和 stl(只读) | |
| void | writePose (const String &file, const Affine3d &pose, const String &tag="pose") |
| void | writeTrajectory (InputArray traj, const String &files_format="pose%05d.xml", int start=0, const String &tag="pose") |