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

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

?? group__cimg__loops.html

?? this a image processing program
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"><html>  <head>    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">    <title>The CImg Library - C++ Template Image Processing Library</title>    <meta content="David Tschumperle" name="author">    <link rel="shortcut icon" type="image/x-icon" href="http://cimg.sourceforge.net/favicon.ico" />    <link rel="icon" type="image/png" href="favicon.png" />    <style type="text/css" media=screen>    <!--    a:active{text-decoration:none; color:#303090}    a:link{text-decoration:none; color:#303090}    a:visited{text-decoration:none; color:#303090}    a:hover{text-decoration:none; color:#4E9F71}    -->    </style>  </head>  <body bgcolor="#ffffff" fgcolor="#000000" alink="#ff0000" link="#0000ee" vlink="#551a8b">    <table align="center" border="0" cellpadding="0" cellspacing="0" width="1024">      <tbody>        <tr>          <td>            <hr noshade="noshade" size="1" width="100%">            <center>              <a href="http://cimg.sourceforge.net"><img src="../img/CImgLogo2.jpg" border="0"><img src="../img/CImgLogo.jpg" border="0"></a><br>	      <table style="width: 100%; text-align: left;" border="0"		cellpadding="2" cellspacing="2">		<tbody>		  <tr>		    <td style="vertical-align: top; text-align: right;"><font			face="Arial,Helvetica"><big>&nbsp;&nbsp;<b>C++ Template Image Processing Library.</b></big></font></td>		    <td style="vertical-align: top; text-align: right;">		      <a href="http://www.cnrs.fr/"><img src="../img/logoCNRS.gif" border="0"></a>&nbsp;		      <a href="http://www.greyc.ensicaen.fr/EquipeImage/"><img src="../img/logoGREYC.gif" border="0"></a>&nbsp;		      <a href="http://www-sop.inria.fr"><img src="../img/logoINRIA.gif" border="0"></a>		    </td>		  </tr>		</tbody>	      </table>	      </center>            <hr noshade="noshade" size="1" width="100%">            <center>              <table                style="width: 100%; text-align: left; margin-left: auto; margin-right: auto; background-color: rgb(238, 238, 255);"                border="0" cellpadding="3" cellspacing="0">                <tbody>                  <tr>                    <td style="text-align: center; vertical-align: top;">                      <font face="Arial,Helvetica" color="#FFFFFF" size="-1">                        <b>[</b> <a target="_parent" href="../index.shtml">Introduction</a> <b>]</b>-<b>[</b>			<a target="_parent" href="../news.shtml">News</a> <b>]</b>-<b>[</b>			<a target="_parent" href="../download.shtml">Download</a> <b>]</b>-<b>[</b>			<a target="_parent" href="../screenshots.shtml">Screenshots</a> <b>]</b>-<b>[</b>			<a target="_parent" href="../reference/group__cimg__faq.html">FAQ</a> <b>]</b>-<b>[</b>			<a target="_parent" href="../reference/group__cimg__tutorial.html">Tutorial</a> <b>]</b>-<b>[</b>			<a target="_parent" href="../links.shtml">Links</a> <b>]</b>-<b>[</b>			<a target="_parent" href="http://sourceforge.net/forum/forum.php?forum_id=334630">Forums-Eng</a> <b>]</b>-<b>[</b>			<a target="_parent" href="http://sourceforge.net/forum/forum.php?forum_id=421080">Forums-Fr</a> <b>]</b>-<b>[</b>			<a target="_parent" href="../reference/index.html">Reference</a> <b>]</b>-<b>[</b>			<a target="_parent" href="http://sourceforge.net/projects/cimg/">SourceForge Repository</a> <b>]</b>                      </font></td>                  </tr>                </tbody>              </table>            </center>            <hr noshade="noshade" size="1" width="100%">            <noscript> </noscript>          </td>        </tr>      </tbody>    </table>  </body></html><!-- Generated by Doxygen 1.5.1 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="modules.html"><span>Modules</span></a></li>    <li><a href="namespaces.html"><span>Namespaces</span></a></li>    <li><a href="annotated.html"><span>Classes</span></a></li>  </ul></div><h1>Using Image Loops.</h1><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>The CImg Library provides different macros that define useful iterative loops over an image. Basically, it can be used to replace one or several <code>for(..)</code> instructions, but it also proposes interesting extensions to classical loops. Below is a list of all existing loop macros, classified in four different categories :<ul><li><a class="el" href="group__cimg__loops.html#lo1">Loops over the pixel buffer</a></li><li><a class="el" href="group__cimg__loops.html#lo4">Loops over image dimensions</a></li><li><a class="el" href="group__cimg__loops.html#lo5">Loops over interior regions and borders.</a></li><li><a class="el" href="group__cimg__loops.html#lo6">Loops using neighborhoods.</a></li></ul><h2><a class="anchor" name="lo1">Loops over the pixel buffer</a></h2>Loops over the pixel buffer are really basic loops that iterate a pointer on the pixel data buffer of a <code><a class="el" href="structcimg__library_1_1_c_img.html">cimg_library::CImg</a></code> image. Two macros are defined for this purpose :<p><ul><li><b>cimg_for(img,ptr,T)</b> : This macro loops over the pixel data buffer of the image <code>img</code>, using a pointer <code>T* ptr</code>, starting from the end of the buffer (last pixel) till the beginning of the buffer (first pixel).<ul><li><code>img</code> must be a (non empty) <code><a class="el" href="structcimg__library_1_1_c_img.html">cimg_library::CImg</a></code> image of pixels <code>T</code>.</li><li><code>ptr</code> is a pointer of type <code>T*</code>. This kind of loop should not appear a lot in your own source code, since this is a low-level loop and many functions of the CImg class may be used instead. Here is an example of use : <div class="fragment"><pre class="fragment">  CImg&lt;float&gt; img(320,200);  cimg_for(img,ptr,<span class="keywordtype">float</span>) { *ptr=0; }      <span class="comment">// Equivalent to 'img.fill(0);'</span></pre></div></li></ul></li></ul><p><ul><li><b>cimg_foroff(img,off)</b> : This macro loops over the pixel data buffer of the image <code>img</code>, using an offset <code></code>, starting from the beginning of the buffer (first pixel, <code>off=0</code>) till the end of the buffer (last pixel value, <code>off = img.size()-1</code>).<ul><li><code>img</code> must be a (non empty) cimg_library::CImg&lt;T&gt; image of pixels <code>T</code>.</li><li><code>off</code> is an inner-loop variable, only defined inside the scope of the loop.</li></ul></li></ul><p>Here is an example of use : <div class="fragment"><pre class="fragment">  CImg&lt;float&gt; img(320,200);  cimg_foroff(img,off) { img[off]=0; }  <span class="comment">// Equivalent to 'img.fill(0);'</span></pre></div><h2><a class="anchor" name="lo4">Loops over image dimensions</a></h2>The following loops are probably the most used loops in image processing programs. They allow to loop over the image along one or several dimensions, along a raster scan course. Here is the list of such loop macros for a single dimension :<ul><li><b>cimg_forX(img,x)</b> : equivalent to : <code>for (int x=0; x&lt;img.dimx(); x++)</code>.</li><li><b>cimg_forY(img,y)</b> : equivalent to : <code>for (int y=0; y&lt;img.dimy(); y++)</code>.</li><li><b>cimg_forZ(img,z)</b> : equivalent to : <code>for (int z=0; z&lt;img.dimz(); z++)</code>.</li><li><b>cimg_forV(img,v)</b> : equivalent to : <code>for (int v=0; v&lt;img.dimv(); v++)</code>.</li></ul><p>Combinations of these macros are also defined as other loop macros, allowing to loop directly over 2D, 3D or 4D images :<ul><li><b>cimg_forXY(img,x,y)</b> : equivalent to : <code>cimg_forY(img,y)</code> <code>cimg_forX(img,x)</code>.</li><li><b>cimg_forXZ(img,x,z)</b> : equivalent to : <code>cimg_forZ(img,z)</code> <code>cimg_forX(img,x)</code>.</li><li><b>cimg_forYZ(img,y,z)</b> : equivalent to : <code>cimg_forZ(img,z)</code> <code>cimg_forY(img,y)</code>.</li><li><b>cimg_forXV(img,x,v)</b> : equivalent to : <code>cimg_forV(img,v)</code> <code>cimg_forX(img,x)</code>.</li><li><b>cimg_forYV(img,y,v)</b> : equivalent to : <code>cimg_forV(img,v)</code> <code>cimg_forY(img,y)</code>.</li><li><b>cimg_forZV(img,z,v)</b> : equivalent to : <code>cimg_forV(img,v)</code> <code>cimg_forZ(img,z)</code>.</li><li><b>cimg_forXYZ(img,x,y,z)</b> : equivalent to : <code>cimg_forZ(img,z)</code> <code>cimg_forXY(img,x,y)</code>.</li><li><b>cimg_forXYV(img,x,y,v)</b> : equivalent to : <code>cimg_forV(img,v)</code> <code>cimg_forXY(img,x,y)</code>.</li><li><b>cimg_forXZV(img,x,z,v)</b> : equivalent to : <code>cimg_forV(img,v)</code> <code>cimg_forXZ(img,x,z)</code>.</li><li><b>cimg_forYZV(img,y,z,v)</b> : equivalent to : <code>cimg_forV(img,v)</code> <code>cimg_forYZ(img,y,z)</code>.</li><li><b>cimg_forXYZV(img,x,y,z,v)</b> : equivalent to : <code>cimg_forV(img,v)</code> <code>cimg_forXYZ(img,x,y,z)</code>.</li></ul><p><ul>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
97精品久久久久中文字幕| 国产在线看一区| 国产99久久久精品| 亚洲国产精品国自产拍av| 成人教育av在线| 成人欧美一区二区三区小说| 欧美综合久久久| 日本成人超碰在线观看| 久久人人97超碰com| 成人v精品蜜桃久久一区| 亚洲美女电影在线| 欧美福利视频一区| 国产老肥熟一区二区三区| 国产精品国产自产拍在线| 在线观看日产精品| 美女一区二区在线观看| 国产免费成人在线视频| 一本大道久久a久久精二百| 天天色天天操综合| 久久理论电影网| 92国产精品观看| 日韩高清一级片| 久久久电影一区二区三区| 色拍拍在线精品视频8848| 日韩电影免费在线看| 中文字幕欧美日韩一区| 欧美日韩中文字幕一区| 国内精品伊人久久久久av一坑| 国产精品久久久久久久久久久免费看| 色欧美片视频在线观看在线视频| 麻豆精品在线观看| 国产精品不卡视频| 日韩一区二区三免费高清| 成人午夜视频在线观看| 天堂在线亚洲视频| 欧美国产一区视频在线观看| 欧美色老头old∨ideo| 另类欧美日韩国产在线| 国产精品视频第一区| 欧美区在线观看| 国产成a人亚洲| 婷婷久久综合九色综合伊人色| 欧美一区二区在线不卡| www.亚洲色图| 免费看欧美女人艹b| 综合久久久久综合| 精品国产免费一区二区三区香蕉 | 成人午夜电影久久影院| 亚洲成人久久影院| 国产欧美日韩亚州综合| 欧美一区二区观看视频| 成人妖精视频yjsp地址| 手机精品视频在线观看| 国产精品久久久久久久浪潮网站| 日韩一区二区三区免费观看| 91免费视频网| 国产乱理伦片在线观看夜一区| 亚洲综合在线视频| 中文字幕av资源一区| 91精品国产综合久久香蕉的特点| 国产成人综合亚洲网站| 自拍偷拍亚洲综合| 精品久久一二三区| 欧美男同性恋视频网站| 99久久精品免费| 国产一区啦啦啦在线观看| 午夜私人影院久久久久| 日韩理论片网站| 国产偷v国产偷v亚洲高清| 日韩一区二区不卡| 欧美三级在线视频| 91免费视频观看| 成人在线视频首页| 国产伦精品一区二区三区免费| 爽好久久久欧美精品| 一个色妞综合视频在线观看| 国产精品视频第一区| 国产亚洲精品超碰| 日韩精品一区二区三区四区视频| 欧美日韩成人一区二区| 色呦呦日韩精品| 99久久伊人网影院| 国产99久久久久| 国产a级毛片一区| 韩国av一区二区三区四区| 麻豆视频一区二区| 日本大胆欧美人术艺术动态| 午夜精品福利视频网站| 一区二区在线观看av| 自拍偷拍亚洲综合| 亚洲欧洲国产日本综合| 亚洲国产精品国自产拍av| 国产视频一区二区在线观看| 精品国产凹凸成av人导航| 精品少妇一区二区三区免费观看| 777精品伊人久久久久大香线蕉| 欧美无乱码久久久免费午夜一区| 91久久免费观看| 在线免费不卡电影| 欧美在线免费视屏| 91国偷自产一区二区开放时间| 91丨九色丨尤物| 色偷偷久久一区二区三区| 91丨porny丨户外露出| 99久久婷婷国产综合精品| 99热99精品| 91在线高清观看| 91福利精品第一导航| 欧美午夜理伦三级在线观看| 欧美日韩亚洲综合一区 | 色美美综合视频| 91麻豆国产自产在线观看| 一本大道久久a久久综合| 在线中文字幕一区| 欧美日韩精品是欧美日韩精品| 欧美日韩亚洲综合在线| 日韩一区二区在线免费观看| 日韩一级精品视频在线观看| 日韩精品一区二区三区在线播放| 欧美精品一区二区在线播放| 久久久精品欧美丰满| 国产精品国产三级国产专播品爱网| 国产精品美女视频| 一区二区三区在线免费视频 | 日本美女一区二区三区视频| 美腿丝袜亚洲综合| 美国精品在线观看| 日韩欧美一区二区不卡| 国产成人a级片| 亚洲五月六月丁香激情| 欧美精品一区二区在线观看| 欧美精品久久久久久久多人混战| 美女视频黄免费的久久| 日本一区二区免费在线| 欧美日本韩国一区二区三区视频| 国产一二三精品| 性感美女久久精品| 国产欧美日韩另类视频免费观看| 在线免费观看日本一区| 国产原创一区二区| 亚洲国产欧美日韩另类综合| 久久婷婷一区二区三区| 欧美性xxxxxxxx| 国产福利一区二区三区视频| 香蕉成人啪国产精品视频综合网| 亚洲一区在线观看免费| 国产精品区一区二区三区| 国产精品理伦片| 成人免费小视频| 欧美卡1卡2卡| 成人性生交大片免费看中文网站| 亚洲猫色日本管| 国产亚洲精品bt天堂精选| 日韩免费性生活视频播放| 国产视频一区在线播放| 日本不卡高清视频| 99re这里只有精品首页| 99久久99精品久久久久久| 欧美日韩精品一区二区三区| www精品美女久久久tv| 亚洲三级在线免费观看| 日韩avvvv在线播放| 国产不卡高清在线观看视频| 91成人网在线| 欧美电视剧免费观看| 成人欧美一区二区三区1314 | 一本大道久久a久久精品综合| 欧美一级片免费看| 在线看日韩精品电影| 久久久久国色av免费看影院| 亚洲亚洲人成综合网络| 看片的网站亚洲| 99视频在线精品| 日韩一级高清毛片| 亚洲四区在线观看| 亚洲成人在线网站| 激情都市一区二区| 一本大道久久a久久综合| 久久久久国产精品麻豆ai换脸| 国产精品美女一区二区| 久久激五月天综合精品| 色爱区综合激月婷婷| 精品区一区二区| 亚洲国产精品久久人人爱蜜臀 | 国产乱淫av一区二区三区 | 欧美日韩免费一区二区三区视频| 亚洲精品在线一区二区| 亚洲亚洲人成综合网络| 国产精品一区免费视频| 91精品国产黑色紧身裤美女| 中文字幕一区二区三区蜜月| 免费欧美在线视频| 欧美日韩午夜精品| 国产日韩亚洲欧美综合| 日韩av午夜在线观看| 国产精品夜夜嗨| 欧美va亚洲va国产综合| 亚瑟在线精品视频| 99久久免费视频.com| 久久精品一区二区三区不卡|