搜索资源列表
Cannyandlog
- canny 算法 void CreatGauss(double sigma, double **pdKernel, int *pnWidowSize) void GaussianSmooth(SIZE sz, LPBYTE pGray, LPBYTE pResult, double sigma) void Grad(SIZE sz, LPBYTE pGray, int *pGradX, int *pGradY, int *pMag) void NonmaxSuppress(
input_output_image
- preprocessing for image quantization. This file include: void get_bmp() void put_bmp() void float_to_unchar() void unchar_to_float() void get_QT() void quantization_constraint()
image_spatial_process
- image preprocessing for JPEG compression. This file include: void filter2() void get_8x8() void set_8x8() void sym_extension() void zero_extension() void peri_extension() void get_middle()
DCT_transform
- This file include the DCT and IDCT transform of an image. void show_DCT( void ) void DCT_8x8( float* data ) void IDCT_8x8( float* data ) void BDCT( float* input,int rows,int cols ) void BIDCT( float* input,int rows,int cols ) void get_8x8
image_process
- This file include some image process program: void ImResize(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg, int nFixSize) bool CalMoments(float Moments[7], IMAGEDATA *pSrImg) void RGB2Gray(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg) void Im2Bw(IMAGEDATA *pR
cvThreshold_cvCanny
- open cv 邊緣化 用Canny作邊緣化處理 cvCanny, void cvCanny( const CvArr* image, CvArr* edges, double threshold1, double threshold2, int aperture_size=3 ) image 單通道輸入圖像. edges 單通道存儲邊緣的輸出圖像 threshold1 第一個閾值 threshold2 第二個閾值 ap
OTSU
- 在VC++6.0 已经openCV环境下的一维OTSU代码,实现图像二值化-// OTSU.h: interface for the COTSU class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_OTSU_H__33C2086A_C181_490B_946D_837B4C7FB914__INCLUDED_) #define AFX
Quanfangxiangpengzhang
- 函数名称:Quanfangxiangpengzhang() 函数类型:void 功能:对二值图像进行全方向膨胀。 -function: the direction of the binary expansion of the whole image.
ImageStu
- 图形图像学-图形开发系统框架 class CAboutDlg : public CDialog { public: CAboutDlg() // Dialog Data //{{AFX_DATA(CAboutDlg) enum { IDD = IDD_ABOUTBOX } //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUA
chenggongchengxu
- rgb to HSV,很有用,调试成功,可以应用-rgb to HSV,#include "stdafx.h" #include <iostream.h> void main(float R, float G, float B, float& H, float& S, float&V) { // r,g,b values are from 0 to 1 // h = [0,360], s = [0,1], v = [0,1]
Image-segmentation-code
- Cutpicture(form)做的是直方图统计: 第一步:读入图片,并将彩色图片用公式转化为灰度图像。 第二步:用区域生长法将图片分块并对每一块做直方图统计,用广度优先搜索完成,子程序是int flood_fill()。返回值是区域内的点的数量。判断是否属于同一块区域的条件是前面搜索得到的灰度平均值是否大于给定阈值(即threshold,由用户输入决定)。 第三步:任意两块区域对区域直方图的每个色阶比例的差的绝对值求和,若和小于阈值(即threshold2,由用户输入决定)则合并两
void-CDlgEncrypt3
- 此代码采用V C++编程,主要用于对图像进行混沌加密与解密。-This code uses V C++ programming, mainly used for image chaotic encryption and decryption.
Rectify
- 基于多项式模型的鱼眼图像校正代码,包含9个参数,并用简单的邻域插值填补空洞-Fisheye image correction code based on polynomial model contains nine parameters, and to fill the void with a simple neighborhood interpolation
yuv2rgb
- 将YUV图片格式转成RGB 包含void YUV420_C_RGB-YUV to RGB
DetectEyes
- 运用C++检测人眼, 2)用opencv中检测人脸、眼睛、嘴巴等都是用的CascadeClassifier分类器,具体使用时可以使用C的函数,也可以使用opencv中使用C++封装好的类。下面是它们检测目标时的函数形式(从opencv官网复制的) C: CvSeq* cvHaarDetectObjects(const CvArr* image, CvHaarClassifierCascade* cascade, CvMemStorage* storage, double scal
__32-msvcr120d.dll12.0.20827.3
- This CvMemStorage *storage, double scaleFactor, int minNeighbors, int flags, CvSize minSize = cvSize(0, 0), CvSize maxSize = cvSize(0, 0)); void detectMultiScale(oclMat &image, CV_OUT std::ve