摘要:
#include <stdio.h> #include <cv.h> #include <highgui.h> #include <cvaux.h> int main(void) { int i = 40; IplImage *img = cvLoadImage("6013202130.bmp", 阅读全文
posted @ 2016-05-06 13:05
张飞online
阅读(1969)
评论(0)
推荐(0)
摘要:
#include <opencv2/opencv.hpp> #include<opencv2/highgui/highgui.hpp> #include<opencv2/imgproc/imgproc.hpp> using namespace cv; int main() { Mat grad_x, 阅读全文
posted @ 2016-05-06 13:04
张飞online
阅读(2323)
评论(0)
推荐(0)
摘要:
#include <cv.h> #include <highgui.h> #define GrayScale 256 int mytsu( IplImage *frame); int main() { int a=0; IplImage * test; IplImage * test_1; test 阅读全文
posted @ 2016-05-06 13:03
张飞online
阅读(1246)
评论(0)
推荐(0)
摘要:
#include <cv.h> #include <highgui.h> //图像视频输出/输入头文件 using namespace std; IplImage* AddGuassianNoise(IplImage* src) //添加高斯噪声 { IplImage* dst = cvCreate 阅读全文
posted @ 2016-05-06 13:02
张飞online
阅读(941)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <opencv2\core\core.hpp> #include <opencv2\highgui\highgui.hpp> #include <opencv2\imgproc\imgproc.hpp> using namespace std 阅读全文
posted @ 2016-05-06 12:54
张飞online
阅读(1351)
评论(0)
推荐(0)
摘要:
#include <opencv2/opencv.hpp> #include <highgui.h> #include <cv.h> IplImage* TO_junhenghua(IplImage *pImage); int main(int argc, char** argv) { // 从文件 阅读全文
posted @ 2016-05-06 12:52
张飞online
阅读(462)
评论(0)
推荐(0)
摘要:
实验八 #include <cv.h> #include <highgui.h> //图像视频输出/输入头文件 int main() { IplImage * test; IplImage * test_1; test = cvLoadImage("6013202130.bmp",0);//图片路径 阅读全文
posted @ 2016-05-06 12:51
张飞online
阅读(815)
评论(0)
推荐(0)
摘要:
#include <cxcore.h> #include <cv.h> #include <highgui.h> void cvDcT(CvArr * src_arr, CvArr * dst_arr) { CvMat * tmp; CvMat q1stub, q2stub; CvMat q3stu 阅读全文
posted @ 2016-05-06 12:49
张飞online
阅读(802)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <cv.h> #include <cxcore.h> #include <highgui.h> void fft2(IplImage *src, IplImage *dst) { IplImage *image_Re = 0, *image_I 阅读全文
posted @ 2016-05-06 12:41
张飞online
阅读(7411)
评论(0)
推荐(0)
摘要:
#include <cv.h> #include <highgui.h> # include <math.h> #define M_PI 3.1415 void RGB_to_HSI(IplImage *src, IplImage *dst); int main(void) { IplImage * 阅读全文
posted @ 2016-05-06 12:40
张飞online
阅读(826)
评论(0)
推荐(0)