
SLAM+SFM
文章平均质量分 50
知识在于分享
即便是蜗牛,一步一步不停歇的爬也会有看见太阳的一天
展开
-
可视化 相机pose或者 pose视锥
可视化 相机pose 或者 pose视锥原创 2022-12-22 14:52:56 · 1614 阅读 · 1 评论 -
open3d cpp example CropPolygonFromJson
cmakelist.txtcmake_minimum_required(VERSION 3.19)set (CMAKE_CXX_STANDARD 14)project(TestVisualizer)# Find installed Open3D, this imports# Open3D_INCLUDE_DIRS# Open3D_LIBRARIES# Open3D_LIBRARY_DIRS# Open3D_C_FLAGS# Open3D_CXX_FLAGS#原创 2022-03-16 18:59:04 · 849 阅读 · 0 评论 -
雷达和RGB相机对齐的核心代码crop
代码来源:https://github.com/agarwa65/lidar_camera_calibration最核心的只是把校准函数calibrate的核心crop,去理解整个过程,其实和 结构光相机与RGB相机对齐,没有区别import numpyimport math#from tf.transformations import euler_from_matrix #原函数# axis sequences for Euler angles_NEXT_AXIS = [1, .原创 2022-03-01 11:20:10 · 934 阅读 · 1 评论 -
相机视角 frustum截头锥体
http://ivl.calit2.net/wiki/images/0/00/07_ProjectionAndFrustumCullingF19.pdfhttps://my.eng.utah.edu/~cs6360/Lectures/frustum.pdfModel View Projectionopengl 交互式控制8.3 - Perspective Projections — LearnWebGL原创 2021-11-29 19:38:39 · 805 阅读 · 0 评论 -
BA光束平差numpy
from __future__ import print_functionimport urllibimport urllib.requestimport bz2import osimport numpy as npnp.set_printoptions(suppress=True)import pclimport pcl.pcl_visualizationimport randomdef vis_pair(cloud1, cloud2, rdm=False): color.原创 2021-11-25 10:57:09 · 729 阅读 · 0 评论 -
tensorflow1.14 转换pytorch 部署inference 所遇到问题 superpoint
GitHub - rpautrat/SuperPoint: Efficient neural feature detector and descriptor1.checkpoint转换pbSuperPoint/export_model.py at master · rpautrat/SuperPoint · GitHub2.freeze_graph参考1:Python freeze_graph.freeze_graph方法代碼示例Python freeze_graph.freeze_原创 2021-10-15 14:47:26 · 935 阅读 · 0 评论 -
superpoint+superglue 参考文章
superGlue学习_u010949023的博客-优快云博客superPoint学习_u010949023的博客-优快云博客_superpoint一种基于注意力机制特征匹配网络SuperGlue:端到端深度学习SLAM的重要里程碑_3D视觉工坊-优快云博客原创 2021-10-06 13:02:32 · 1364 阅读 · 0 评论 -
pcl-opencv cpp example
cmake_minimum_required(VERSION 3.12)project(PCL_demo1) set(CMAKE_CXX_STANDARD 14) find_package(OpenCV REQUIRED)find_package(PCL REQUIRED) include_directories(${PCL_INCLUDE_DIRS})link_directories(${PCL_LIBRARY_DIRS})add_definitions(${PCL_DEFINI.原创 2021-09-13 14:36:17 · 241 阅读 · 0 评论 -
高斯回归特征点-CODE: Coherence Based Decision Boundaries for Feature Correspondence
WideBaselineFeatureMatcher[1] CODE: Coherence Based Decision Boundaries for Feature Correspondence, IEEE TPAMI,2016, Lin et. al.[2] RepMatch: Robust Feature Matching and Pose for Reconstructing Modern Cities, ECCV, 2016,, Lin et. al.高斯过程 Gaussian Pr原创 2021-09-13 10:49:47 · 236 阅读 · 0 评论 -
哥伦比亚大学--计算机视觉第一原理课程
图像分割概述图像分割概述Tomasi-Kanade 因子分解Tomasi-Kanade 因子分解观测矩阵的秩 _ Structure from Motion观测矩阵的秩 _ Structure from Motion观测矩阵 _ Structure from Motion观测矩阵 _ Structure from Motion运动恢复结构问题 Structure from Motion运动恢复结构问题 Structure from MotionStructure fr原创 2021-09-12 22:32:38 · 514 阅读 · 1 评论 -
opencv深度图可视化
import cv2import numpy as npimport matplotlib.pyplot as pltturbo_colormap_data = np.array( [[0, 0, 0], #[0.18995, 0.07176, 0.23217], [0.19483, 0.08339, 0.26149], [0.19956, 0.09498, 0.29024], [0.20415, 0.10652, 0.31844], [0.原创 2021-09-02 12:28:44 · 1647 阅读 · 0 评论 -
SuperPoint-第一步MagicPoint角点检测网络替换为特征点检测器去尝试涨点
tensorflow:https://github.com/rpautrat/SuperPointimport cv2import numpy as np#opencv-python==3.4.2.17#opencv-contrib-python==3.4.2.17class LocalImageDescriptor(object): def __init__(self,): octaves = 3 self.sift_pt = cv2.xfea原创 2021-08-27 14:45:10 · 1202 阅读 · 2 评论 -
判断一个点是否在多边形内部pointPolygonTest
import osimport cv2import jsonimport numpy as npimport copy#opencv/modules/imgproc/src/geometry.cppwith open(".json", "r") as f: load_dict = json.load(f)# 只标注一个mask测试m_value = load_dict["shapes"][0]points = np.array(m_value["points"])co...原创 2021-08-09 14:44:07 · 513 阅读 · 0 评论 -
在不同终端中使用不同cuda且不影响默认cuda版本
参考:https://blog.youkuaiyun.com/aihua53/article/details/112466439https://blog.youkuaiyun.com/qq_41917697/article/details/114437924Linux环境变量查看方法1:echo $PATH方法2:export -p | grep PATH我的~/.bashrc中是在当前终端输入:export CUDA_HOME=/usr/local/cuda-10.0export PATH=.原创 2021-07-29 20:59:25 · 301 阅读 · 0 评论 -
深度图+灰度图 可视化判断灰度图区域是否有深度
# yangninghuaimport cv2import open3dimport numpy as npimport osimport shutilimport sysimport jsonfrom PIL import Imageimport matplotlibimport matplotlib.pyplot as pltturbo_colormap_data = np.array( [[0, 0, 0], #[0.18995, 0.07176, ...原创 2021-07-27 19:18:06 · 708 阅读 · 0 评论 -
ubuntu20.04 - torch-points3d-v1.3 + MinkowskiEngine torchsparse安装
安装gcc7,默认gcc9太高了sudo vim /etc/apt/sources.listdeb http://dk.archive.ubuntu.com/ubuntu/ xenial maindeb http://dk.archive.ubuntu.com/ubuntu/ xenial universesource /etc/apt/sources.listsudo apt update sudo apt install gcc-5 g++-5 sudo apt instal原创 2021-07-22 14:58:04 · 1364 阅读 · 6 评论 -
2D-Homography-bbox仿射变换
import osimport sysimport cv2import cv2 as cvimport timeimport jsonimport copyimport mathimport pathlibimport numpy as npdef affine_skew(tilt, phi, img, mask=None): ''' affine_skew(tilt, phi, img, mask=None) -> skew_img, skew_mask, .原创 2021-07-16 14:53:11 · 405 阅读 · 0 评论 -
可视化pcd多视角
https://blog.youkuaiyun.com/taifyang/article/details/105248483https://github.com/charlesq34/pointnet#!/usr/bin/env python# coding: utf-8import open3d as o3dimport numpy as npimport osimport matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d import Ax.原创 2021-07-06 16:17:14 · 361 阅读 · 0 评论 -
open3d-0.13.0 ICP模仿PCL迭代可视化
# examples/Python/Advanced/non_blocking_visualization.pyimport open3d as o3dimport numpy as npimport copydef save_view_point(pcd, filename): vis = o3d.visualization.Visualizer() vis.create_window() vis.add_geometry(pcd) vis.run(...原创 2021-07-04 17:42:25 · 995 阅读 · 0 评论 -
open3d=0.9.0 ubuntu16.04 截图显示全黑(ubuntu20.04+open3d0.13.0)
参考:https://github.com/intel-isl/Open3D/issues/1367原创 2021-06-08 17:02:12 · 1321 阅读 · 2 评论 -
关于conda的新认知-安装ceres-solver扩展库所需要的依赖
pip install cmake pybind11 ninjaconda install -c conda-forge cmake pybind11 ninja ceres-solver原创 2021-06-08 11:31:26 · 1300 阅读 · 1 评论 -
相机标定
12*925*25的棋盘格# python3.8# -*- coding: utf-8 -*-# ---# @Software: PyCharm# @File: camera_calibration.py# @Author: ---# @Institution: BeiJing, China# @E-mail: lgdyangninghua@163.com# @Site: # @Time: 5月 14, 2021# ---# Import required modul..原创 2021-05-14 16:22:33 · 225 阅读 · 1 评论 -
openscad螺栓数据生成
hex_head2.scad$fn=100;module hex_head(diameter,height) { intersection() { union() { translate([0,0,0.801*height]) cylinder(d1=diameter,d2=0.8*diameter,h=0.2*height); cylinder(d=diameter,h=0.801*height); } cylin.原创 2021-05-12 16:44:44 · 884 阅读 · 1 评论 -
First Principles of Computer Vision
(Camera Calibration | Camera Calibration)原创 2021-05-06 16:42:54 · 332 阅读 · 0 评论 -
关于torch-points3d可视化的问题--安装环境
输出的ply无法在cloudcompare上打开我切换成pcd进行打开# python3.8# -*- coding: utf-8 -*-# ---# @Software: PyCharm# @File: vis_ply.py# @Author: ---# @Institution: BeiJing, China# @E-mail: lgdyangninghua@163.com# @Site: # @Time: 4月 26, 2021# ---import osimpor原创 2021-04-26 17:17:04 · 842 阅读 · 0 评论 -
open3d-pcl滤波方案
open3d - voxel_down_sample#open3d - voxel_down_sampledef VoxelDownSample(PointCloud, voxel_size): #参考:https://www.cnblogs.com/huashanqingzhu/p/6603875.html INT_MAX = 2147483647 INT_MIN = -2147483648 output = [] if voxel_size <=.原创 2021-04-23 15:23:19 · 980 阅读 · 0 评论 -
多视觉集合的一些数学知识1-QR分解
如何入门线性代数?这里有一份Python线性代数讲义https://github.com/MacroAnalyst/Linear_Algebra_With_PythonQR分解:https://github.com/MacroAnalyst/Linear_Algebra_With_Python/blob/master/Chapter%2016%20-%20Gram-Schmidt%20Process%20and%20QR%20Decomposition.ipynbSVD分解:https.原创 2021-04-16 11:25:35 · 270 阅读 · 0 评论 -
最小二乘拟合(还没开始看)
https://scipy-cookbook.readthedocs.io/items/OLS.html原创 2021-04-15 17:14:21 · 297 阅读 · 0 评论 -
numpy创建kdtree
代码去适配python3,但是,多进程那边bug没解决,由于我不太需要那个,就没管了代码来自于:https://github.com/scipy/scipy-cookbook/# python3.8# -*- coding: utf-8 -*-# ---# @Software: PyCharm# @File: main_kd-tree.py# @Author: yangninghua# @Institution: ~ ,BeiJing, China# @E-mail: lgdya原创 2021-04-15 17:03:20 · 693 阅读 · 0 评论 -
RANSAC拟合y=kx示例+拟合三维平面+拟合Homography矩阵
import numpyimport scipy # use numpy if scipy unavailableimport scipy.linalg # use numpy if scipy unavailable## Copyright (c) 2004-2007, Andrew D. Straw. All rights reserved.## Redistribution and use in source and binary forms, with or without##...原创 2021-04-14 21:22:59 · 1617 阅读 · 1 评论 -
python BA优化示例
python BA优化示例from __future__ import print_functionimport urllibimport urllib.requestimport bz2import osimport numpy as npnp.set_printoptions(suppress=True)import pclimport pcl.pcl_visualizationimport randomdef vis_pair(cloud1, cloud2, rdm=F.原创 2021-04-09 16:58:16 · 1678 阅读 · 0 评论 -
PCL从入门到精通阅读笔记(全局SFM 增量SFM)
https://openmvg.readthedocs.io/en/latest/software/SfM/GlobalSfM/[GlobalACSfM]is based on the paper “Global Fusion of Relative Motions for Robust, Accurate and Scalable Structure from Motion.” published at ICCV 2013.http://theia-sfm.org/sfm.html...原创 2021-04-07 12:02:52 · 1126 阅读 · 0 评论 -
openSFM配置学习
https://www.opensfm.org/docs/building.html在Ubuntu系统安装配置OpenSfM软件用来实现三维重建 ***https://www.jianshu.com/p/466a6679c792openSFM配置心得https://blog.youkuaiyun.com/baiyang10010/article/details/89031439OpenSFM配置细节(dockerfile使用)https://blog.youkuaiyun.com/baiyang10010/原创 2021-04-07 01:12:59 · 1102 阅读 · 0 评论 -
三维重建的一些可视化资料orPDF
可视化资料https://matejsladek.com/data/bachelor_thesis.pdfThree.jshttps://publik.tuwien.ac.at/files/publik_253569.pdf openSFMhttps://yangliu.life/build/misc/thesis.pdfThree.jshttps://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL_model_vi...原创 2021-04-06 08:31:32 · 672 阅读 · 0 评论 -
python复现Chapter4_StructureFromMotion
还没写完,工作事太多了。。。#create by yangninghua#2021.4.4import osimport cv2import sysimport copyimport mathimport argparseimport numpy as npfrom matplotlib import pyplot as pltdef mkdir_os(path): if not os.path.exists(path): os.makedirs(p.原创 2021-04-04 21:16:36 · 309 阅读 · 1 评论 -
关于Mastering-OpenCV3第二版的代码跑通--关于PCL的一些问题
https://github.com/PacktPublishing/Mastering-OpenCV3-Second-Edition具体环境配置参考我上一篇博文:https://blog.youkuaiyun.com/baidu_40840693/article/details/115284208上一篇我们已经安装好了opencv4 vtk9.0我们在 vcpkg-e054fe2b20469c894b88be4ac466776f9f653954 分支上继续编译pcl遇到了一个问题:...原创 2021-04-01 11:40:39 · 329 阅读 · 0 评论 -
opencv-viz模块简单示例
1#include <opencv2/viz.hpp>#include <iostream>using namespace cv;using namespace std;void help(){ cout << "--------------------------------------------------------------------------" << endl << "This progra转载 2021-03-31 12:23:40 · 2088 阅读 · 1 评论 -
SFM-opencv(非sfm模块)-Ceres-viz(可选)
参考:https://blog.youkuaiyun.com/AIchipmunk/article/details/48132109https://blog.youkuaiyun.com/AIchipmunk/article/details/48157369https://blog.youkuaiyun.com/AIchipmunk/article/details/51232861https://blog.youkuaiyun.com/aichipmunk/article/details/52433884https://github.原创 2021-03-31 03:19:10 · 568 阅读 · 2 评论 -
vcpkg+opencv4(sfm+vtk)+openMVS+SFM算法-github代下载(http://gitd.cc/)
Explore Structure from Motion with the SfM Module需要的东西vcpkg 版本vcpkg-2020.111. 首先vs2015安装,然后语言变成English2. powershell v7.0.3以上3. 由于我没有选择VS2015默认安装路径,error:https://github.com/microsoft/vcpkg/issues/12488修改:D:\install\vcpkg\vcpkg-2020.11\toolsrc\s.原创 2021-03-28 17:57:19 · 3523 阅读 · 4 评论 -
opencv3以上的SFM模块随便记
opencv3.4.12及contrib在ubuntu1604编译https://zhuanlan.zhihu.com/p/265854664Windows下OpenCV3.4.0 SFM模块安装配置https://www.meiwen.com.cn/subject/ouqrjftx.htmltutorial_sfm_scene_reconstructionhttps://docs.opencv.org/master/d4/d18/tutorial_sfm_scene_reconstru原创 2021-03-02 21:14:04 · 374 阅读 · 0 评论