-
C + + 的 LBP 代码
局部二元模式(LBP)是一种用于在计算机视觉分类功能。 LBP是特定情况在1990年[1] [2] LBP于1994年首先描述[3] [4]它提出的纹理谱模型由于被认为是一个强大的功能的纹理分类;它已经进一步确定,当LBP是结合定向梯度直方图(HOG)的描述符,它提高了检测性能相当一些数据集。该LBP特征向量,在其最简单的形式中,通过以下方式创建的:划分检测窗口进入细胞(例如16×16像素的每个单元格)。用于在小区中的每个像素,比较像素到它的每一个8邻居(在它的左顶,左中间,左底部右顶部,等等)。跟随一个圆,即顺时针或逆时针的像素。其中,中心像素的值大于邻居的值,写入“1”。否则,写“0”。这使一个8位二进制数(通常是转换为十进制为方便起见)。计算的每个“号码”中出现的频率的直方图,在细胞内,(即,对每个组合哪些像素是较小的,哪些是大于该中心)。任选正常化直方图。串联所有细胞(归)直方图。这给出了窗口的特征向量。特征向量现在可以使用支持向量机或其他机器学习处理算法进行分类的图像。这样的分类可以用于人脸识别或纹理分析。
- 2022-03-21 06:15:16下载
- 积分:1
-
轮廓检测 2
此代码介绍的是轮廓检测,轮廓检测的原理通俗的说就是掏空内部点,比如原图中有3*3的矩形点。那么就可以将中间的那一点去掉。在OpenCV中使用轮廓检测是非常方便。直接使cvFindContours 函数就能完成对图像轮廓的检测。
- 2022-08-06 14:48:17下载
- 积分:1
-
MFC中ListCtrl控件的应用,插入图片等
MFC中ListCtrl控件的应用,插入图片等-ListCtrl controls in MFC application, insert pictures, etc.
- 2023-08-28 06:30:04下载
- 积分:1
-
cycle T = 5, pulse width = tao a rectangular pulse and the spectrum
周期T=5,脉宽tao=1的矩形脉冲及频谱图-cycle T = 5, pulse width = tao a rectangular pulse and the spectrum
- 2022-06-15 04:15:00下载
- 积分:1
-
mmread 读入视频文件,并且可以执行。reads virtually any media file. If Windows Media Play can p...
mmread 读入视频文件,并且可以执行。reads virtually any media file. If Windows Media Play can play-mmread reads virtually any media file. If Windows Media Play can play
- 2022-01-24 17:54:50下载
- 积分:1
-
Embedded graphics library minigui1.6.x senior programming routines can be transp...
飞曼公司嵌入式图形库minigui1.6.x的高级编程例程,可移植到各类开发板上使用。-Embedded graphics library minigui1.6.x senior programming routines can be transplanted to the use of various types of development board.
- 2022-03-23 01:07:00下载
- 积分:1
-
转换一位图为一jpeg图象的源代码
转换一位图为一jpeg图象的源代码-converting a map jpeg image of a source code
- 2022-07-24 04:42:44下载
- 积分:1
-
opengl纹理映射绘制场景,给出顶点的纹理坐标和几何坐标
在绘制纹理映射场景时,不仅要给每个顶点定义几何坐标,
而且也要定义纹理坐标。经过多种变换后,...
opengl纹理映射绘制场景,给出顶点的纹理坐标和几何坐标
在绘制纹理映射场景时,不仅要给每个顶点定义几何坐标,
而且也要定义纹理坐标。经过多种变换后,几何坐标决定顶点在屏幕
上绘制的位置,而纹理坐标决定纹理图像中的哪一个纹素赋予该顶点-texture mapping opengl rendering scenes given vertex texture coordinates and geometric coordinates in the texture mapping rendering scenes, not only to give the definition of the geometric coordinates of each vertex, but also the definition of texture coordinates. After a variety of transformation, the geometric coordinates of vertices on the screen decided to draw the location where the texture image Texture coordinates decide which one gives the Su-Wen vertex
- 2022-08-06 12:53:01下载
- 积分:1
-
利用EXCE里数据在AUTOCAD中找位置
利用EXCE里数据在AUTOCAD中找位置-Use EXCE where to find the location of data in AUTOCAD
- 2022-09-26 11:40:03下载
- 积分:1
-
VESA模式下256色Tiff格式图形文件显示
VESA模式下256色Tiff格式图形文件显示 -The diplay of 256-bit tiff file in VESA mode
- 2022-06-14 00:50:06下载
- 积分:1