搜索资源列表
均衡化等
- “增强处理”按钮下,分别为规范化处理和均衡化处理。 函数在响应对应的函数下,在1View.cpp下分别为void CMy1View::Onjunheng() 和void CMy1View::Onguifan()。-"Enhancement" button, respectively, for a standardized management and balanced treatment. Function in response to the correspond
void CDibView-2
- 对图像进行掩摸操作-right image mask operation
jisuanjituxing
- 根据多边形区域的填充原理可以推广到圆域的填充,由于圆的特殊属性,即可根据任何欲填充的像素点与圆心的距离是否大于或小于半径来判断是否在圆内或圆外,具体实现程序如下; 利用中点画圆算法实现边界程序: void CArea_FillData::MidpointCircle(int xc, int yc, int r, int color) {//画八分之一的圆 int x,y,d x=0 y=r d=1-r WholeCircle(xc,yc,x,y,color
glut
- 在Nehe的主页上一共提供了4种不同风格的OpenGL程序框架,分别为glut,Win32,面向对象的Win32,在加上Nehe教程中使用的那一种。 相信没有几个读者会耐着性子,把Nehe的第一个教程看完并编译成功,因为那里面有着数不清的数据结构和函数,我也是费了整整12个小时才把它翻译和排版好。 好了,不浪费读者的时间了。在这四个框架中以面向对象的Win32框架写的最后,并且功能最全,我们就简单得介绍一下它的使用,你可以用它学习OpenGL的函数,当你对OpenGL的结构有
1821
- 一个实时曲线类 接口说明: // 设置网格间距 void SetGridResolutionX(int nGridReluX) // 设置网格间距 void SetGridResolutionY(int nGridReluY) // 设置网格滚动速度,正值为从左向右滚动,0不动 void SetGridScrollSpeedX(int nSpeedX) // 正值为从上到下滚动,0不动 void SetGridScrollS
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(
new_BmpOperator
- 将bmp图像归一化为设定得宽高,较小失真度,(对灰度图像处理无效) -bmp image to be translated into a set in high relief, smaller distortion, (right image processing gray void)
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
DDA
- 两种常用的DDA算法的主要程序, void Line::Draw_Bresenham(CDC *pDC)
delaunay
- void CDelaunayView::OnDelaunay() { // TODO: Add your command handler code here CDelaunayDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc); if(!pDoc->PointList->GetCount()) { char str[100]; ostrstream osr(str,100); osr<&
ConstructWaveBaseFunction.rar
- 紧支撑小波基的构造。 以Daubechies小波滤波器系数为例,推导出小波函数及尺度函数,并画出其图像. void Convolution(double* pShortData, int nShort, double* pLongData, int nLong) int CalcScaleFunction(double* pOutData) int CalcWaveletFunction(double* pOutData) Convolution()不是通用的离散卷积代码,而
cvThreshold_cvAdaptiveThreshold
- cvThreshold和cvAdaptiveThreshold实现方法,函数:cvAdaptiveThreshold( const void *srcIm, void *dstIm, double maxValue, int method, int type, int blockSize, double delta ) -cvThreshold and cvAdaptiveThreshold implementation method, the function: cvAdaptiveThr
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
1_13_teapot
- 利用雾化绘制一个具有深度层次感的茶壶(提示:茶壶可以用void auxSolidTeapot(Gldouble size)来绘制,雾的颜色应设为黑色)-Rendering the use of atomization of a sense of deep-level Teapot (Hint: teapot can void auxSolidTeapot (Gldouble size) to draw, fog color should be set to black)
DrawImage(Realse)
- 提供检测区域划定的功能,首先SetHostInfo初始化参数,然后SetImageFileName(LPCTSTR pFileName)取得一张场景图像, 根据需要绘制一个检测区域,WriteDataBase(void) 将这个区域存储,作为IVS的输入-To provide regional delineation of the functions of detection, first of all SetHostInfo initialization parameters, and the
cvResize
- Resize 圖像大小變換 void cvResize( const CvArr* src, CvArr* dst, int interpolation=CV_INTER_LINEAR ) src 輸入圖像. dst 輸出圖像. interpolation 插值方法: * CV_INTER_NN - 最近鄰插值, * CV_INTER_LINEAR - 雙線性插值 (預設使用) * CV_INTER_AREA