亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产精品亚洲视频| 日韩欧美一区二区免费| 欧美吞精做爰啪啪高潮| 亚洲精品五月天| 久久久久国产精品厨房| 欧美国产精品v| 一区二区三区在线视频观看58| 亚洲va欧美va人人爽| 国内精品久久久久影院色 | 欧美另类一区二区三区| 亚洲精品一区在线观看| 亚洲精品中文字幕乱码三区 | 日韩欧美二区三区| 成人免费视频在线观看| 日韩av成人高清| jizzjizzjizz欧美| 日韩视频在线你懂得| 亚洲国产精品成人久久综合一区| 一区二区三区欧美视频| 国产专区欧美精品| 日韩av电影免费观看高清完整版 | 久久精品视频在线免费观看| 欧美va亚洲va香蕉在线| 18成人在线视频| 国产视频一区二区在线| 亚洲一区二区三区四区中文字幕| 精品一区二区三区在线播放视频| 日本精品视频一区二区三区| 久久人人爽人人爽| 亚洲成av人在线观看| 91精品国产综合久久小美女| 国产精品毛片大码女人| 美女脱光内衣内裤视频久久网站| 91无套直看片红桃| 久久精品亚洲一区二区三区浴池| 欧美成人精品福利| 亚洲一区在线免费观看| 欧美精品自拍偷拍| 在线观看日韩一区| 国产精品无码永久免费888| 国产午夜亚洲精品理论片色戒| 亚洲最新在线观看| bt7086福利一区国产| 26uuu国产在线精品一区二区| 亚洲国产综合91精品麻豆| 不卡视频在线看| 久久精品亚洲精品国产欧美| 老色鬼精品视频在线观看播放| 亚洲一区二区三区四区在线免费观看| 亚洲一区中文日韩| 色先锋aa成人| 1区2区3区精品视频| 懂色av一区二区三区免费观看| 日韩午夜激情av| 日本视频一区二区三区| 欧美日韩在线亚洲一区蜜芽| 亚洲日本在线天堂| 91免费观看在线| 亚洲日本在线a| 91丨九色丨黑人外教| 亚洲欧洲韩国日本视频| 成人午夜视频在线观看| 久久精品这里都是精品| 国产精品影音先锋| 久久品道一品道久久精品| 国产一区二区三区久久久| 日韩免费电影网站| 老司机精品视频线观看86| 精品久久久久久久久久久久包黑料 | 日韩色视频在线观看| 亚洲电影第三页| 欧美中文字幕不卡| 亚洲成人动漫在线观看| 欧美日韩成人综合在线一区二区| 亚洲国产毛片aaaaa无费看| 欧美色区777第一页| 亚洲电影一级片| 三级欧美在线一区| 国产成人综合精品三级| 国产亚洲欧洲997久久综合 | 色噜噜狠狠成人中文综合| 亚洲欧美欧美一区二区三区| 91片在线免费观看| 亚洲美女免费在线| 欧美午夜不卡视频| 日本欧美一区二区| 欧美精品一区二区不卡| 国产精品主播直播| 中文字幕一区二区三区在线不卡| 91网上在线视频| 亚洲成av人片在www色猫咪| 91精品在线免费观看| 久久精品国产久精国产爱| 亚洲国产精华液网站w| 丰满白嫩尤物一区二区| 亚洲少妇最新在线视频| 欧美日韩高清影院| 日本va欧美va欧美va精品| 精品久久国产老人久久综合| 国产成人av一区| 欧美精品久久久久久久多人混战| 日韩国产欧美三级| 日本大胆欧美人术艺术动态| 国产69精品久久久久毛片| 成人欧美一区二区三区白人| 欧美伊人久久久久久久久影院 | 精品国产区一区| 国产在线一区观看| 成人欧美一区二区三区| 91精品国产91久久综合桃花| 久久99精品国产麻豆不卡| 欧美激情中文字幕一区二区| 91成人免费在线| 狂野欧美性猛交blacked| 欧美国产国产综合| 欧美撒尿777hd撒尿| 国产一区二区三区最好精华液| 亚洲欧洲av一区二区三区久久| 欧美精选一区二区| 国产乱人伦偷精品视频免下载| 亚洲欧洲无码一区二区三区| 91精品国产入口| 成人教育av在线| 日韩精品一二三四| 国产精品网站在线观看| 3d动漫精品啪啪| 成人avav影音| 理论片日本一区| 亚洲另类一区二区| 本田岬高潮一区二区三区| 天天综合网 天天综合色| 日本一区二区视频在线| 欧美三级日本三级少妇99| 国产在线播放一区二区三区| 99精品久久只有精品| 国产精品视频免费| 欧美精品亚洲二区| 91在线精品秘密一区二区| 久久精品国内一区二区三区 | 色悠悠久久综合| 国产一区二区三区高清播放| 一区二区成人在线观看| 国产人成一区二区三区影院| 91精品国产综合久久蜜臀| 成人亚洲精品久久久久软件| 日本欧美一区二区三区乱码| 亚洲最大成人综合| 国产精品视频yy9299一区| 欧美r级在线观看| 欧美伦理影视网| 91丨porny丨国产入口| 国产精品一卡二卡在线观看| 视频精品一区二区| 亚洲精品视频在线看| 中文字幕高清不卡| 欧美精品一区二区三区四区| 国产精品情趣视频| 欧美成人一区二区三区在线观看 | 日韩精品成人一区二区在线| 自拍偷拍欧美精品| 中文成人av在线| 国产欧美日韩久久| 精品精品国产高清一毛片一天堂| 欧美日韩激情在线| 国产日韩高清在线| 成人午夜私人影院| 国产成人免费9x9x人网站视频| 麻豆免费精品视频| 日韩国产高清在线| 天堂蜜桃一区二区三区| 亚洲综合久久久| 亚洲精品欧美在线| 国产精品家庭影院| 国产欧美日韩精品在线| 欧美激情中文不卡| 中文字幕欧美日韩一区| 国产亚洲短视频| 国产视频一区二区在线| 久久久久久久免费视频了| 精品乱人伦小说| 2023国产一二三区日本精品2022| 欧美一区二区三区在线观看视频| 欧美日韩成人在线一区| 91精品国产一区二区| 这里只有精品99re| 日韩欧美一区二区久久婷婷| 欧美一级欧美三级在线观看| 粉嫩aⅴ一区二区三区四区| 国产999精品久久| 成人国产亚洲欧美成人综合网| 成人精品电影在线观看| 色综合一个色综合亚洲| 欧美综合久久久| 制服丝袜日韩国产| 精品91自产拍在线观看一区| 久久久久久久久久看片| 国产精品卡一卡二| 亚洲精品久久久久久国产精华液| 一区2区3区在线看| 日韩国产一区二|