首页 > > 详细

解析c、c编程讲解、解析c、数据结构讲解

#include
#include "F:/CImg.h"
using namespace std;
using namespace cimg_library;
//
float GetMean(const float *c) {
float m = 0;
for (size_t x = 0; x img, int dim, float k0, float k1, float k2, float E) {
if (dim % 2 == 0) {
cout = k1 * delta) {
img(j, i) = img(j, i)*E;
}
}
}
return 0;
}
//
//,,,。
//,。
int main(int argc, char ** argv) {
DWORD start_time = GetTickCount();
CImg img("F:/opencv/luosi.bmp");
CImg dist(img);
HistStatistic(dist, 3, 0.4, 0.008, 0.4, 5.0);
CImgDisplay disp1(img, "input");
CImgDisplay disp2(dist, "output");
DWORD end_time = GetTickCount();
cout << "The run time is:" << (end_time - start_time) << "ms" << endl;
while (!disp1.is_closed() !disp2.is_closed()) {
disp2.wait();
}
}

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!