![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图像处理
文章平均质量分 95
Small Cube
MengyaoLi_0201@outlook.com
展开
-
c++ GDAL 完成PCA
c++ GDAL 完成PCAint main(){ const char* imagePath = "D:/data/before.img"; const char* txtPath = "D:/data/result.txt"; UpdateRasterFile(imagePath, txtPath); return 0;}通过UpdateRasterFile(imagePath, txtPath);完成PCA的计算和输出void UpdateRasterFile(const cha原创 2021-09-02 10:28:03 · 747 阅读 · 0 评论 -
openCV C++ 图像拼接
openCV C++ 图像拼接代码一、思路二、函数解析代码#include<iostream>#include<opencv2/opencv.hpp>using namespace std;using namespace cv;void Joint(Mat img1, Mat img2, const string filename){ if (img1.empty() || img2.empty()) { cout << "读取文件失败!" &l原创 2021-09-01 11:42:44 · 4844 阅读 · 0 评论