搜索资源列表
huffman
- matlab实现huffman编码 1. norm2huff.m (encoder function) 2. huff2norm.m (decoder function) 3. frequency.m (private function) 4. huffcodes2bin.m (binary rapresentation of huffman codes) 5. huffman_bench1.m (benchmark) 6. huffman_demo1.m (dem
PointIsR
- 判断点是否在区域内. Private Sub Command1_Click() 当点与任一顶点重合时,返回“不在多边形区域” Line (0, 0)-(500, 500), RGB(255, 255), BF Dim hRegion As Long Dim P() As PointAPI ReDim P(9) As PointAPI P(0).X = 10: P(0).Y = 190: PSet (P(0).X, P(0).Y), vbRed P(1
摄像机标定 简易代码
- 环境:VC6.0 && OpenCV1.0 程序说明: 1)image文件里保存着标定图片 2)calibdata.txt 保持标定图片的路径(根据实际设置) 3)在标定源文件中 calibration.cpp 根据不同的标定标规格需要设置的参数: CvSize board_size = cvSize(5,7); /* 定标板上每行、列的角点数 */(不包括边缘的角点) 这里值得注意的是拍摄的时候要完整的拍下标定板。
CalculationGeometry
- ㈠ 点的基本运算 1. 平面上两点之间距离 1 2. 判断两点是否重合 1 3. 矢量叉乘 1 4. 矢量点乘 2 5. 判断点是否在线段上 2 6. 求一点饶某点旋转后的坐标 2 7. 求矢量夹角 2 -I-point basic computing 1. Planar distance between two points on 1 2. To determine whether the coincidence of two 1 3. Vector
wavecompression
- The following implementation steps have been made for the devised algorithm, which is based on 2D-wavelet. 1. Reading an image of either gray scale or RGB image. 2. Converting the image into grayscale if the image is RGB. 3. Decomposition of im
Scaramuzza_OCamCalib_v2.0
- 用于对全景镜头进行标定,能求解出图像上对应点的世界坐标的方向向量-The OcamCalib Toolbox for Matlab allows the user (also inexpert users) to calibrate any central omnidirectional camera, that is, any panoramic camera having a single effective viewpoint (see section 17). The Toolbox i
Lab2RGB
- Lab2RGB takes L, a, and b double matrices, or an M x N x 3 double image, and returns an image in the RGB color space. Values for L are in the range [0,100] while a* and b* are roughly in the range [-110,110]. If 3 outputs are specified, the
图像配准算法
- 1.SIFT得到两幅图像的匹配点对 2.通过RANSAC剔除外点,得到N对内点 3.利用DLT和SVD计算全局单应性 4.将源图划分网格,取网格中心点,计算每个中心点和源图上内点之间的欧式距离和权重 5.将权重放到DLT算法的A矩阵中,构建成新的W*A矩阵,重新SVD分解,自然就得到了当前网格的局部单应性矩阵 6.遍历每个网格,利用局部单应性矩阵映射到全景画布上,就得到了APAP变换后的源图 7.最后就是进行拼接线的加权融合