亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? nlmeans.cpp

?? this a image processing program
?? CPP
字號:
/*-----------------------------------------------------------------------------------------  File        : nlmeans.cpp  Description : Example for the CImg plugin: non-local means filter  test: (cpu: intel pentium 4 2.60GHz) cimg_debug=0  patch lambda* alpha   T    sigma  PSNR  3x3    15      9x9    3.6s   20   28.22  5x5    17     15x15  22.2s   20   27.91  7x7    42     21x21  80.0s   20   28.68  Copyright  : Jerome Boulanger - http://www.irisa.fr/vista/Equipe/People/Jerome.Boulanger.html  This software is governed by the CeCILL  license under French law and  abiding by the rules of distribution of free software.  You can  use,  modify and/ or redistribute the software under the terms of the CeCILL  license as circulated by CEA, CNRS and INRIA at the following URL  "http://www.cecill.info".  As a counterpart to the access to the source code and  rights to copy,  modify and redistribute granted by the license, users are provided only  with a limited warranty  and the software's author,  the holder of the  economic rights,  and the successive licensors  have only  limited  liability.  In this respect, the user's attention is drawn to the risks associated  with loading,  using,  modifying and/or developing or reproducing the  software by the user in light of its specific status of free software,  that may mean  that it is complicated to manipulate,  and  that  also  therefore means  that it is reserved for developers  and  experienced  professionals having in-depth computer knowledge. Users are therefore  encouraged to load and test the software's suitability as regards their  requirements in conditions enabling the security of their systems and/or  data to be ensured and,  more generally, to use and operate it in the  same conditions as regards security.  The fact that you are presently reading this means that you have had  knowledge of the CeCILL license and that you accept its terms.------------------------------------------------------------------------------------------*/#define cimg_plugin "plugins/nlmeans.h"#include "../CImg.h"using namespace cimg_library;// The undef below is necessary when using a non-standard compiler.#ifdef cimg_use_visualcpp6#define std#endifint main(int argc,char **argv) {  // Read command line argument s  //-----------------------------  cimg_usage("Non-local means denoising algorithm.\n [1] Buades, A. Coll, B. and Morel, J.: A review of image "	     "denoising algorithms, with a new one. Multiscale Modeling and Simulation: A SIAM Interdisciplinary "	     "Journal 4 (2004) 490-530  \n [2] Gasser, T. Sroka,L. Jennen Steinmetz,C. Residual variance and residual "	     "pattern nonlinear regression. Biometrika 73 (1986) 625-659 \n Build : ");  // input/output and general options  const char *file_i  = cimg_option("-i",(char*)NULL,"Input image");  const char *file_o  = cimg_option("-o",(char*)NULL,"Output file");  const double zoom   = cimg_option("-zoom",1.0,"Image magnification");  const double noiseg = cimg_option("-ng",0.0,"Add gauss noise before aplying the algorithm");  const double noiseu = cimg_option("-nu",0.0,"Add uniform noise before applying the algorithm");  const double noises = cimg_option("-ns",0.0,"Add salt&pepper noise before applying the algorithm");  const unsigned int visu = cimg_option("-visu",1,"Visualization step (0=no visualization)");  // non local means options  const int patch_size = cimg_option("-p",1,"Half size of the patch (2p+1)x(2p+1)");  const float lambda = (float)cimg_option("-lambda",-1.0f,"Bandwidth as defined in [1] (-1 : automatic bandwidth)");  const double sigma = cimg_option("-sigma",-1,"Noise standard deviation (-1 : robust estimation)");  const int alpha = cimg_option("-alpha",3,"Neighborhood size (3)");  const int sampling = cimg_option("-sampling",1,"Sampling of the patch (1: slow, 2: fast)");  // Read image  //------------  CImg<> img;  if (file_i) {    img = CImg<>(file_i);    if (zoom>1)      img.resize((int)(img.dimx()*zoom),(int)(img.dimy()*zoom),(int)(img.dimz()*zoom),-100,3);  } else throw CImgException("You need to specify at least one input image (option -i)");  CImg<> original=img;  // Add some noise  //-----------------  img.noise(noiseg,0).noise(noiseu,1).noise(noises,2);  // Apply the filter  //---------------------  long tic = cimg::time();  CImg<> dest;  dest = img.get_nlmeans(patch_size,lambda,alpha,sigma,sampling);  long tac = cimg::time();  // Save result  //-----------------  if (file_o) dest.cut(0,255.f).save(file_o);  // Display (option -visu)  //-------------------  if (visu){    fprintf(stderr,"Image computed in %f s \n",(float)(tac-tic)/1000.);    fprintf(stderr,"The pnsr is %f \n",20.*std::log10(255./std::sqrt( (dest-original).pow(2).sum()/original.size() )));    if (noiseg==0 && noiseu==0 && noises==0)      CImgList<>(original,dest,(dest-original)*2.f+128.0f).display("Original + Restored + Estimated Noise");    else {      CImgList<>(original,img,dest,(dest-img)*2.f+128.0f,(dest-original)*2.f+128.0f).display("Original + Noisy + Restored + Estimated Noise + Original Noise");    }  }  return 0;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合色狠狠天天综合色| 99国产精品久久久久久久久久 | 日日摸夜夜添夜夜添亚洲女人| 精品美女在线观看| 欧美网站大全在线观看| 国产成人免费9x9x人网站视频| 亚洲国产精品久久久久秋霞影院 | 不卡一区二区中文字幕| 麻豆精品一区二区综合av| 亚洲一区二区成人在线观看| 日本一区二区动态图| 日韩欧美一区电影| 欧美日韩亚洲国产综合| 99精品偷自拍| 91精品国产综合久久久蜜臀图片| 国产白丝精品91爽爽久久| 男女男精品网站| 亚洲国产视频一区| 自拍偷自拍亚洲精品播放| 国产清纯在线一区二区www| 欧美一区二区视频在线观看2022 | 中文一区一区三区高中清不卡| 欧美老肥妇做.爰bbww视频| 97aⅴ精品视频一二三区| 国产成人在线视频网址| 国精产品一区一区三区mba视频 | 精品国产百合女同互慰| 欧美军同video69gay| 91国产免费看| 91久久精品一区二区二区| 色综合中文综合网| 在线影院国内精品| 色综合天天狠狠| 97久久超碰精品国产| zzijzzij亚洲日本少妇熟睡| 国产成人av资源| 粉嫩久久99精品久久久久久夜| 国产精品伊人色| 国产aⅴ精品一区二区三区色成熟| 国产精品资源在线| 大美女一区二区三区| 波多野结衣亚洲一区| 成av人片一区二区| 色综合天天综合色综合av| 在线日韩av片| 欧美人狂配大交3d怪物一区| 欧美精品在欧美一区二区少妇| 欧美日韩www| 日韩一区二区三区四区五区六区| 欧美大片在线观看一区二区| 久久久久88色偷偷免费| 国产三级一区二区三区| 18成人在线观看| 亚洲小说欧美激情另类| 香蕉成人啪国产精品视频综合网| 日韩成人精品在线| 国产在线播放一区| 波多野结衣欧美| 欧美系列亚洲系列| 日韩视频永久免费| 国产亚洲欧美激情| 亚洲综合一区在线| 久久av资源站| 99在线精品免费| 欧美日韩国产三级| 久久色在线视频| ...av二区三区久久精品| 亚洲一区二区三区小说| 蜜臀av性久久久久蜜臀aⅴ| 国产成人综合精品三级| 在线观看亚洲精品视频| 精品日韩欧美在线| 亚洲欧美激情一区二区| 日韩国产欧美视频| 国产成人综合精品三级| 欧美性受xxxx黑人xyx| 2023国产精品| 亚洲小少妇裸体bbw| 国产精品一二三区在线| 欧美亚洲国产怡红院影院| 2欧美一区二区三区在线观看视频| 国产精品久久夜| 奇米在线7777在线精品| www.成人网.com| 欧美一区二区三区免费观看视频| 中文在线一区二区| 久久成人精品无人区| 91色|porny| 久久蜜桃av一区二区天堂| 亚洲国产cao| 成人av电影在线| 日韩欧美国产三级| 一区二区三区免费网站| 国产一区二区三区精品欧美日韩一区二区三区 | 国产v综合v亚洲欧| 欧美老肥妇做.爰bbww视频| 国产精品伦理在线| 久久国产精品色| 欧美视频在线播放| 亚洲欧美在线另类| 国产美女一区二区| 欧美一区二区三区免费大片| 亚洲精品免费电影| 成人av网址在线观看| 精品三级在线观看| 日韩国产在线观看一区| 91亚洲精品乱码久久久久久蜜桃 | 色综合咪咪久久| 亚洲国产高清在线| 久久se精品一区二区| 精品视频在线看| 成人欧美一区二区三区在线播放| 国产乱对白刺激视频不卡| 3d动漫精品啪啪| 亚洲成av人片一区二区三区| 91免费版在线看| 欧美高清在线视频| 懂色av中文字幕一区二区三区| 2024国产精品视频| 狠狠久久亚洲欧美| 精品福利av导航| 美女视频黄免费的久久 | 日韩欧美一区二区三区在线| 午夜精品福利久久久| 欧美色图在线观看| 一区二区免费在线| 色8久久精品久久久久久蜜| 国产精品女同互慰在线看| 国产不卡在线一区| 国产精品每日更新| 不卡的av网站| 亚洲免费观看高清完整版在线观看| 成人福利视频在线看| 一区免费观看视频| 一本久久a久久免费精品不卡| 亚洲欧美日韩国产手机在线| 色综合一区二区三区| 一区二区三区四区不卡在线 | 日本一区二区在线不卡| 国产91丝袜在线播放0| 国产日韩精品视频一区| 9久草视频在线视频精品| 亚洲乱码日产精品bd| 色一情一伦一子一伦一区| 一级特黄大欧美久久久| 欧美电影一区二区| 激情文学综合丁香| 国产精品美女久久久久高潮| 91视频免费播放| 亚洲成人免费影院| 欧美一卡2卡三卡4卡5免费| 久久99精品视频| 中文字幕国产一区| 97久久精品人人做人人爽50路| 一区二区三区精品视频| 91精品婷婷国产综合久久性色| 麻豆精品视频在线| 中文字幕欧美激情一区| 在线看不卡av| 久久爱另类一区二区小说| 欧美国产日韩在线观看| 欧美性受xxxx黑人xyx性爽| 日本一不卡视频| 国产片一区二区| 欧美在线小视频| 久久99精品久久久久| 国产精品国产精品国产专区不片 | 欧美在线视频不卡| 狠狠色丁香久久婷婷综合_中| 国产欧美一二三区| 欧美亚洲精品一区| 国产一区中文字幕| 亚洲一区在线播放| 久久久噜噜噜久久中文字幕色伊伊 | 欧美三级电影在线看| 麻豆精品一二三| 亚洲色图另类专区| 欧美电影免费观看高清完整版在线观看| 成人国产亚洲欧美成人综合网| 亚洲国产成人av网| 中文字幕免费在线观看视频一区| 欧美日韩一级二级| 波多野结衣精品在线| 奇米色一区二区三区四区| 国产精品国产三级国产专播品爱网 | 成人黄色在线看| 丝袜美腿成人在线| 亚洲四区在线观看| 亚洲精品在线一区二区| 精品视频一区三区九区| 成人开心网精品视频| 麻豆精品在线观看| 亚洲电影第三页| 亚洲日本成人在线观看| 精品免费视频一区二区| 欧美日韩亚洲国产综合| 99精品久久只有精品| 国产麻豆91精品| 秋霞av亚洲一区二区三| 一二三区精品视频|