自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(957)
  • 资源 (31)
  • 收藏
  • 关注

原创 Visualizing and Understanding Convolutional Networks

代码请见:https://github.com/amir-saniyan/ZFNet # Input: 224x224x3. with tf.name_scope('input'): self.X = tf.placeholder(dtype=tf.float32, shape=[N...

2019-05-29 01:30:32 227

原创 如何写CmakeList.txt文件使在qtcreator里面显示源文件

cmake_minimum_required(VERSION 3.5)FILE(GLOB incs include/pcl/gpu/kinfu/*.h*)FILE(GLOB srcs src/*.cpp src/*.h*)FILE(GLOB cuda src/cuda/*.cu src/cuda/*.h*)add_custom_target(whatever SOURCES ${incs}...

2018-05-22 19:28:15 2251

原创 将父目录设置为根目录

在用这个这个项目的时候https://github.com/KaiyangZhou/deep-person-reid, 出现了问题。而torchreid在父目录deep-person-reid中, 所以应该将父目录加入sys.path中。原因是根目录在当前目录。

2024-03-08 03:10:42 398

原创 cmake filter a folder

【代码】cmake filter a folder。

2023-12-01 06:30:43 80

原创 interview review

是focal length in world unites (millimeters),像素宽度, 通过胶片宽度除以像素X方向的个数得到.代替, 因为y轴变斜了, 相应也变长了。先算在y方向有多少像素, 再乘以。第二行注意如果有skew, 那么。有两种理解方式, 第一种是通过。, 然后将这个偏移通过乘以。转成x方向的像素偏移。

2023-11-18 06:37:59 281

原创 fundamental notes in 3D math

距离可为正, 为负, 为正表示跟法向量方向一致, 为负表示相反。, 距离为正表示点在平面法线方向指向的一侧, 反之亦然。, 点到平面的距离为。

2023-11-14 04:25:16 776

原创 two ways to customize unordered_set

【代码】two ways to customize unordered_set。

2023-11-10 21:58:02 132

原创 [cpptools] The build configurations generated do not contain the active build configuration. vscode

造成这个的原因主要是: CMAKE_BUILD_TYPE的定义与vscode里面active build preset不一致造成的。在CMakePresets.json文件中增加对CMAKE_BUILD_TYPE的定义即可。

2023-11-08 09:42:24 258

原创 SAD notes

更新误差先验F通过3.42来算得到F其中, F中的名义状态的推进通过公式3.41得到,(名义状态不考虑误差, 这一点从3.41d, 3.41e可以看出, 误差状态只考虑误差, 真实状态为名义+误差)代码的实现333333333333Q的算法注意, 在离散情况下​ηv​ηa​Δtηθ​ηg​Δtηg​ηbg​Δtηa​ηba​Δt​可以根据3.40将3.42进行一阶泰勒展开代码中的实现。

2023-10-26 03:26:47 354

原创 SLAM 14 notes

4.23 推导fx在点a处的泰勒展开fx∑n0∞​n!fna​x−anlnx的n阶导数lnnxxn−1n−1n−1​lnR在I处展开lnR​n0∑∞​n!lnnIR−In​n1∑∞​n!lnnIR−In​n1∑∞​n−1n−1R−In​n0∑∞​n1−1nR−In1​​。

2023-10-19 18:16:25 94

原创 build g2o viewer on macos

【代码】build g2o viewer on macos。

2023-10-17 07:18:35 554

原创 use vscode mingw cmake on windows

对于opencv, 要么自己用Mingw编译, 要么下载现存的, 我这里下的现成的https://github.com/huihut/OpenCV-MinGW-Build。安好mingw, cmake。

2023-09-10 21:29:27 397

原创 set c++ 17 in vscode

【代码】set c++ 17 in vscode。

2023-09-09 23:58:42 70

原创 公式trick备忘录

相关, similarity learning, svm。

2023-09-08 21:14:01 160

原创 双系统备忘

装了双系统, 找不到ubuntu,只有windows。从windows启动cmd。

2023-09-05 17:35:34 83

原创 kalman filter

k时刻的位置和速度xk​pk​vk​​运动方程xk​Fk−1​xk−1​Gk−1​uk−1​wk−1​10​Δt1​xk−1​21​Δt2Δt​ak−1​wk−1​Fk​叫状态转移矩阵,Gk​叫控制输入矩阵, 噪声wk​∼N0Qk​测量方程zk​Hk​xk​vk​Hk​为状态观测矩阵。注意这里的vk​。

2023-09-04 01:23:00 67

原创 vscode debug with cmake on macos

这句会通过cmake 来启动要调试的程序, 因为程序是通过CMAKE来build。

2023-09-03 00:22:20 752

原创 本质矩阵E推R和T

https://zhuanlan.zhihu.com/p/500798616https://zhuanlan.zhihu.com/p/435306687

2023-08-28 05:11:52 190

原创 remove elements in c++

https://www.youtube.com/watch?v=q5OfB6ZXT6E&list=PL5jc9xFGsL8E_BJAbOw_DH6nWDxKtzBPA&index=4

2023-08-28 01:44:16 65

原创 c++ style casting

https://www.youtube.com/watch?v=UfrR1nNfoeY&list=PLE28375D4AC946CC3&index=17

2023-08-28 00:36:45 93

原创 virtual table pointer changing between constructor and destructor

In vtable-based implementations, this behavior is implemented by changing the vtable pointer between constructors/destructors at various points during initialization. The base class constructor sets the vtable to point at the base class vtable. When the de

2023-08-27 22:33:09 40

原创 destructor in c++

the derived destruction will call the base destructor automatically, you don’t call the base destructor explicitly.The virtual destructor means you can call the derived destructor from a base pointer, still the derived destructor will call the base destruc

2023-08-27 21:45:56 32

原创 关于类的隐形生成函数

用到才会define, 不然只是声明。

2023-08-27 20:45:35 93

原创 SFM structure from motion

struction就是空间三维点的位置。motion 就是相机每帧的位移。

2023-08-26 21:49:52 161

原创 guassian filter and bilateral filter

bilateral kernel, 就是考虑了函数值的空间高斯kernel. 在空间高斯kernel的基础上乘以函数值高斯, 这个函数值可以为任意, 在segmentation postprocessing中这个函数值是像素颜色值, 颜色越接近值越大。空间高斯kernel就是一个简单的峰形kernel, 离得近值越大。在用CRF 后处理segmentation的时候有一项。

2023-08-26 19:08:10 99

原创 camshift, pca,协方差

总结一下camshift 跟PCA 一样, 都是建立在协方差矩阵上的, 协方差矩阵中的值代表某维与某维之间的关系, 如何大于0就是正相关, 小于0就是负相关, 有了协方差矩阵就可以求他的特征值和特征向量, 特征值代表在对应特征向量上投影的偏离程度, 最大特征值对应的特征向量就是投影散得最开的方向, 跟PCA 一个原理, 有了最大特征向量, 就可以求得旋转方向。把特征值代进去, 由于特征矩阵的行列式为0, 所以用第一行可以把第二行消为0, 代入特征值用第一行的方程就可以了。

2023-08-26 02:46:54 136

原创 access the underlying vector of priority_queue in C++

【代码】access the underlying vector of priority_queue in C++

2023-08-18 05:48:46 40

原创 setup c++ 20 in vscode

【代码】setup c++ 20 in vscode。

2023-08-18 02:04:28 611

原创 基变换与坐标变换

基的变换是从左到右, 后面的变换乘在右边, 每乘一个坐标系就变了。坐标的变换是从右到左, 后面的变换乘在左边, 坐标系没变。, 坐标系1下的坐标为。, 坐标系2下的坐标为。是在坐标系1下的进行的。基变换为右乘, 因为。

2023-08-16 19:58:54 141

原创 git add submodule

first to the submodule you want to add, git init, add remote and pushgo back to the parent folder, git submodule add ./your_submodule

2022-05-31 16:49:45 1090 1

原创 define macro in xcode project

TARGETS->Swift compiler - custom flags -> active compilation conditionsrefer to: https://thandang.medium.com/how-to-work-with-macro-preprocessor-in-xcode-project-1ca84d576411

2022-02-24 07:57:51 349

原创 manually download dataset and import in tensorflow

somtimes, you may have problem with tensorflow build-in downloading function like usingtfds.load(name="the300w_lp", split="train", with_info=True)This could be different reason. One way to workaround is to download the dataset manually as mentioned in

2021-10-23 05:34:16 388

转载 stop auto remove cuda

It depends on how you installed CUDA. If you ran sudo apt-get install , and that package was removed, then CUDA, an automatically installed package, becomes automatically removable. The simple fix is to mark the CUDA packages as manually installed:sudo .

2021-10-22 19:02:09 149

原创 keymap in ubuntu

inux中自启动目录是$XDG_CONFIG_DIRS/autostart和$XDG_CONFIG_HOME/autostart这两个,可以打印看一下,有的可能只有其中一个。create a file named 'swap.desktop` in the folder[Desktop Entry]Name=SwapExec=xmodmap -e "keycode 118 = Delete" && xmodmap -e "keycode 119 = Insert"Ter..

2021-10-18 17:10:13 228

原创 crop video in ffmpeg

ffmpeg -i 84.avi -filter:v "crop=1000:400:0:300" 84_crop.avi

2021-09-13 19:26:43 240

原创 stack videos in ffmpeg

ffmpeg -i 84.avi -i 100.avi -filter_complex "hstack,format=yuv420p" -c:v libx264 -crf 18 -preset veryfast h.mp4ffmpeg -i 84.avi -i 100.avi -filter_complex "vstack,format=yuv420p" -c:v libx264 -crf 18 -preset veryfast v.mp4

2021-09-13 18:42:51 131

原创 人像处理流程

temperature, tint, exposure, contrast, highlight, shadow, sharpening, noise reduction, hsl(调主色饱和)calibration, position, liquify( edge, body, eye)spot fixing( patching, healing brush, painting)色调, gradient map(用主体色调, 别用在皮肤, 主要背景)selective colo..

2021-09-06 05:28:58 172

原创 git ignore 某行

在项目开发中, 有些配置文件中的配置是因为机器会不一样的, 比较配置文件中的IP地址或数据库地址, 这时我们希望每个项目保持这些配置而不相互覆盖.这里我们希望在*.ini文件中所有以//#gitignore结尾的行保持不变首先我们在项目中建立一个.gitattributes文件, 里面写上*.ini filter=lineignore这句的意思在所有*.ini加上一个过滤器, 过滤器的名字叫lineignore然后我们建立一个.gitconfig文件, 里面写上git config --globa

2021-08-10 07:43:45 406

原创 loop one image for 10 secs

ffmpeg -loop 1 -i 4.png -c:v libx264 -t 10 2.mp4

2021-06-23 13:38:48 110

原创 ffmpeg create a video from 4th image and and slow down the play speed

ffmpeg -y -start_number 4 -i %d.png -filter:v “setpts=10*PTS” 1.avi

2021-06-23 13:30:09 112

average diffusion distance

average diffusion distance implemented in matlab

2016-08-13

Farthest Sampling on 3D meshes with mesh kept based on diffusion distance

Farthest Sampling on 3D meshes with mesh kept based on diffusion distance implemented in matlab

2016-08-13

Fast Marching on 3D Meshes with diffusion distance

Fast Marching on 3D Meshes with diffusion distance implemented in matlab

2016-08-13

PCA implementation

PCA implementation in matlab

2016-08-06

Farthest Sampling on 3D meshes with mesh kept

Farthest Sampling on 3D meshes with mesh kept

2016-08-03

Fast Marching on 3D Meshes

implement fast marching on 3d meshes in matlab

2016-07-31

farthest point sampling

implement farthest point sampling in matlab

2016-07-25

2D Fast Marching Computations

implement 2d fast marching computations in matalb

2016-07-25

princal component analysis implemented in matlab

princal component analysis implemented in matlab

2016-07-09

as-conformal-as-possible surface registration

implement paper "as-conformal-as-possible surface registraion" in matlab

2016-07-07

position based dynamics

position based dynamics implemented in matlab

2016-07-05

mixed finite elements

implement mixed finite elements in matlab

2016-06-23

laplacian interpolation

implement laplacian interpolation in matlab

2016-06-23

libmysqlclient.so.16

solve QSqlDatabase: QMYSQL driver not loaded problem

2016-05-17

GLM显示带纹理的OBJ

GLM显示带纹理的OBJ

2016-02-04

2d perlin noise ocean

采用二维柏林噪声模拟的海洋 .zip

2016-01-09

softmax regression

softmax regression 源代码 源码用的armadillo数学库,如何安装armadillo数学库,请看我的博客 http://blog.csdn.net/seamanj/article/details/49892715

2015-11-20

shadow Mapping 阴影投影

shadow Mapping 阴影投影 主要介绍阴影投影实现的原理 和 实现方法

2014-05-12

3D_Shader_DisplacementMapping_Sphere.rar

移位贴图(Displacement Mapping)的实现

2013-09-05

3D_Shader_ProjectivetTexturing.rar

投影贴图(projective texturing)的实现

2013-09-01

3D_Shader_CubeEnvMapping.rar

立方体环境映射(cubic environment mapping)的实现,其中包括了反射,折射,菲涅尔效应,色散等知识.

2013-08-29

3D_Shader_NormalMapping.rar

3D 法线贴图(normal mapping)的实现

2013-08-15

3D_Shader_SphereEnvMapping_by_seamanj

3D球形环境映射(3D Sphere environment mapping)的实现

2013-08-15

3D_Shader_SphereEnvMapping.rar

球形环境映射(sphere environment mappint)原理的实现

2013-07-23

USB监控器.rar

USB监控器_去网页打开 使用到的工具,OD和W32DASM

2013-06-14

texture&blending

DX 混合 纹理操作 包括多重纹理的操作,以及BACKBUFFER的读取

2013-05-03

3D_Math_Quaternion

四元组的应用 包含: 1.从"按定轴旋转某角度"建立四元组 2.四元组的球形插值插值 3.四元组与3x3旋转矩阵的相互转换

2013-03-08

3D_Shader_Expansion&Shrinkage;_by_Seamanj

3D_Shader_Expansion&Shrinkage;_by_Seamanj

2013-03-08

3D_Math_Solve_Matrix_Inverse_by_Seamanj.rar

矩阵各种求逆的方法 包括: 1.用矩阵行列式求逆 2.用高斯-约当消元法求逆 3.用LU分解求逆

2013-03-06

3D_Math_Solve_Matrix_Inverse.rar

矩阵各种求逆的方法 包括: 1.用矩阵行列式求逆 2.用高斯-约当消元法求逆 3.用LU分解求逆

2013-03-06

3D_Math_Quaternion_by_Seamanj.rar

四元组应用的实现 包括了 1.从"按指定轴旋转多少度"建立四元组 2.四元组的球形插值 3.四元组与3x3旋转矩阵的相互转换

2013-03-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除