搜索资源列表
histMeanValue
- 包含三个功能的演示。直方图,otsu算法,计算灰度中值。最后统计0像素占的比例。 float getMeanValue(IplImage* image) //灰度均值 int getMedian(IplImage* image) //灰度中值 void otsu (IplImage *image) //大律法阈值分割-Contains three functional demo. float getMeanValue (IplImage* image) //gray ave
myWatershed
- 参考文献:Meyer, F. Color Image Segmentation, ICIP92, 1992 代码原型:OpenCV2.4.3——>void cvWatershed(const CvArr* image, CvArr* markers)-References: Meyer, F. Color Image Segmentation, ICIP92 1992 code prototype: OpenCV2.4.3-->gt void cvWatershed (co
ComputerGraghics
- 运用CDC类的主要绘图成员函数,定义、选取画笔,定义、选取画刷,绘制多边形。 本实验的例子全部在TestView.cpp文件的void CTestView::OnDraw(CDC * pDC)函数中完成。 实验预期结果:绘制一个由8个三角形组成的八边形,每个三角形用不同的颜色填充,颜色次序为彩虹色。-Use CDC class drawing member functions defined, select the brush, the definition, select a b
damaAPI
- C++: usin接口说明: void setSoftInfo(int softId,char* softKey) /** 目的: 设置软件信息 参数列表: int softId 软件id char* softKey 软件的key 返回值: 无 */-C++: usin Interface Descr iption: the void setSoftInfo (the int SoftID, char* Softkey) /** Pu
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.
abc
- 查看某个文件夹中的图片,显示在网页中。程序片: package tom.jiafei import java.io.* class FileName implements FilenameFilter { public boolean accept(File dir,String name) { boolean boo=false if(name.endsWith(".jpg")||name.endsWith(".JPG"))
void
- 利用C++语言编写的,给图像加噪的程序,可以进行实现。-Use C++ language, adding noise to the image of the program can be achieved.
Rectify
- 基于多项式模型的鱼眼图像校正代码,包含9个参数,并用简单的邻域插值填补空洞-Fisheye image correction code based on polynomial model contains nine parameters, and to fill the void with a simple neighborhood interpolation
void-doll
- this very good programm it helped me alot while my thesis work -this is very good programm it helped me alot while my thesis work
yuv2rgb
- 将YUV图片格式转成RGB 包含void YUV420_C_RGB-YUV to RGB
Declarations-of-ellipse-function_37
- Declarations of ellipse function :- void ellipse(int x, int y, int stangle, int endangle, int xradius, int yradius) Ellipse is used to draw an ellipse (x,y) are coordinates of center of the ellipse, stangle is the starting angle, end angle is th
DetectEyes
- 运用C++检测人眼, 2)用opencv中检测人脸、眼睛、嘴巴等都是用的CascadeClassifier分类器,具体使用时可以使用C的函数,也可以使用opencv中使用C++封装好的类。下面是它们检测目标时的函数形式(从opencv官网复制的) C: CvSeq* cvHaarDetectObjects(const CvArr* image, CvHaarClassifierCascade* cascade, CvMemStorage* storage, double scal
exp6
- void Parabola(POINT *p,int n),this is the function -void Parabola(POINT*p,int n),this is the function
Mousepick
- 1. 补充完成函数drawVA(),实现使用顶点数组绘制场景: void drawVA(){} 2. 补充完成函数Gen3DObjectList (),实现显示列表的生成: GLint Gen3DObjectList(){} 3. 分析对比使用三种方法得到的fps。 4. 添加拾取功能,对于鼠标点中的Bunny或桌子,改变显示颜色。-1. Supplementary completion function drawVA (), implemented using verte
c105
- 变温度为华氏摄氏度 然后让你知道温度为多少华氏摄氏度-#include < stdio.h> void main(){ double f,c printf( 请输入华氏温度: ) scanf( lf ,&f) c=5.0/9.0*(f-32) printf( 与华氏温度 .2lf对应的摄氏温度是: .2lf\n ,f,c) }
Match-point-correlation-coefficient
- 相关系数法的点匹配 void draw(int x,int y,Mat mat,Mat mod,int xx,int yy)通过十字丝表明匹配点 void ImgMarch(Mat s,Mat m,Mat roi,int x,int y)相关系数法匹配函数-Match point correlation coefficient method void draw (int x, int y, Mat mat, Mat mod, int xx, int yy) indicate the
__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
IDM with patch!!!
- This ectObjects(oclMat &gimg, CvMemStorage *storage, double scaleFactor, int minNeighbors, int flags, CvSize minSize = cvSize(0, 0), CvSize maxSize = cvSize(0, 0)); void detectMultiScale(oclMa
CDC
- 在Windows平台上,应用程序的图形设备接口(graphics device interface,GDI)被抽象为设备上下文(Device Context,DC)。 在微软基类库MFC中,CDC类是定义设备上下文对象的基类,所有绘图函数都在CDC基类中定义。当需要输出文字或图形时,就需要调用CDC类的成员函数,这些成员函数具备输出文本、绘制图形的功能。 本节讲解的例程全部在TestView.cpp文件的 void CTestView::OnDraw(CDC* pDC)函数中实现。