Mon, 03 Aug 2009 14:09:20 +0100
added P-touch decoder source
philpem@5 | 1 | xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
philpem@5 | 2 | <head> |
philpem@5 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta> |
philpem@5 | 4 | <title>The CImg Library - C++ Template Image Processing Toolkit</title> |
philpem@5 | 5 | <meta content="David Tschumperle" name="author"></meta> |
philpem@5 | 6 | <link rel="shortcut icon" type="image/x-icon" href="http://cimg.sourceforge.net/favicon.ico"></link> |
philpem@5 | 7 | <link rel="icon" type="image/png" href="favicon.png"></link> |
philpem@5 | 8 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
philpem@5 | 9 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
philpem@5 | 10 | <style type="text/css"> |
philpem@5 | 11 | <!-- |
philpem@5 | 12 | body {background-color:white; font-family:sans-serif; } |
philpem@5 | 13 | a:active{text-decoration:none; color:#303090} |
philpem@5 | 14 | a:link{text-decoration:none; color:#303090} |
philpem@5 | 15 | a:visited{text-decoration:none; color:#303090} |
philpem@5 | 16 | a:hover{text-decoration:underline; color:#4E9F71} |
philpem@5 | 17 | --> |
philpem@5 | 18 | </style> |
philpem@5 | 19 | <script language="JavaScript" type="text/javascript"> |
philpem@5 | 20 | <!-- Original: Eric King (eric_andrew_king@hotmail.com) is used to display images in popup windows --> |
philpem@5 | 21 | <!-- Web Site: http://redrival.com/eak/ --> |
philpem@5 | 22 | <!-- This script and many more are available free online at --> |
philpem@5 | 23 | <!-- The JavaScript Source!! http://javascript.internet.com --> |
philpem@5 | 24 | <!-- Begin |
philpem@5 | 25 | function NewWindow(mypage, myname, w, h, scroll) { |
philpem@5 | 26 | var winl = (screen.width - w) / 2; |
philpem@5 | 27 | var wint = (screen.height - h) / 2; |
philpem@5 | 28 | winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable' |
philpem@5 | 29 | win = window.open(mypage, myname, winprops) |
philpem@5 | 30 | if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } |
philpem@5 | 31 | } |
philpem@5 | 32 | // End --> |
philpem@5 | 33 | </script> |
philpem@5 | 34 | </head> |
philpem@5 | 35 | <body> |
philpem@5 | 36 | <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"> |
philpem@5 | 37 | <tbody><tr><td> |
philpem@5 | 38 | <hr noshade="noshade" size="1" width="90%"></hr> |
philpem@5 | 39 | <center> |
philpem@5 | 40 | <br/> |
philpem@5 | 41 | <a href="http://cimg.sourceforge.net"><img src="http://cimg.sourceforge.net/img/CImgLogo.jpg" alt="" border="0"></img></a><br/> |
philpem@5 | 42 | <br/> |
philpem@5 | 43 | </center> |
philpem@5 | 44 | <hr noshade="noshade" size="1" width="90%"></hr> |
philpem@5 | 45 | <center> |
philpem@5 | 46 | <table bgcolor="#EEEEFF" style="width: 90%; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="3" cellspacing="0"> |
philpem@5 | 47 | <tbody><tr><td style="text-align: center; vertical-align: top;"> |
philpem@5 | 48 | <font color="#FFFFFF" face="Arial,Helvetica" size="-1"> |
philpem@5 | 49 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/index.shtml">Main</a> <b>]</b> |
philpem@5 | 50 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/news.shtml">News</a><b>] </b> |
philpem@5 | 51 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/download.shtml">Download</a> <b>]</b> |
philpem@5 | 52 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/screenshots.shtml">Screenshots</a> <b>]</b> |
philpem@5 | 53 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/reference/group__cimg__faq.html">FAQ</a> <b>]</b> |
philpem@5 | 54 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/reference/group__cimg__tutorial.html">Tutorial</a> <b>]</b> |
philpem@5 | 55 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/reference/index.html">Documentation</a> <b>]</b> |
philpem@5 | 56 | <b>[</b> <a target="_parent" href="http://sourceforge.net/forum/forum.php?forum_id=334630">Forum</a> <b>]</b> |
philpem@5 | 57 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/chat.shtml">Chat</a> <b>]</b> |
philpem@5 | 58 | <b>[</b> <a target="_parent" href="http://cimg.sourceforge.net/links.shtml">Links</a> <b>]</b> |
philpem@5 | 59 | </font> |
philpem@5 | 60 | </td></tr></tbody> |
philpem@5 | 61 | </table> |
philpem@5 | 62 | </center> |
philpem@5 | 63 | <hr noshade="noshade" size="1" width="90%"></hr> |
philpem@5 | 64 | </td></tr></tbody> |
philpem@5 | 65 | </table> |
philpem@5 | 66 | <!-- Generated by Doxygen 1.5.7.1 --> |
philpem@5 | 67 | <script type="text/javascript"> |
philpem@5 | 68 | <!-- |
philpem@5 | 69 | function changeDisplayState (e){ |
philpem@5 | 70 | var num=this.id.replace(/[^[0-9]/g,''); |
philpem@5 | 71 | var button=this.firstChild; |
philpem@5 | 72 | var sectionDiv=document.getElementById('dynsection'+num); |
philpem@5 | 73 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
philpem@5 | 74 | sectionDiv.style.display='block'; |
philpem@5 | 75 | button.src='open.gif'; |
philpem@5 | 76 | }else{ |
philpem@5 | 77 | sectionDiv.style.display='none'; |
philpem@5 | 78 | button.src='closed.gif'; |
philpem@5 | 79 | } |
philpem@5 | 80 | } |
philpem@5 | 81 | function initDynSections(){ |
philpem@5 | 82 | var divs=document.getElementsByTagName('div'); |
philpem@5 | 83 | var sectionCounter=1; |
philpem@5 | 84 | for(var i=0;i<divs.length-1;i++){ |
philpem@5 | 85 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
philpem@5 | 86 | var header=divs[i]; |
philpem@5 | 87 | var section=divs[i+1]; |
philpem@5 | 88 | var button=header.firstChild; |
philpem@5 | 89 | if (button!='IMG'){ |
philpem@5 | 90 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
philpem@5 | 91 | button=document.createElement('img'); |
philpem@5 | 92 | divs[i].insertBefore(button,divs[i].firstChild); |
philpem@5 | 93 | } |
philpem@5 | 94 | header.style.cursor='pointer'; |
philpem@5 | 95 | header.onclick=changeDisplayState; |
philpem@5 | 96 | header.id='dynheader'+sectionCounter; |
philpem@5 | 97 | button.src='closed.gif'; |
philpem@5 | 98 | section.id='dynsection'+sectionCounter; |
philpem@5 | 99 | section.style.display='none'; |
philpem@5 | 100 | section.style.marginLeft='14px'; |
philpem@5 | 101 | sectionCounter++; |
philpem@5 | 102 | } |
philpem@5 | 103 | } |
philpem@5 | 104 | } |
philpem@5 | 105 | window.onload = initDynSections; |
philpem@5 | 106 | --> |
philpem@5 | 107 | </script> |
philpem@5 | 108 | <div class="navigation" id="top"> |
philpem@5 | 109 | <div class="tabs"> |
philpem@5 | 110 | <ul> |
philpem@5 | 111 | <li><a href="index.html"><span>Main Page</span></a></li> |
philpem@5 | 112 | <li><a href="modules.html"><span>Modules</span></a></li> |
philpem@5 | 113 | <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
philpem@5 | 114 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
philpem@5 | 115 | </ul> |
philpem@5 | 116 | </div> |
philpem@5 | 117 | <div class="tabs"> |
philpem@5 | 118 | <ul> |
philpem@5 | 119 | <li><a href="annotated.html"><span>Class List</span></a></li> |
philpem@5 | 120 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
philpem@5 | 121 | <li><a href="functions.html"><span>Class Members</span></a></li> |
philpem@5 | 122 | </ul> |
philpem@5 | 123 | </div> |
philpem@5 | 124 | <div class="navpath"><a class="el" href="namespacecimg__library.html">cimg_library</a>::<a class="el" href="structcimg__library_1_1CImg.html">CImg</a> |
philpem@5 | 125 | </div> |
philpem@5 | 126 | </div> |
philpem@5 | 127 | <div class="contents"> |
philpem@5 | 128 | <h1>CImg Struct Template Reference</h1><!-- doxytag: class="cimg_library::CImg" -->Class representing an image (up to 4 dimensions wide), each pixel being of type <code>T</code>. |
philpem@5 | 129 | <a href="#_details">More...</a> |
philpem@5 | 130 | <p> |
philpem@5 | 131 | |
philpem@5 | 132 | <p> |
philpem@5 | 133 | <a href="structcimg__library_1_1CImg-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
philpem@5 | 134 | <tr><td></td></tr> |
philpem@5 | 135 | <tr><td colspan="2"><br><h2>Image Informations</h2></td></tr> |
philpem@5 | 136 | <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3e13243636f944bad8351324f2910e2b">size</a> () const </td></tr> |
philpem@5 | 137 | |
philpem@5 | 138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the total number of pixel values in an image. <a href="#3e13243636f944bad8351324f2910e2b"></a><br></td></tr> |
philpem@5 | 139 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="afae58d5a77ea4190e6f2c818238bd1a"></a><!-- doxytag: member="cimg_library::CImg::dimx" ref="afae58d5a77ea4190e6f2c818238bd1a" args="() const " --> |
philpem@5 | 140 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#afae58d5a77ea4190e6f2c818238bd1a">dimx</a> () const </td></tr> |
philpem@5 | 141 | |
philpem@5 | 142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of columns of the instance image (size along the X-axis, i.e image width). <br></td></tr> |
philpem@5 | 143 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc3244815fd1b4cea186b6a63bfb635d"></a><!-- doxytag: member="cimg_library::CImg::dimy" ref="fc3244815fd1b4cea186b6a63bfb635d" args="() const " --> |
philpem@5 | 144 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fc3244815fd1b4cea186b6a63bfb635d">dimy</a> () const </td></tr> |
philpem@5 | 145 | |
philpem@5 | 146 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of rows of the instance image (size along the Y-axis, i.e image height). <br></td></tr> |
philpem@5 | 147 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b310ef9114198b570d035fd914d5a215"></a><!-- doxytag: member="cimg_library::CImg::dimz" ref="b310ef9114198b570d035fd914d5a215" args="() const " --> |
philpem@5 | 148 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b310ef9114198b570d035fd914d5a215">dimz</a> () const </td></tr> |
philpem@5 | 149 | |
philpem@5 | 150 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of slices of the instance image (size along the Z-axis). <br></td></tr> |
philpem@5 | 151 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="36c46653147af22bf9163663c058ec6f"></a><!-- doxytag: member="cimg_library::CImg::dimv" ref="36c46653147af22bf9163663c058ec6f" args="() const " --> |
philpem@5 | 152 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f">dimv</a> () const </td></tr> |
philpem@5 | 153 | |
philpem@5 | 154 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of vector channels of the instance image (size along the V-axis). <br></td></tr> |
philpem@5 | 155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b72aa78538551f0df216de7f6ea2e95"></a><!-- doxytag: member="cimg_library::CImg::is_sameX" ref="3b72aa78538551f0df216de7f6ea2e95" args="(const unsigned int dx) const " --> |
philpem@5 | 156 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3b72aa78538551f0df216de7f6ea2e95">is_sameX</a> (const unsigned int dx) const </td></tr> |
philpem@5 | 157 | |
philpem@5 | 158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width. <br></td></tr> |
philpem@5 | 159 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="420cd1cddf318f832126b10403aef4fd"></a><!-- doxytag: member="cimg_library::CImg::is_sameX" ref="420cd1cddf318f832126b10403aef4fd" args="(const CImg< t > &img) const " --> |
philpem@5 | 160 | template<typename t > </td></tr> |
philpem@5 | 161 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#420cd1cddf318f832126b10403aef4fd">is_sameX</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 162 | |
philpem@5 | 163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images <code></code>(*this) and <code>img</code> have same width. <br></td></tr> |
philpem@5 | 164 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f2389ea0ff1313b23523d557980a8a6"></a><!-- doxytag: member="cimg_library::CImg::is_sameX" ref="6f2389ea0ff1313b23523d557980a8a6" args="(const CImgDisplay &disp) const " --> |
philpem@5 | 165 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6f2389ea0ff1313b23523d557980a8a6">is_sameX</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp) const </td></tr> |
philpem@5 | 166 | |
philpem@5 | 167 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images <code></code>(*this) and the display <code>disp</code> have same width. <br></td></tr> |
philpem@5 | 168 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cb6a0d74efed60628344ce37e44aca31"></a><!-- doxytag: member="cimg_library::CImg::is_sameY" ref="cb6a0d74efed60628344ce37e44aca31" args="(const unsigned int dy) const " --> |
philpem@5 | 169 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cb6a0d74efed60628344ce37e44aca31">is_sameY</a> (const unsigned int dy) const </td></tr> |
philpem@5 | 170 | |
philpem@5 | 171 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified height. <br></td></tr> |
philpem@5 | 172 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8cade7d256506acc4797ac9b3d62f8d7"></a><!-- doxytag: member="cimg_library::CImg::is_sameY" ref="8cade7d256506acc4797ac9b3d62f8d7" args="(const CImg< t > &img) const " --> |
philpem@5 | 173 | template<typename t > </td></tr> |
philpem@5 | 174 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8cade7d256506acc4797ac9b3d62f8d7">is_sameY</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 175 | |
philpem@5 | 176 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images <code></code>(*this) and <code>img</code> have same height. <br></td></tr> |
philpem@5 | 177 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a09668cd5a201595cccd19c4843066e7"></a><!-- doxytag: member="cimg_library::CImg::is_sameY" ref="a09668cd5a201595cccd19c4843066e7" args="(const CImgDisplay &disp) const " --> |
philpem@5 | 178 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a09668cd5a201595cccd19c4843066e7">is_sameY</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp) const </td></tr> |
philpem@5 | 179 | |
philpem@5 | 180 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images <code></code>(*this) and the display <code>disp</code> have same height. <br></td></tr> |
philpem@5 | 181 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae8da1879332cbb3807133b552d1cafe"></a><!-- doxytag: member="cimg_library::CImg::is_sameZ" ref="ae8da1879332cbb3807133b552d1cafe" args="(const unsigned int dz) const " --> |
philpem@5 | 182 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ae8da1879332cbb3807133b552d1cafe">is_sameZ</a> (const unsigned int dz) const </td></tr> |
philpem@5 | 183 | |
philpem@5 | 184 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified depth. <br></td></tr> |
philpem@5 | 185 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="56f92c4b59cbe1b73cf628e43203f516"></a><!-- doxytag: member="cimg_library::CImg::is_sameZ" ref="56f92c4b59cbe1b73cf628e43203f516" args="(const CImg< t > &img) const " --> |
philpem@5 | 186 | template<typename t > </td></tr> |
philpem@5 | 187 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#56f92c4b59cbe1b73cf628e43203f516">is_sameZ</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 188 | |
philpem@5 | 189 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images <code></code>(*this) and <code>img</code> have same depth. <br></td></tr> |
philpem@5 | 190 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd8ae750af0f68148227285c97036321"></a><!-- doxytag: member="cimg_library::CImg::is_sameV" ref="cd8ae750af0f68148227285c97036321" args="(const unsigned int dv) const " --> |
philpem@5 | 191 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cd8ae750af0f68148227285c97036321">is_sameV</a> (const unsigned int dv) const </td></tr> |
philpem@5 | 192 | |
philpem@5 | 193 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified number of channels. <br></td></tr> |
philpem@5 | 194 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a058d458f04a36267c48f0684e44ebf7"></a><!-- doxytag: member="cimg_library::CImg::is_sameV" ref="a058d458f04a36267c48f0684e44ebf7" args="(const CImg< t > &img) const " --> |
philpem@5 | 195 | template<typename t > </td></tr> |
philpem@5 | 196 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a058d458f04a36267c48f0684e44ebf7">is_sameV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 197 | |
philpem@5 | 198 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images <code></code>(*this) and <code>img</code> have same dim. <br></td></tr> |
philpem@5 | 199 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f202a5fce446abc81966aa0df075075c"></a><!-- doxytag: member="cimg_library::CImg::is_sameXY" ref="f202a5fce446abc81966aa0df075075c" args="(const unsigned int dx, const unsigned int dy) const " --> |
philpem@5 | 200 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f202a5fce446abc81966aa0df075075c">is_sameXY</a> (const unsigned int dx, const unsigned int dy) const </td></tr> |
philpem@5 | 201 | |
philpem@5 | 202 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width and height. <br></td></tr> |
philpem@5 | 203 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="36f980621a1b6cfac495bc3664459728"></a><!-- doxytag: member="cimg_library::CImg::is_sameXY" ref="36f980621a1b6cfac495bc3664459728" args="(const CImg< t > &img) const " --> |
philpem@5 | 204 | template<typename t > </td></tr> |
philpem@5 | 205 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#36f980621a1b6cfac495bc3664459728">is_sameXY</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 206 | |
philpem@5 | 207 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same width and same height. <br></td></tr> |
philpem@5 | 208 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75f62ffd782356fa2db23289bf97bed3"></a><!-- doxytag: member="cimg_library::CImg::is_sameXY" ref="75f62ffd782356fa2db23289bf97bed3" args="(const CImgDisplay &disp) const " --> |
philpem@5 | 209 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#75f62ffd782356fa2db23289bf97bed3">is_sameXY</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp) const </td></tr> |
philpem@5 | 210 | |
philpem@5 | 211 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image <code></code>(*this) and the display <code>disp</code> have same width and same height. <br></td></tr> |
philpem@5 | 212 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d19709f9f46ca0ab06a5942f91b8ee4"></a><!-- doxytag: member="cimg_library::CImg::is_sameXZ" ref="3d19709f9f46ca0ab06a5942f91b8ee4" args="(const unsigned int dx, const unsigned int dz) const " --> |
philpem@5 | 213 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3d19709f9f46ca0ab06a5942f91b8ee4">is_sameXZ</a> (const unsigned int dx, const unsigned int dz) const </td></tr> |
philpem@5 | 214 | |
philpem@5 | 215 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width and depth. <br></td></tr> |
philpem@5 | 216 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b1c89e89bd61546d5b0a98040c37356e"></a><!-- doxytag: member="cimg_library::CImg::is_sameXZ" ref="b1c89e89bd61546d5b0a98040c37356e" args="(const CImg< t > &img) const " --> |
philpem@5 | 217 | template<typename t > </td></tr> |
philpem@5 | 218 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b1c89e89bd61546d5b0a98040c37356e">is_sameXZ</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 219 | |
philpem@5 | 220 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same width and same depth. <br></td></tr> |
philpem@5 | 221 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1196976be93ae9d179bd9de3a5d997fe"></a><!-- doxytag: member="cimg_library::CImg::is_sameXV" ref="1196976be93ae9d179bd9de3a5d997fe" args="(const unsigned int dx, const unsigned int dv) const " --> |
philpem@5 | 222 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1196976be93ae9d179bd9de3a5d997fe">is_sameXV</a> (const unsigned int dx, const unsigned int dv) const </td></tr> |
philpem@5 | 223 | |
philpem@5 | 224 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width and number of channels. <br></td></tr> |
philpem@5 | 225 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="347940f1389ae54b86f2d899b8690c8a"></a><!-- doxytag: member="cimg_library::CImg::is_sameXV" ref="347940f1389ae54b86f2d899b8690c8a" args="(const CImg< t > &img) const " --> |
philpem@5 | 226 | template<typename t > </td></tr> |
philpem@5 | 227 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#347940f1389ae54b86f2d899b8690c8a">is_sameXV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 228 | |
philpem@5 | 229 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same width and same number of channels. <br></td></tr> |
philpem@5 | 230 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="229ee758d966e13dc65cc853b5bc2566"></a><!-- doxytag: member="cimg_library::CImg::is_sameYZ" ref="229ee758d966e13dc65cc853b5bc2566" args="(const unsigned int dy, const unsigned int dz) const " --> |
philpem@5 | 231 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#229ee758d966e13dc65cc853b5bc2566">is_sameYZ</a> (const unsigned int dy, const unsigned int dz) const </td></tr> |
philpem@5 | 232 | |
philpem@5 | 233 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified height and depth. <br></td></tr> |
philpem@5 | 234 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5d863be6ae8d5d8ab0af39aa78174b2f"></a><!-- doxytag: member="cimg_library::CImg::is_sameYZ" ref="5d863be6ae8d5d8ab0af39aa78174b2f" args="(const CImg< t > &img) const " --> |
philpem@5 | 235 | template<typename t > </td></tr> |
philpem@5 | 236 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5d863be6ae8d5d8ab0af39aa78174b2f">is_sameYZ</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 237 | |
philpem@5 | 238 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same height and same depth. <br></td></tr> |
philpem@5 | 239 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64684b41dcd2a660962be8df5d30d2cf"></a><!-- doxytag: member="cimg_library::CImg::is_sameYV" ref="64684b41dcd2a660962be8df5d30d2cf" args="(const unsigned int dy, const unsigned int dv) const " --> |
philpem@5 | 240 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#64684b41dcd2a660962be8df5d30d2cf">is_sameYV</a> (const unsigned int dy, const unsigned int dv) const </td></tr> |
philpem@5 | 241 | |
philpem@5 | 242 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified height and number of channels. <br></td></tr> |
philpem@5 | 243 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="dbaf8d3f0429c8bf720419cdfffee029"></a><!-- doxytag: member="cimg_library::CImg::is_sameYV" ref="dbaf8d3f0429c8bf720419cdfffee029" args="(const CImg< t > &img) const " --> |
philpem@5 | 244 | template<typename t > </td></tr> |
philpem@5 | 245 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dbaf8d3f0429c8bf720419cdfffee029">is_sameYV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 246 | |
philpem@5 | 247 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same height and same number of channels. <br></td></tr> |
philpem@5 | 248 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45b15ba0da79440024af5428443c8a35"></a><!-- doxytag: member="cimg_library::CImg::is_sameZV" ref="45b15ba0da79440024af5428443c8a35" args="(const unsigned int dz, const unsigned int dv) const " --> |
philpem@5 | 249 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#45b15ba0da79440024af5428443c8a35">is_sameZV</a> (const unsigned int dz, const unsigned int dv) const </td></tr> |
philpem@5 | 250 | |
philpem@5 | 251 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified depth and number of channels. <br></td></tr> |
philpem@5 | 252 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="fcd67d621531a0cfe2d9c004442b3575"></a><!-- doxytag: member="cimg_library::CImg::is_sameZV" ref="fcd67d621531a0cfe2d9c004442b3575" args="(const CImg< t > &img) const " --> |
philpem@5 | 253 | template<typename t > </td></tr> |
philpem@5 | 254 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fcd67d621531a0cfe2d9c004442b3575">is_sameZV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 255 | |
philpem@5 | 256 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same depth and same number of channels. <br></td></tr> |
philpem@5 | 257 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="36a12bf20a1d6cf863f505877e30bdce"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYZ" ref="36a12bf20a1d6cf863f505877e30bdce" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz) const " --> |
philpem@5 | 258 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#36a12bf20a1d6cf863f505877e30bdce">is_sameXYZ</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz) const </td></tr> |
philpem@5 | 259 | |
philpem@5 | 260 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width, height and depth. <br></td></tr> |
philpem@5 | 261 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0fbd732196771e98d2d3418eb03f1d77"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYZ" ref="0fbd732196771e98d2d3418eb03f1d77" args="(const CImg< t > &img) const " --> |
philpem@5 | 262 | template<typename t > </td></tr> |
philpem@5 | 263 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0fbd732196771e98d2d3418eb03f1d77">is_sameXYZ</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 264 | |
philpem@5 | 265 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same width, same height and same depth. <br></td></tr> |
philpem@5 | 266 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f79477b4ed4ba3e40f96363eeb735049"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYV" ref="f79477b4ed4ba3e40f96363eeb735049" args="(const unsigned int dx, const unsigned int dy, const unsigned int dv) const " --> |
philpem@5 | 267 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f79477b4ed4ba3e40f96363eeb735049">is_sameXYV</a> (const unsigned int dx, const unsigned int dy, const unsigned int dv) const </td></tr> |
philpem@5 | 268 | |
philpem@5 | 269 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width, height and depth. <br></td></tr> |
philpem@5 | 270 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7ed2c655d9f41a24c98e98bac5efba20"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYV" ref="7ed2c655d9f41a24c98e98bac5efba20" args="(const CImg< t > &img) const " --> |
philpem@5 | 271 | template<typename t > </td></tr> |
philpem@5 | 272 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7ed2c655d9f41a24c98e98bac5efba20">is_sameXYV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 273 | |
philpem@5 | 274 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same width, same height and same number of channels. <br></td></tr> |
philpem@5 | 275 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f1f9f15a7ca3dff58e5ee2d0e90b3e2"></a><!-- doxytag: member="cimg_library::CImg::is_sameXZV" ref="5f1f9f15a7ca3dff58e5ee2d0e90b3e2" args="(const unsigned int dx, const unsigned int dz, const unsigned int dv) const " --> |
philpem@5 | 276 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5f1f9f15a7ca3dff58e5ee2d0e90b3e2">is_sameXZV</a> (const unsigned int dx, const unsigned int dz, const unsigned int dv) const </td></tr> |
philpem@5 | 277 | |
philpem@5 | 278 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width, height and number of channels. <br></td></tr> |
philpem@5 | 279 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="258e2b87c574f0d48376d68f650d161d"></a><!-- doxytag: member="cimg_library::CImg::is_sameXZV" ref="258e2b87c574f0d48376d68f650d161d" args="(const CImg< t > &img) const " --> |
philpem@5 | 280 | template<typename t > </td></tr> |
philpem@5 | 281 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#258e2b87c574f0d48376d68f650d161d">is_sameXZV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 282 | |
philpem@5 | 283 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same width, same depth and same number of channels. <br></td></tr> |
philpem@5 | 284 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89c7b83529cf137f8fe3b946b7a859dd"></a><!-- doxytag: member="cimg_library::CImg::is_sameYZV" ref="89c7b83529cf137f8fe3b946b7a859dd" args="(const unsigned int dy, const unsigned int dz, const unsigned int dv) const " --> |
philpem@5 | 285 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#89c7b83529cf137f8fe3b946b7a859dd">is_sameYZV</a> (const unsigned int dy, const unsigned int dz, const unsigned int dv) const </td></tr> |
philpem@5 | 286 | |
philpem@5 | 287 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified height, depth and number of channels. <br></td></tr> |
philpem@5 | 288 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="10f8cee08e95111cc9bb227ca11b079f"></a><!-- doxytag: member="cimg_library::CImg::is_sameYZV" ref="10f8cee08e95111cc9bb227ca11b079f" args="(const CImg< t > &img) const " --> |
philpem@5 | 289 | template<typename t > </td></tr> |
philpem@5 | 290 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#10f8cee08e95111cc9bb227ca11b079f">is_sameYZV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 291 | |
philpem@5 | 292 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same heigth, same depth and same number of channels. <br></td></tr> |
philpem@5 | 293 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ae8cb401527d16ee8d3b42deb6950f4"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYZV" ref="5ae8cb401527d16ee8d3b42deb6950f4" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv) const " --> |
philpem@5 | 294 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5ae8cb401527d16ee8d3b42deb6950f4">is_sameXYZV</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv) const </td></tr> |
philpem@5 | 295 | |
philpem@5 | 296 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image (*this) has the specified width, height, depth and number of channels. <br></td></tr> |
philpem@5 | 297 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8d5a5b714082a0cd2315b19984e69163"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYZV" ref="8d5a5b714082a0cd2315b19984e69163" args="(const CImg< t > &img) const " --> |
philpem@5 | 298 | template<typename t > </td></tr> |
philpem@5 | 299 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8d5a5b714082a0cd2315b19984e69163">is_sameXYZV</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 300 | |
philpem@5 | 301 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images <code></code>(*this) and <code>img</code> have same width, same height, same depth and same number of channels. <br></td></tr> |
philpem@5 | 302 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cef8e33cfd36a5d7d2fad939efcf02e3"></a><!-- doxytag: member="cimg_library::CImg::is_empty" ref="cef8e33cfd36a5d7d2fad939efcf02e3" args="() const " --> |
philpem@5 | 303 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cef8e33cfd36a5d7d2fad939efcf02e3">is_empty</a> () const </td></tr> |
philpem@5 | 304 | |
philpem@5 | 305 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if current image is empty. <br></td></tr> |
philpem@5 | 306 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a385aa18f5e42db5a415c25a90f4193d"></a><!-- doxytag: member="cimg_library::CImg::operator bool" ref="a385aa18f5e42db5a415c25a90f4193d" args="() const " --> |
philpem@5 | 307 | </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a385aa18f5e42db5a415c25a90f4193d">operator bool</a> () const </td></tr> |
philpem@5 | 308 | |
philpem@5 | 309 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if image is not empty. <br></td></tr> |
philpem@5 | 310 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d69bd11391be1a1dba5c8202259664f8"></a><!-- doxytag: member="cimg_library::CImg::begin" ref="d69bd11391be1a1dba5c8202259664f8" args="()" --> |
philpem@5 | 311 | <a class="el" href="structcimg__library_1_1CImg.html#35c955cacac6aacaa1e82874b1628865">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d69bd11391be1a1dba5c8202259664f8">begin</a> ()</td></tr> |
philpem@5 | 312 | |
philpem@5 | 313 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return an iterator to the first image pixel. <br></td></tr> |
philpem@5 | 314 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4b02d4f1a8500fb07a551069060709f"></a><!-- doxytag: member="cimg_library::CImg::begin" ref="a4b02d4f1a8500fb07a551069060709f" args="() const " --> |
philpem@5 | 315 | <a class="el" href="structcimg__library_1_1CImg.html#2fc97dce62b7053449cc868607540dba">const_iterator</a> </td><td class="memItemRight" valign="bottom"><b>begin</b> () const </td></tr> |
philpem@5 | 316 | |
philpem@5 | 317 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d8f0a8dd427c22a66a7e798183f2b72"></a><!-- doxytag: member="cimg_library::CImg::first" ref="2d8f0a8dd427c22a66a7e798183f2b72" args="() const " --> |
philpem@5 | 318 | const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2d8f0a8dd427c22a66a7e798183f2b72">first</a> () const </td></tr> |
philpem@5 | 319 | |
philpem@5 | 320 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return reference to the first image pixel. <br></td></tr> |
philpem@5 | 321 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7623ebf1de749ead723a8a20ffb9475a"></a><!-- doxytag: member="cimg_library::CImg::first" ref="7623ebf1de749ead723a8a20ffb9475a" args="()" --> |
philpem@5 | 322 | T & </td><td class="memItemRight" valign="bottom"><b>first</b> ()</td></tr> |
philpem@5 | 323 | |
philpem@5 | 324 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cad38d52497a975bfb6f2f6acd76631f"></a><!-- doxytag: member="cimg_library::CImg::end" ref="cad38d52497a975bfb6f2f6acd76631f" args="()" --> |
philpem@5 | 325 | <a class="el" href="structcimg__library_1_1CImg.html#35c955cacac6aacaa1e82874b1628865">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cad38d52497a975bfb6f2f6acd76631f">end</a> ()</td></tr> |
philpem@5 | 326 | |
philpem@5 | 327 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return an iterator pointing after the last image pixel. <br></td></tr> |
philpem@5 | 328 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="350132543d80a1c1e5be844e6d2878ea"></a><!-- doxytag: member="cimg_library::CImg::end" ref="350132543d80a1c1e5be844e6d2878ea" args="() const " --> |
philpem@5 | 329 | <a class="el" href="structcimg__library_1_1CImg.html#2fc97dce62b7053449cc868607540dba">const_iterator</a> </td><td class="memItemRight" valign="bottom"><b>end</b> () const </td></tr> |
philpem@5 | 330 | |
philpem@5 | 331 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4fc1d283512c7d8834f1692a1dd6cef5"></a><!-- doxytag: member="cimg_library::CImg::last" ref="4fc1d283512c7d8834f1692a1dd6cef5" args="() const " --> |
philpem@5 | 332 | const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4fc1d283512c7d8834f1692a1dd6cef5">last</a> () const </td></tr> |
philpem@5 | 333 | |
philpem@5 | 334 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the last image pixel. <br></td></tr> |
philpem@5 | 335 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8af3592c894b63653a2c8369e00fc4cb"></a><!-- doxytag: member="cimg_library::CImg::last" ref="8af3592c894b63653a2c8369e00fc4cb" args="()" --> |
philpem@5 | 336 | T & </td><td class="memItemRight" valign="bottom"><b>last</b> ()</td></tr> |
philpem@5 | 337 | |
philpem@5 | 338 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3295aee3e56bc13ea3aa5d1a5dc6bcda"></a><!-- doxytag: member="cimg_library::CImg::ptr" ref="3295aee3e56bc13ea3aa5d1a5dc6bcda" args="()" --> |
philpem@5 | 339 | T * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3295aee3e56bc13ea3aa5d1a5dc6bcda">ptr</a> ()</td></tr> |
philpem@5 | 340 | |
philpem@5 | 341 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer to the pixel buffer. <br></td></tr> |
philpem@5 | 342 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc480ddcdd112bbeca366a5ae623b920"></a><!-- doxytag: member="cimg_library::CImg::ptr" ref="fc480ddcdd112bbeca366a5ae623b920" args="() const " --> |
philpem@5 | 343 | const T * </td><td class="memItemRight" valign="bottom"><b>ptr</b> () const </td></tr> |
philpem@5 | 344 | |
philpem@5 | 345 | <tr><td class="memItemLeft" nowrap align="right" valign="top">T * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#abc5597643805d6e4f11100eee6b2852">ptr</a> (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)</td></tr> |
philpem@5 | 346 | |
philpem@5 | 347 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer to the pixel value located at (<code>x</code>,<code>y</code>,<code>z</code>,<code>v</code>). <a href="#abc5597643805d6e4f11100eee6b2852"></a><br></td></tr> |
philpem@5 | 348 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa7209ce9b6e9a4fbc91b1ebe593dd2c"></a><!-- doxytag: member="cimg_library::CImg::ptr" ref="aa7209ce9b6e9a4fbc91b1ebe593dd2c" args="(const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) const " --> |
philpem@5 | 349 | const T * </td><td class="memItemRight" valign="bottom"><b>ptr</b> (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) const </td></tr> |
philpem@5 | 350 | |
philpem@5 | 351 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 352 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b37041213cf48faf44debd569ae93127">is_overlapped</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 353 | |
philpem@5 | 354 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if the memory buffers of the two images overlaps. <a href="#b37041213cf48faf44debd569ae93127"></a><br></td></tr> |
philpem@5 | 355 | <tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#afc4c62eb956815235bb896a1707f711">offset</a> (const int x, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 356 | |
philpem@5 | 357 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the offset of the pixel coordinates (<code>x</code>,<code>y</code>,<code>z</code>,<code>v</code>) with respect to the data pointer <code>data</code>. <a href="#afc4c62eb956815235bb896a1707f711"></a><br></td></tr> |
philpem@5 | 358 | <tr><td class="memItemLeft" nowrap align="right" valign="top">T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b8fbc19527504258380aaed12c4bec4b">operator()</a> (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)</td></tr> |
philpem@5 | 359 | |
philpem@5 | 360 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fast access to pixel value for reading or writing. <a href="#b8fbc19527504258380aaed12c4bec4b"></a><br></td></tr> |
philpem@5 | 361 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd4530780df6007e9608c35dc7fa0491"></a><!-- doxytag: member="cimg_library::CImg::operator()" ref="cd4530780df6007e9608c35dc7fa0491" args="(const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) const " --> |
philpem@5 | 362 | const T & </td><td class="memItemRight" valign="bottom"><b>operator()</b> (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) const </td></tr> |
philpem@5 | 363 | |
philpem@5 | 364 | <tr><td class="memItemLeft" nowrap align="right" valign="top">T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#87f4042f1af3428fa0ad1a9480286abe">operator[]</a> (const unsigned long off)</td></tr> |
philpem@5 | 365 | |
philpem@5 | 366 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fast access to pixel value for reading or writing, using an offset to the image pixel. <a href="#87f4042f1af3428fa0ad1a9480286abe"></a><br></td></tr> |
philpem@5 | 367 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa9c18de326912d7fcc9e8c5415b610e"></a><!-- doxytag: member="cimg_library::CImg::operator[]" ref="fa9c18de326912d7fcc9e8c5415b610e" args="(const unsigned long off) const " --> |
philpem@5 | 368 | const T & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const unsigned long off) const </td></tr> |
philpem@5 | 369 | |
philpem@5 | 370 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94c484819f66b605343298653d4b1d07"></a><!-- doxytag: member="cimg_library::CImg::back" ref="94c484819f66b605343298653d4b1d07" args="()" --> |
philpem@5 | 371 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#94c484819f66b605343298653d4b1d07">back</a> ()</td></tr> |
philpem@5 | 372 | |
philpem@5 | 373 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the last image value. <br></td></tr> |
philpem@5 | 374 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="66ff8d365d8820194730f759978dc1d0"></a><!-- doxytag: member="cimg_library::CImg::back" ref="66ff8d365d8820194730f759978dc1d0" args="() const " --> |
philpem@5 | 375 | const T & </td><td class="memItemRight" valign="bottom"><b>back</b> () const </td></tr> |
philpem@5 | 376 | |
philpem@5 | 377 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="55d9a449187445866021859f0cf708d0"></a><!-- doxytag: member="cimg_library::CImg::front" ref="55d9a449187445866021859f0cf708d0" args="()" --> |
philpem@5 | 378 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#55d9a449187445866021859f0cf708d0">front</a> ()</td></tr> |
philpem@5 | 379 | |
philpem@5 | 380 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the first image value. <br></td></tr> |
philpem@5 | 381 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="33144bdb055f125014515b05fffaea8e"></a><!-- doxytag: member="cimg_library::CImg::front" ref="33144bdb055f125014515b05fffaea8e" args="() const " --> |
philpem@5 | 382 | const T & </td><td class="memItemRight" valign="bottom"><b>front</b> () const </td></tr> |
philpem@5 | 383 | |
philpem@5 | 384 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e530958fd7fd7a1e7c5017c3e7c411de"></a><!-- doxytag: member="cimg_library::CImg::containsXYZV" ref="e530958fd7fd7a1e7c5017c3e7c411de" args="(const int x, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 385 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e530958fd7fd7a1e7c5017c3e7c411de">containsXYZV</a> (const int x, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 386 | |
philpem@5 | 387 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if pixel (x,y,z,v) is inside image boundaries. <br></td></tr> |
philpem@5 | 388 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3b2ecb5de17e820b6f9d67650c53f833"></a><!-- doxytag: member="cimg_library::CImg::contains" ref="3b2ecb5de17e820b6f9d67650c53f833" args="(const T &pixel, t &x, t &y, t &z, t &v) const " --> |
philpem@5 | 389 | template<typename t > </td></tr> |
philpem@5 | 390 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3b2ecb5de17e820b6f9d67650c53f833">contains</a> (const T &pixel, t &x, t &y, t &z, t &v) const </td></tr> |
philpem@5 | 391 | |
philpem@5 | 392 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y,z,v). <br></td></tr> |
philpem@5 | 393 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4e1066d2e2e4be26b8ddb59c4e6ea6a2"></a><!-- doxytag: member="cimg_library::CImg::contains" ref="4e1066d2e2e4be26b8ddb59c4e6ea6a2" args="(const T &pixel, t &x, t &y, t &z) const " --> |
philpem@5 | 394 | template<typename t > </td></tr> |
philpem@5 | 395 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4e1066d2e2e4be26b8ddb59c4e6ea6a2">contains</a> (const T &pixel, t &x, t &y, t &z) const </td></tr> |
philpem@5 | 396 | |
philpem@5 | 397 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y,z). <br></td></tr> |
philpem@5 | 398 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a55cfaf7d507c97343d750aa4c951ff3"></a><!-- doxytag: member="cimg_library::CImg::contains" ref="a55cfaf7d507c97343d750aa4c951ff3" args="(const T &pixel, t &x, t &y) const " --> |
philpem@5 | 399 | template<typename t > </td></tr> |
philpem@5 | 400 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a55cfaf7d507c97343d750aa4c951ff3">contains</a> (const T &pixel, t &x, t &y) const </td></tr> |
philpem@5 | 401 | |
philpem@5 | 402 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y). <br></td></tr> |
philpem@5 | 403 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0254f03aac63118f3fbc1ca3d9ede477"></a><!-- doxytag: member="cimg_library::CImg::contains" ref="0254f03aac63118f3fbc1ca3d9ede477" args="(const T &pixel, t &x) const " --> |
philpem@5 | 404 | template<typename t > </td></tr> |
philpem@5 | 405 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0254f03aac63118f3fbc1ca3d9ede477">contains</a> (const T &pixel, t &x) const </td></tr> |
philpem@5 | 406 | |
philpem@5 | 407 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x). <br></td></tr> |
philpem@5 | 408 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c209cb1eac5d34a620140e1fb221605b"></a><!-- doxytag: member="cimg_library::CImg::contains" ref="c209cb1eac5d34a620140e1fb221605b" args="(const T &pixel) const " --> |
philpem@5 | 409 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c209cb1eac5d34a620140e1fb221605b">contains</a> (const T &pixel) const </td></tr> |
philpem@5 | 410 | |
philpem@5 | 411 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if specified referenced value is inside the image boundaries. <br></td></tr> |
philpem@5 | 412 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e62c450ce69d12159278e628ec8b874"></a><!-- doxytag: member="cimg_library::CImg::at" ref="0e62c450ce69d12159278e628ec8b874" args="(const int off, const T out_val)" --> |
philpem@5 | 413 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0e62c450ce69d12159278e628ec8b874">at</a> (const int off, const T out_val)</td></tr> |
philpem@5 | 414 | |
philpem@5 | 415 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet boundary conditions. <br></td></tr> |
philpem@5 | 416 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16a32b4dc6a873a75ba4c7d6ea17b602"></a><!-- doxytag: member="cimg_library::CImg::at" ref="16a32b4dc6a873a75ba4c7d6ea17b602" args="(const int off, const T out_val) const " --> |
philpem@5 | 417 | T </td><td class="memItemRight" valign="bottom"><b>at</b> (const int off, const T out_val) const </td></tr> |
philpem@5 | 418 | |
philpem@5 | 419 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8cbb8d33ec7b0bacfbbade8a07ed556"></a><!-- doxytag: member="cimg_library::CImg::at" ref="d8cbb8d33ec7b0bacfbbade8a07ed556" args="(const int off)" --> |
philpem@5 | 420 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d8cbb8d33ec7b0bacfbbade8a07ed556">at</a> (const int off)</td></tr> |
philpem@5 | 421 | |
philpem@5 | 422 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Neumann boundary conditions. <br></td></tr> |
philpem@5 | 423 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1f256912e3ea22f28e89d7d3a4e2b5a8"></a><!-- doxytag: member="cimg_library::CImg::at" ref="1f256912e3ea22f28e89d7d3a4e2b5a8" args="(const int off) const " --> |
philpem@5 | 424 | T </td><td class="memItemRight" valign="bottom"><b>at</b> (const int off) const </td></tr> |
philpem@5 | 425 | |
philpem@5 | 426 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4f28e193bfebe7a5fb45eb33af85496"></a><!-- doxytag: member="cimg_library::CImg::_at" ref="a4f28e193bfebe7a5fb45eb33af85496" args="(const int off)" --> |
philpem@5 | 427 | T & </td><td class="memItemRight" valign="bottom"><b>_at</b> (const int off)</td></tr> |
philpem@5 | 428 | |
philpem@5 | 429 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05c25b71a374a15a500c4a0c322ba5a7"></a><!-- doxytag: member="cimg_library::CImg::_at" ref="05c25b71a374a15a500c4a0c322ba5a7" args="(const int off) const " --> |
philpem@5 | 430 | T </td><td class="memItemRight" valign="bottom"><b>_at</b> (const int off) const </td></tr> |
philpem@5 | 431 | |
philpem@5 | 432 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4134a3af3c88f595266ad70697678958"></a><!-- doxytag: member="cimg_library::CImg::atXYZV" ref="4134a3af3c88f595266ad70697678958" args="(const int x, const int y, const int z, const int v, const T out_val)" --> |
philpem@5 | 433 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4134a3af3c88f595266ad70697678958">atXYZV</a> (const int x, const int y, const int z, const int v, const T out_val)</td></tr> |
philpem@5 | 434 | |
philpem@5 | 435 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet boundary conditions. <br></td></tr> |
philpem@5 | 436 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44fd5019da72ac15c52075baa94ef094"></a><!-- doxytag: member="cimg_library::CImg::atXYZV" ref="44fd5019da72ac15c52075baa94ef094" args="(const int x, const int y, const int z, const int v, const T out_val) const " --> |
philpem@5 | 437 | T </td><td class="memItemRight" valign="bottom"><b>atXYZV</b> (const int x, const int y, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 438 | |
philpem@5 | 439 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcfb692a3e43747bc1d9c1da63e13be8"></a><!-- doxytag: member="cimg_library::CImg::atXYZV" ref="bcfb692a3e43747bc1d9c1da63e13be8" args="(const int x, const int y, const int z, const int v)" --> |
philpem@5 | 440 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bcfb692a3e43747bc1d9c1da63e13be8">atXYZV</a> (const int x, const int y, const int z, const int v)</td></tr> |
philpem@5 | 441 | |
philpem@5 | 442 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Neumann boundary conditions. <br></td></tr> |
philpem@5 | 443 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1fc84e117ac98b23ca2fd9b471869e92"></a><!-- doxytag: member="cimg_library::CImg::atXYZV" ref="1fc84e117ac98b23ca2fd9b471869e92" args="(const int x, const int y, const int z, const int v) const " --> |
philpem@5 | 444 | T </td><td class="memItemRight" valign="bottom"><b>atXYZV</b> (const int x, const int y, const int z, const int v) const </td></tr> |
philpem@5 | 445 | |
philpem@5 | 446 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="09557ea193ed29276872554b610455a0"></a><!-- doxytag: member="cimg_library::CImg::_atXYZV" ref="09557ea193ed29276872554b610455a0" args="(const int x, const int y, const int z, const int v)" --> |
philpem@5 | 447 | T & </td><td class="memItemRight" valign="bottom"><b>_atXYZV</b> (const int x, const int y, const int z, const int v)</td></tr> |
philpem@5 | 448 | |
philpem@5 | 449 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0cd5a049c20a5e7133ae3641d4b50998"></a><!-- doxytag: member="cimg_library::CImg::_atXYZV" ref="0cd5a049c20a5e7133ae3641d4b50998" args="(const int x, const int y, const int z, const int v) const " --> |
philpem@5 | 450 | T </td><td class="memItemRight" valign="bottom"><b>_atXYZV</b> (const int x, const int y, const int z, const int v) const </td></tr> |
philpem@5 | 451 | |
philpem@5 | 452 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e932796fa97d382efd30537165b48257"></a><!-- doxytag: member="cimg_library::CImg::atXYZ" ref="e932796fa97d382efd30537165b48257" args="(const int x, const int y, const int z, const int v, const T out_val)" --> |
philpem@5 | 453 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e932796fa97d382efd30537165b48257">atXYZ</a> (const int x, const int y, const int z, const int v, const T out_val)</td></tr> |
philpem@5 | 454 | |
philpem@5 | 455 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet boundary conditions for the three first coordinates (<code>x</code>,<code>y</code>,<code>z</code>). <br></td></tr> |
philpem@5 | 456 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a50f8ad8d3b705430b0bc3c5d186bd81"></a><!-- doxytag: member="cimg_library::CImg::atXYZ" ref="a50f8ad8d3b705430b0bc3c5d186bd81" args="(const int x, const int y, const int z, const int v, const T out_val) const " --> |
philpem@5 | 457 | T </td><td class="memItemRight" valign="bottom"><b>atXYZ</b> (const int x, const int y, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 458 | |
philpem@5 | 459 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="341b51537773e271b846aa98bd24284f"></a><!-- doxytag: member="cimg_library::CImg::atXYZ" ref="341b51537773e271b846aa98bd24284f" args="(const int x, const int y, const int z, const int v=0)" --> |
philpem@5 | 460 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#341b51537773e271b846aa98bd24284f">atXYZ</a> (const int x, const int y, const int z, const int v=0)</td></tr> |
philpem@5 | 461 | |
philpem@5 | 462 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Neumann boundary conditions for the three first coordinates (<code>x</code>,<code>y</code>,<code>z</code>). <br></td></tr> |
philpem@5 | 463 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de76643f1d04019806d748ce5fbd8a18"></a><!-- doxytag: member="cimg_library::CImg::atXYZ" ref="de76643f1d04019806d748ce5fbd8a18" args="(const int x, const int y, const int z, const int v=0) const " --> |
philpem@5 | 464 | T </td><td class="memItemRight" valign="bottom"><b>atXYZ</b> (const int x, const int y, const int z, const int v=0) const </td></tr> |
philpem@5 | 465 | |
philpem@5 | 466 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f89d5a80309a8533f83602d8dc9d9659"></a><!-- doxytag: member="cimg_library::CImg::_atXYZ" ref="f89d5a80309a8533f83602d8dc9d9659" args="(const int x, const int y, const int z, const int v=0)" --> |
philpem@5 | 467 | T & </td><td class="memItemRight" valign="bottom"><b>_atXYZ</b> (const int x, const int y, const int z, const int v=0)</td></tr> |
philpem@5 | 468 | |
philpem@5 | 469 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8b51fbbf8722a3002e4084b5aeeab48d"></a><!-- doxytag: member="cimg_library::CImg::_atXYZ" ref="8b51fbbf8722a3002e4084b5aeeab48d" args="(const int x, const int y, const int z, const int v=0) const " --> |
philpem@5 | 470 | T </td><td class="memItemRight" valign="bottom"><b>_atXYZ</b> (const int x, const int y, const int z, const int v=0) const </td></tr> |
philpem@5 | 471 | |
philpem@5 | 472 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf9f44c9b6025bc3ffdcf0ffffa85e01"></a><!-- doxytag: member="cimg_library::CImg::atXY" ref="cf9f44c9b6025bc3ffdcf0ffffa85e01" args="(const int x, const int y, const int z, const int v, const T out_val)" --> |
philpem@5 | 473 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cf9f44c9b6025bc3ffdcf0ffffa85e01">atXY</a> (const int x, const int y, const int z, const int v, const T out_val)</td></tr> |
philpem@5 | 474 | |
philpem@5 | 475 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet boundary conditions for the two first coordinates (<code>x</code>,<code>y</code>). <br></td></tr> |
philpem@5 | 476 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="19d38a4e743c2542a1e9d05d5ffb019a"></a><!-- doxytag: member="cimg_library::CImg::atXY" ref="19d38a4e743c2542a1e9d05d5ffb019a" args="(const int x, const int y, const int z, const int v, const T out_val) const " --> |
philpem@5 | 477 | T </td><td class="memItemRight" valign="bottom"><b>atXY</b> (const int x, const int y, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 478 | |
philpem@5 | 479 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3f153bea6d9f54e83f37334cc4d7bd4b"></a><!-- doxytag: member="cimg_library::CImg::atXY" ref="3f153bea6d9f54e83f37334cc4d7bd4b" args="(const int x, const int y, const int z=0, const int v=0)" --> |
philpem@5 | 480 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3f153bea6d9f54e83f37334cc4d7bd4b">atXY</a> (const int x, const int y, const int z=0, const int v=0)</td></tr> |
philpem@5 | 481 | |
philpem@5 | 482 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Neumann boundary conditions for the two first coordinates (<code>x</code>,<code>y</code>). <br></td></tr> |
philpem@5 | 483 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f107465041862bef02131780d664cf3"></a><!-- doxytag: member="cimg_library::CImg::atXY" ref="0f107465041862bef02131780d664cf3" args="(const int x, const int y, const int z=0, const int v=0) const " --> |
philpem@5 | 484 | T </td><td class="memItemRight" valign="bottom"><b>atXY</b> (const int x, const int y, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 485 | |
philpem@5 | 486 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d7c7d12b5461bbabf0b15b2d864c20"></a><!-- doxytag: member="cimg_library::CImg::_atXY" ref="67d7c7d12b5461bbabf0b15b2d864c20" args="(const int x, const int y, const int z=0, const int v=0)" --> |
philpem@5 | 487 | T & </td><td class="memItemRight" valign="bottom"><b>_atXY</b> (const int x, const int y, const int z=0, const int v=0)</td></tr> |
philpem@5 | 488 | |
philpem@5 | 489 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03f59301f596ce90a54a4c1faf041039"></a><!-- doxytag: member="cimg_library::CImg::_atXY" ref="03f59301f596ce90a54a4c1faf041039" args="(const int x, const int y, const int z=0, const int v=0) const " --> |
philpem@5 | 490 | T </td><td class="memItemRight" valign="bottom"><b>_atXY</b> (const int x, const int y, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 491 | |
philpem@5 | 492 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f91627d8f0ebe52d83d5cc087ead017d"></a><!-- doxytag: member="cimg_library::CImg::atX" ref="f91627d8f0ebe52d83d5cc087ead017d" args="(const int x, const int y, const int z, const int v, const T out_val)" --> |
philpem@5 | 493 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f91627d8f0ebe52d83d5cc087ead017d">atX</a> (const int x, const int y, const int z, const int v, const T out_val)</td></tr> |
philpem@5 | 494 | |
philpem@5 | 495 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet boundary conditions for the first coordinates (<code>x</code>). <br></td></tr> |
philpem@5 | 496 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4449ae0218af18468ee4adcb3fcd1588"></a><!-- doxytag: member="cimg_library::CImg::atX" ref="4449ae0218af18468ee4adcb3fcd1588" args="(const int x, const int y, const int z, const int v, const T out_val) const " --> |
philpem@5 | 497 | T </td><td class="memItemRight" valign="bottom"><b>atX</b> (const int x, const int y, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 498 | |
philpem@5 | 499 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b101e24bec2ee98802ae86055d7ca90"></a><!-- doxytag: member="cimg_library::CImg::atX" ref="6b101e24bec2ee98802ae86055d7ca90" args="(const int x, const int y=0, const int z=0, const int v=0)" --> |
philpem@5 | 500 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6b101e24bec2ee98802ae86055d7ca90">atX</a> (const int x, const int y=0, const int z=0, const int v=0)</td></tr> |
philpem@5 | 501 | |
philpem@5 | 502 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Neumann boundary conditions for the first coordinates (<code>x</code>). <br></td></tr> |
philpem@5 | 503 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3891dbb7e480616afa4f45a791d8fad0"></a><!-- doxytag: member="cimg_library::CImg::atX" ref="3891dbb7e480616afa4f45a791d8fad0" args="(const int x, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 504 | T </td><td class="memItemRight" valign="bottom"><b>atX</b> (const int x, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 505 | |
philpem@5 | 506 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1cf57f5ba4fe267a6a22fe80cdea21d8"></a><!-- doxytag: member="cimg_library::CImg::_atX" ref="1cf57f5ba4fe267a6a22fe80cdea21d8" args="(const int x, const int y=0, const int z=0, const int v=0)" --> |
philpem@5 | 507 | T & </td><td class="memItemRight" valign="bottom"><b>_atX</b> (const int x, const int y=0, const int z=0, const int v=0)</td></tr> |
philpem@5 | 508 | |
philpem@5 | 509 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d6b948a4a473f1f4ab21b2dbd458a13"></a><!-- doxytag: member="cimg_library::CImg::_atX" ref="4d6b948a4a473f1f4ab21b2dbd458a13" args="(const int x, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 510 | T </td><td class="memItemRight" valign="bottom"><b>_atX</b> (const int x, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 511 | |
philpem@5 | 512 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ad85b5a6a622470a8c36d31e5e46915"></a><!-- doxytag: member="cimg_library::CImg::linear_atXYZV" ref="2ad85b5a6a622470a8c36d31e5e46915" args="(const float fx, const float fy, const float fz, const float fv, const T out_val) const " --> |
philpem@5 | 513 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2ad85b5a6a622470a8c36d31e5e46915">linear_atXYZV</a> (const float fx, const float fy, const float fz, const float fv, const T out_val) const </td></tr> |
philpem@5 | 514 | |
philpem@5 | 515 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Dirichlet boundary conditions. <br></td></tr> |
philpem@5 | 516 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="789464cda2b6dc5f792e790d1398e353"></a><!-- doxytag: member="cimg_library::CImg::linear_atXYZV" ref="789464cda2b6dc5f792e790d1398e353" args="(const float fx, const float fy=0, const float fz=0, const float fv=0) const " --> |
philpem@5 | 517 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#789464cda2b6dc5f792e790d1398e353">linear_atXYZV</a> (const float fx, const float fy=0, const float fz=0, const float fv=0) const </td></tr> |
philpem@5 | 518 | |
philpem@5 | 519 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Neumann boundary conditions. <br></td></tr> |
philpem@5 | 520 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d611b0f4afc8dc6598c141eb7e07d10"></a><!-- doxytag: member="cimg_library::CImg::_linear_atXYZV" ref="2d611b0f4afc8dc6598c141eb7e07d10" args="(const float fx, const float fy=0, const float fz=0, const float fv=0) const " --> |
philpem@5 | 521 | Tfloat </td><td class="memItemRight" valign="bottom"><b>_linear_atXYZV</b> (const float fx, const float fy=0, const float fz=0, const float fv=0) const </td></tr> |
philpem@5 | 522 | |
philpem@5 | 523 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a070b89df5e2ff8b70e2d74cc498d622"></a><!-- doxytag: member="cimg_library::CImg::linear_atXYZ" ref="a070b89df5e2ff8b70e2d74cc498d622" args="(const float fx, const float fy, const float fz, const int v, const T out_val) const " --> |
philpem@5 | 524 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a070b89df5e2ff8b70e2d74cc498d622">linear_atXYZ</a> (const float fx, const float fy, const float fz, const int v, const T out_val) const </td></tr> |
philpem@5 | 525 | |
philpem@5 | 526 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Dirichlet boundary conditions (first three coordinates). <br></td></tr> |
philpem@5 | 527 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d78999f0afa9e61068fb7ab0a4dc490"></a><!-- doxytag: member="cimg_library::CImg::linear_atXYZ" ref="2d78999f0afa9e61068fb7ab0a4dc490" args="(const float fx, const float fy=0, const float fz=0, const int v=0) const " --> |
philpem@5 | 528 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2d78999f0afa9e61068fb7ab0a4dc490">linear_atXYZ</a> (const float fx, const float fy=0, const float fz=0, const int v=0) const </td></tr> |
philpem@5 | 529 | |
philpem@5 | 530 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Neumann boundary conditions (first three coordinates). <br></td></tr> |
philpem@5 | 531 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec2c8db234019bb1d3d662634565caff"></a><!-- doxytag: member="cimg_library::CImg::_linear_atXYZ" ref="ec2c8db234019bb1d3d662634565caff" args="(const float fx, const float fy=0, const float fz=0, const int v=0) const " --> |
philpem@5 | 532 | Tfloat </td><td class="memItemRight" valign="bottom"><b>_linear_atXYZ</b> (const float fx, const float fy=0, const float fz=0, const int v=0) const </td></tr> |
philpem@5 | 533 | |
philpem@5 | 534 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b57f219b9ab6a0c7fe76f10c9ced45c"></a><!-- doxytag: member="cimg_library::CImg::linear_atXY" ref="5b57f219b9ab6a0c7fe76f10c9ced45c" args="(const float fx, const float fy, const int z, const int v, const T out_val) const " --> |
philpem@5 | 535 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5b57f219b9ab6a0c7fe76f10c9ced45c">linear_atXY</a> (const float fx, const float fy, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 536 | |
philpem@5 | 537 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Dirichlet boundary conditions (first two coordinates). <br></td></tr> |
philpem@5 | 538 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d92b4d96f12418e018fb95a5f3f2bc34"></a><!-- doxytag: member="cimg_library::CImg::linear_atXY" ref="d92b4d96f12418e018fb95a5f3f2bc34" args="(const float fx, const float fy, const int z=0, const int v=0) const " --> |
philpem@5 | 539 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d92b4d96f12418e018fb95a5f3f2bc34">linear_atXY</a> (const float fx, const float fy, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 540 | |
philpem@5 | 541 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Neumann boundary conditions (first two coordinates). <br></td></tr> |
philpem@5 | 542 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="689228616e27ff3a12af196e40c8995b"></a><!-- doxytag: member="cimg_library::CImg::_linear_atXY" ref="689228616e27ff3a12af196e40c8995b" args="(const float fx, const float fy, const int z=0, const int v=0) const " --> |
philpem@5 | 543 | Tfloat </td><td class="memItemRight" valign="bottom"><b>_linear_atXY</b> (const float fx, const float fy, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 544 | |
philpem@5 | 545 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f152ffcc0cc8f55cda0d3199b97c0032"></a><!-- doxytag: member="cimg_library::CImg::linear_atX" ref="f152ffcc0cc8f55cda0d3199b97c0032" args="(const float fx, const int y, const int z, const int v, const T out_val) const " --> |
philpem@5 | 546 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f152ffcc0cc8f55cda0d3199b97c0032">linear_atX</a> (const float fx, const int y, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 547 | |
philpem@5 | 548 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Dirichlet boundary conditions (first coordinate). <br></td></tr> |
philpem@5 | 549 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a257b407961f2e475980136b95e2c7d"></a><!-- doxytag: member="cimg_library::CImg::linear_atX" ref="2a257b407961f2e475980136b95e2c7d" args="(const float fx, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 550 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2a257b407961f2e475980136b95e2c7d">linear_atX</a> (const float fx, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 551 | |
philpem@5 | 552 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation and Neumann boundary conditions (first coordinate). <br></td></tr> |
philpem@5 | 553 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1066d16dd50b527962e0c7f6e68e719a"></a><!-- doxytag: member="cimg_library::CImg::_linear_atX" ref="1066d16dd50b527962e0c7f6e68e719a" args="(const float fx, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 554 | Tfloat </td><td class="memItemRight" valign="bottom"><b>_linear_atX</b> (const float fx, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 555 | |
philpem@5 | 556 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9178dbccd4a22a5e2a3b41c243244eb8"></a><!-- doxytag: member="cimg_library::CImg::cubic_atXY" ref="9178dbccd4a22a5e2a3b41c243244eb8" args="(const float fx, const float fy, const int z, const int v, const T out_val) const " --> |
philpem@5 | 557 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9178dbccd4a22a5e2a3b41c243244eb8">cubic_atXY</a> (const float fx, const float fy, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 558 | |
philpem@5 | 559 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using cubic interpolation and Dirichlet boundary conditions. <br></td></tr> |
philpem@5 | 560 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e7a4ccee533d36ad0f156ecd6346c4c"></a><!-- doxytag: member="cimg_library::CImg::cubic_atXY" ref="8e7a4ccee533d36ad0f156ecd6346c4c" args="(const float fx, const float fy, const int z=0, const int v=0) const " --> |
philpem@5 | 561 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8e7a4ccee533d36ad0f156ecd6346c4c">cubic_atXY</a> (const float fx, const float fy, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 562 | |
philpem@5 | 563 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using cubic interpolation and Neumann boundary conditions. <br></td></tr> |
philpem@5 | 564 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="244ac624497cc8050986562d66c0d2d1"></a><!-- doxytag: member="cimg_library::CImg::_cubic_atXY" ref="244ac624497cc8050986562d66c0d2d1" args="(const float fx, const float fy, const int z=0, const int v=0) const " --> |
philpem@5 | 565 | Tfloat </td><td class="memItemRight" valign="bottom"><b>_cubic_atXY</b> (const float fx, const float fy, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 566 | |
philpem@5 | 567 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7a303858f458aad58535cbf2f5ca2326"></a><!-- doxytag: member="cimg_library::CImg::cubic_atX" ref="7a303858f458aad58535cbf2f5ca2326" args="(const float fx, const int y, const int z, const int v, const T out_val) const " --> |
philpem@5 | 568 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7a303858f458aad58535cbf2f5ca2326">cubic_atX</a> (const float fx, const int y, const int z, const int v, const T out_val) const </td></tr> |
philpem@5 | 569 | |
philpem@5 | 570 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using cubic interpolation and Dirichlet boundary conditions (first coordinates). <br></td></tr> |
philpem@5 | 571 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fd446fb86260db4fd990fdab18e61181"></a><!-- doxytag: member="cimg_library::CImg::cubic_atX" ref="fd446fb86260db4fd990fdab18e61181" args="(const float fx, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 572 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fd446fb86260db4fd990fdab18e61181">cubic_atX</a> (const float fx, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 573 | |
philpem@5 | 574 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using cubic interpolation and Neumann boundary conditions (first coordinates). <br></td></tr> |
philpem@5 | 575 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c6b079ef78bd63a892316187f38aa02"></a><!-- doxytag: member="cimg_library::CImg::_cubic_atX" ref="5c6b079ef78bd63a892316187f38aa02" args="(const float fx, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 576 | Tfloat </td><td class="memItemRight" valign="bottom"><b>_cubic_atX</b> (const float fx, const int y=0, const int z=0, const int v=0) const </td></tr> |
philpem@5 | 577 | |
philpem@5 | 578 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="776849281c40a0a9042b7275c4622e70"></a><!-- doxytag: member="cimg_library::CImg::set_linear_atXYZ" ref="776849281c40a0a9042b7275c4622e70" args="(const T &val, const float fx, const float fy=0, const float fz=0, const int v=0, const bool add=false)" --> |
philpem@5 | 579 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#776849281c40a0a9042b7275c4622e70">set_linear_atXYZ</a> (const T &val, const float fx, const float fy=0, const float fz=0, const int v=0, const bool add=false)</td></tr> |
philpem@5 | 580 | |
philpem@5 | 581 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a pixel value, with 3D float coordinates, using linear interpolation. <br></td></tr> |
philpem@5 | 582 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59a194a8079b3241131773fa724ee1c5"></a><!-- doxytag: member="cimg_library::CImg::set_linear_atXY" ref="59a194a8079b3241131773fa724ee1c5" args="(const T &val, const float fx, const float fy=0, const int z=0, const int v=0, const bool add=false)" --> |
philpem@5 | 583 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#59a194a8079b3241131773fa724ee1c5">set_linear_atXY</a> (const T &val, const float fx, const float fy=0, const int z=0, const int v=0, const bool add=false)</td></tr> |
philpem@5 | 584 | |
philpem@5 | 585 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a pixel value, with 2D float coordinates, using linear interpolation. <br></td></tr> |
philpem@5 | 586 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="01164a5a9ce47a184c451d53f145cf44"></a><!-- doxytag: member="cimg_library::CImg::min" ref="01164a5a9ce47a184c451d53f145cf44" args="() const " --> |
philpem@5 | 587 | const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#01164a5a9ce47a184c451d53f145cf44">min</a> () const </td></tr> |
philpem@5 | 588 | |
philpem@5 | 589 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the minimum pixel value of the instance image. <br></td></tr> |
philpem@5 | 590 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4dfdacede15a60eb00a588a9f3d4839a"></a><!-- doxytag: member="cimg_library::CImg::min" ref="4dfdacede15a60eb00a588a9f3d4839a" args="()" --> |
philpem@5 | 591 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4dfdacede15a60eb00a588a9f3d4839a">min</a> ()</td></tr> |
philpem@5 | 592 | |
philpem@5 | 593 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the minimum pixel value of the instance image. <br></td></tr> |
philpem@5 | 594 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f1a616293569fbda2a769b612c86a8ab"></a><!-- doxytag: member="cimg_library::CImg::max" ref="f1a616293569fbda2a769b612c86a8ab" args="() const " --> |
philpem@5 | 595 | const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f1a616293569fbda2a769b612c86a8ab">max</a> () const </td></tr> |
philpem@5 | 596 | |
philpem@5 | 597 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the maximum pixel value of the instance image. <br></td></tr> |
philpem@5 | 598 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="301155b753f6ab13ff25f164f389e142"></a><!-- doxytag: member="cimg_library::CImg::max" ref="301155b753f6ab13ff25f164f389e142" args="()" --> |
philpem@5 | 599 | T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#301155b753f6ab13ff25f164f389e142">max</a> ()</td></tr> |
philpem@5 | 600 | |
philpem@5 | 601 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the maximum pixel value of the instance image. <br></td></tr> |
philpem@5 | 602 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="37e03ef1b2ce96e5f90760889bad944e"></a><!-- doxytag: member="cimg_library::CImg::minmax" ref="37e03ef1b2ce96e5f90760889bad944e" args="(t &max_val) const " --> |
philpem@5 | 603 | template<typename t > </td></tr> |
philpem@5 | 604 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const T & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#37e03ef1b2ce96e5f90760889bad944e">minmax</a> (t &max_val) const </td></tr> |
philpem@5 | 605 | |
philpem@5 | 606 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the minimum pixel value and return also the maximum pixel value. <br></td></tr> |
philpem@5 | 607 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4a7d077d1b5998ba187c7ee06f77e00c"></a><!-- doxytag: member="cimg_library::CImg::minmax" ref="4a7d077d1b5998ba187c7ee06f77e00c" args="(t &max_val)" --> |
philpem@5 | 608 | template<typename t > </td></tr> |
philpem@5 | 609 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4a7d077d1b5998ba187c7ee06f77e00c">minmax</a> (t &max_val)</td></tr> |
philpem@5 | 610 | |
philpem@5 | 611 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the minimum pixel value and return also the maximum pixel value. <br></td></tr> |
philpem@5 | 612 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b503599cdf7b7a90faa02346e9b0f45d"></a><!-- doxytag: member="cimg_library::CImg::maxmin" ref="b503599cdf7b7a90faa02346e9b0f45d" args="(t &min_val) const " --> |
philpem@5 | 613 | template<typename t > </td></tr> |
philpem@5 | 614 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const T & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b503599cdf7b7a90faa02346e9b0f45d">maxmin</a> (t &min_val) const </td></tr> |
philpem@5 | 615 | |
philpem@5 | 616 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the maximum pixel value and return also the minimum pixel value. <br></td></tr> |
philpem@5 | 617 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0d3facf4dd7b7bda082e0181205f3c83"></a><!-- doxytag: member="cimg_library::CImg::maxmin" ref="0d3facf4dd7b7bda082e0181205f3c83" args="(t &min_val)" --> |
philpem@5 | 618 | template<typename t > </td></tr> |
philpem@5 | 619 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0d3facf4dd7b7bda082e0181205f3c83">maxmin</a> (t &min_val)</td></tr> |
philpem@5 | 620 | |
philpem@5 | 621 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the maximum pixel value and return also the minimum pixel value. <br></td></tr> |
philpem@5 | 622 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77d222b4837c78aad604f3f0b5f1409c"></a><!-- doxytag: member="cimg_library::CImg::sum" ref="77d222b4837c78aad604f3f0b5f1409c" args="() const " --> |
philpem@5 | 623 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#77d222b4837c78aad604f3f0b5f1409c">sum</a> () const </td></tr> |
philpem@5 | 624 | |
philpem@5 | 625 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the sum of all the pixel values in an image. <br></td></tr> |
philpem@5 | 626 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15da7eecd10e53fa76b99379871b1c62"></a><!-- doxytag: member="cimg_library::CImg::mean" ref="15da7eecd10e53fa76b99379871b1c62" args="() const " --> |
philpem@5 | 627 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#15da7eecd10e53fa76b99379871b1c62">mean</a> () const </td></tr> |
philpem@5 | 628 | |
philpem@5 | 629 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the mean pixel value of the instance image. <br></td></tr> |
philpem@5 | 630 | <tr><td class="memItemLeft" nowrap align="right" valign="top">Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#641a93939e495eec1749bb68197996ac">variance</a> (const unsigned int variance_method=1) const </td></tr> |
philpem@5 | 631 | |
philpem@5 | 632 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the variance of the image. <a href="#641a93939e495eec1749bb68197996ac"></a><br></td></tr> |
philpem@5 | 633 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="42b5c7baa4cd8ce360cea44a4e013753"></a><!-- doxytag: member="cimg_library::CImg::variancemean" ref="42b5c7baa4cd8ce360cea44a4e013753" args="(const unsigned int variance_method, t &mean) const " --> |
philpem@5 | 634 | template<typename t > </td></tr> |
philpem@5 | 635 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Tfloat </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#42b5c7baa4cd8ce360cea44a4e013753">variancemean</a> (const unsigned int variance_method, t &mean) const </td></tr> |
philpem@5 | 636 | |
philpem@5 | 637 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the variance and the mean of the image. <br></td></tr> |
philpem@5 | 638 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93d6b348517590d019471ddeeb3e938b"></a><!-- doxytag: member="cimg_library::CImg::kth_smallest" ref="93d6b348517590d019471ddeeb3e938b" args="(const unsigned int k) const " --> |
philpem@5 | 639 | T </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#93d6b348517590d019471ddeeb3e938b">kth_smallest</a> (const unsigned int k) const </td></tr> |
philpem@5 | 640 | |
philpem@5 | 641 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the kth smallest element of the image. <br></td></tr> |
philpem@5 | 642 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af59bb4a64bfcba6082253a48a88c9d6"></a><!-- doxytag: member="cimg_library::CImg::stats" ref="af59bb4a64bfcba6082253a48a88c9d6" args="(const unsigned int variance_method=1)" --> |
philpem@5 | 643 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#af59bb4a64bfcba6082253a48a88c9d6">stats</a> (const unsigned int variance_method=1)</td></tr> |
philpem@5 | 644 | |
philpem@5 | 645 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute a statistics vector (min,max,mean,variance,xmin,ymin,zmin,vmin,xmax,ymax,zmax,vmax). <br></td></tr> |
philpem@5 | 646 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e013418464582ff6a70adfe74148935c"></a><!-- doxytag: member="cimg_library::CImg::get_stats" ref="e013418464582ff6a70adfe74148935c" args="(const unsigned int variance_method=1) const " --> |
philpem@5 | 647 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_stats</b> (const unsigned int variance_method=1) const </td></tr> |
philpem@5 | 648 | |
philpem@5 | 649 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a74ed6a750d63ac3effff5edc06ad62f"></a><!-- doxytag: member="cimg_library::CImg::median" ref="a74ed6a750d63ac3effff5edc06ad62f" args="() const " --> |
philpem@5 | 650 | T </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a74ed6a750d63ac3effff5edc06ad62f">median</a> () const </td></tr> |
philpem@5 | 651 | |
philpem@5 | 652 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the median value of the image. <br></td></tr> |
philpem@5 | 653 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1af0c1920f11fdc01c71ed0d7117ab0c"></a><!-- doxytag: member="cimg_library::CImg::MSE" ref="1af0c1920f11fdc01c71ed0d7117ab0c" args="(const CImg< t > &img) const " --> |
philpem@5 | 654 | template<typename t > </td></tr> |
philpem@5 | 655 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Tfloat </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1af0c1920f11fdc01c71ed0d7117ab0c">MSE</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 656 | |
philpem@5 | 657 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the MSE (Mean-Squared Error) between two images. <br></td></tr> |
philpem@5 | 658 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f08ee23c8bdb4913f792676f385161ea"></a><!-- doxytag: member="cimg_library::CImg::PSNR" ref="f08ee23c8bdb4913f792676f385161ea" args="(const CImg< t > &img, const Tfloat valmax=(Tfloat) 255) const " --> |
philpem@5 | 659 | template<typename t > </td></tr> |
philpem@5 | 660 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Tfloat </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f08ee23c8bdb4913f792676f385161ea">PSNR</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img, const Tfloat valmax=(Tfloat) 255) const </td></tr> |
philpem@5 | 661 | |
philpem@5 | 662 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the PSNR between two images. <br></td></tr> |
philpem@5 | 663 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5725c18e3adcb9fda07885b076ee971"></a><!-- doxytag: member="cimg_library::CImg::trace" ref="a5725c18e3adcb9fda07885b076ee971" args="() const " --> |
philpem@5 | 664 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a5725c18e3adcb9fda07885b076ee971">trace</a> () const </td></tr> |
philpem@5 | 665 | |
philpem@5 | 666 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the trace of the image, viewed as a matrix. <br></td></tr> |
philpem@5 | 667 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="99a8995311ea26eb1956c8a01a7e034f"></a><!-- doxytag: member="cimg_library::CImg::dot" ref="99a8995311ea26eb1956c8a01a7e034f" args="(const CImg< t > &img) const " --> |
philpem@5 | 668 | template<typename t > </td></tr> |
philpem@5 | 669 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Tfloat </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#99a8995311ea26eb1956c8a01a7e034f">dot</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 670 | |
philpem@5 | 671 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the dot product of the current vector/matrix with the vector/matrix <code>img</code>. <br></td></tr> |
philpem@5 | 672 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2363871a4c66908993cc2e2515eba612"></a><!-- doxytag: member="cimg_library::CImg::det" ref="2363871a4c66908993cc2e2515eba612" args="() const " --> |
philpem@5 | 673 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2363871a4c66908993cc2e2515eba612">det</a> () const </td></tr> |
philpem@5 | 674 | |
philpem@5 | 675 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the determinant of the image, viewed as a matrix. <br></td></tr> |
philpem@5 | 676 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7de8144e906d2610c4a011056e239595"></a><!-- doxytag: member="cimg_library::CImg::norm" ref="7de8144e906d2610c4a011056e239595" args="(const int norm_type=2) const " --> |
philpem@5 | 677 | Tfloat </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7de8144e906d2610c4a011056e239595">norm</a> (const int norm_type=2) const </td></tr> |
philpem@5 | 678 | |
philpem@5 | 679 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the norm of the current vector/matrix. <code>ntype</code> = norm type (0=L2, 1=L1, -1=Linf). <br></td></tr> |
philpem@5 | 680 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d70c422e3e75e6cd810358486387300"></a><!-- doxytag: member="cimg_library::CImg::value_string" ref="2d70c422e3e75e6cd810358486387300" args="(const char separator=',', const unsigned int max_size=0) const " --> |
philpem@5 | 681 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< charT > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2d70c422e3e75e6cd810358486387300">value_string</a> (const char separator=',', const unsigned int max_size=0) const </td></tr> |
philpem@5 | 682 | |
philpem@5 | 683 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a C-string containing the values of the instance image. <br></td></tr> |
philpem@5 | 684 | <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6996328dda8169890a02942e19b6d445">print</a> (const char *title=0, const bool display_stats=true) const </td></tr> |
philpem@5 | 685 | |
philpem@5 | 686 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Display informations about the image on the standard error output. <a href="#6996328dda8169890a02942e19b6d445"></a><br></td></tr> |
philpem@5 | 687 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b7d3a61366cf906c03af6c8fa13309a7">pixel_type</a> ()</td></tr> |
philpem@5 | 688 | |
philpem@5 | 689 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the type of the pixel values. <a href="#b7d3a61366cf906c03af6c8fa13309a7"></a><br></td></tr> |
philpem@5 | 690 | <tr><td colspan="2"><br><h2>Usual Image Transformations</h2></td></tr> |
philpem@5 | 691 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#494a1e1424510af07e705dfe9b5f78bd">fill</a> (const T val)</td></tr> |
philpem@5 | 692 | |
philpem@5 | 693 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill an image by a value <code>val</code>. <a href="#494a1e1424510af07e705dfe9b5f78bd"></a><br></td></tr> |
philpem@5 | 694 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07b87161f045a75bb879ce59883f545d"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="07b87161f045a75bb879ce59883f545d" args="(const T val) const " --> |
philpem@5 | 695 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val) const </td></tr> |
philpem@5 | 696 | |
philpem@5 | 697 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1017563288be5d5ff23f70a91ef519df"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="1017563288be5d5ff23f70a91ef519df" args="(const T val0, const T val1)" --> |
philpem@5 | 698 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1017563288be5d5ff23f70a91ef519df">fill</a> (const T val0, const T val1)</td></tr> |
philpem@5 | 699 | |
philpem@5 | 700 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially all pixel values with values <em>val0</em> and <em>val1</em> respectively. <br></td></tr> |
philpem@5 | 701 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="024f8e61837ce84d76e84cbf1f1ad385"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="024f8e61837ce84d76e84cbf1f1ad385" args="(const T val0, const T val1) const " --> |
philpem@5 | 702 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1) const </td></tr> |
philpem@5 | 703 | |
philpem@5 | 704 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="851853ede03c4fbd99347777a0250b5a"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="851853ede03c4fbd99347777a0250b5a" args="(const T val0, const T val1, const T val2)" --> |
philpem@5 | 705 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#851853ede03c4fbd99347777a0250b5a">fill</a> (const T val0, const T val1, const T val2)</td></tr> |
philpem@5 | 706 | |
philpem@5 | 707 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially all pixel values with values <em>val0</em> and <em>val1</em> and <em>val2</em>. <br></td></tr> |
philpem@5 | 708 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="529a242cfece2f3a36fc2b014a62ffcf"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="529a242cfece2f3a36fc2b014a62ffcf" args="(const T val0, const T val1, const T val2) const " --> |
philpem@5 | 709 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2) const </td></tr> |
philpem@5 | 710 | |
philpem@5 | 711 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9bd6346aafacc83a623bbee841b2f590"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="9bd6346aafacc83a623bbee841b2f590" args="(const T val0, const T val1, const T val2, const T val3)" --> |
philpem@5 | 712 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9bd6346aafacc83a623bbee841b2f590">fill</a> (const T val0, const T val1, const T val2, const T val3)</td></tr> |
philpem@5 | 713 | |
philpem@5 | 714 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially all pixel values with values <em>val0</em> and <em>val1</em> and <em>val2</em> and <em>val3</em>. <br></td></tr> |
philpem@5 | 715 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3043c5366b91e0d4a5d7fdbf2c208ae"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="e3043c5366b91e0d4a5d7fdbf2c208ae" args="(const T val0, const T val1, const T val2, const T val3) const " --> |
philpem@5 | 716 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3) const </td></tr> |
philpem@5 | 717 | |
philpem@5 | 718 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7cb799be5da87f703ac3c949701c98de"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="7cb799be5da87f703ac3c949701c98de" args="(const T val0, const T val1, const T val2, const T val3, const T val4)" --> |
philpem@5 | 719 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7cb799be5da87f703ac3c949701c98de">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4)</td></tr> |
philpem@5 | 720 | |
philpem@5 | 721 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially all pixel values with values <em>val0</em> and <em>val1</em> and <em>val2</em> and <em>val3</em> and <em>val4</em>. <br></td></tr> |
philpem@5 | 722 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a78cc959547810c62a0ff778d807478f"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="a78cc959547810c62a0ff778d807478f" args="(const T val0, const T val1, const T val2, const T val3, const T val4) const " --> |
philpem@5 | 723 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4) const </td></tr> |
philpem@5 | 724 | |
philpem@5 | 725 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1aa659d7e3dbb1863a32b4e326c3b752"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="1aa659d7e3dbb1863a32b4e326c3b752" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5)" --> |
philpem@5 | 726 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1aa659d7e3dbb1863a32b4e326c3b752">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5)</td></tr> |
philpem@5 | 727 | |
philpem@5 | 728 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially all pixel values with values <em>val0</em> and <em>val1</em> and <em>val2</em> and <em>val3</em> and <em>val4</em> and <em>val5</em>. <br></td></tr> |
philpem@5 | 729 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4e353f85bf2328a0fa56c9daa7060917"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="4e353f85bf2328a0fa56c9daa7060917" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5) const " --> |
philpem@5 | 730 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5) const </td></tr> |
philpem@5 | 731 | |
philpem@5 | 732 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9391155ce2b2933a5d65ffbdd2212cb"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="a9391155ce2b2933a5d65ffbdd2212cb" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6)" --> |
philpem@5 | 733 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a9391155ce2b2933a5d65ffbdd2212cb">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6)</td></tr> |
philpem@5 | 734 | |
philpem@5 | 735 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 736 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9e901faed643c64e2bf75d294d2a85a"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="c9e901faed643c64e2bf75d294d2a85a" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6) const " --> |
philpem@5 | 737 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6) const </td></tr> |
philpem@5 | 738 | |
philpem@5 | 739 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="991cc09680972324915fac9540f9a75d"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="991cc09680972324915fac9540f9a75d" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7)" --> |
philpem@5 | 740 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#991cc09680972324915fac9540f9a75d">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7)</td></tr> |
philpem@5 | 741 | |
philpem@5 | 742 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 743 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73343678c416b8b6a1a1c8b65da6d40d"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="73343678c416b8b6a1a1c8b65da6d40d" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7) const " --> |
philpem@5 | 744 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7) const </td></tr> |
philpem@5 | 745 | |
philpem@5 | 746 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ebdf4aa9f4ba2901da7ceb8f167ab7e"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="4ebdf4aa9f4ba2901da7ceb8f167ab7e" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8)" --> |
philpem@5 | 747 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4ebdf4aa9f4ba2901da7ceb8f167ab7e">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8)</td></tr> |
philpem@5 | 748 | |
philpem@5 | 749 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 750 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b85f68b65eef7d282f3e804532a34da"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="9b85f68b65eef7d282f3e804532a34da" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8) const " --> |
philpem@5 | 751 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8) const </td></tr> |
philpem@5 | 752 | |
philpem@5 | 753 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef066fce13f0bb426791b7a507589c3b"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="ef066fce13f0bb426791b7a507589c3b" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9)" --> |
philpem@5 | 754 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ef066fce13f0bb426791b7a507589c3b">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9)</td></tr> |
philpem@5 | 755 | |
philpem@5 | 756 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 757 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5544b158a5a069ed4a315e15c2621f9a"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="5544b158a5a069ed4a315e15c2621f9a" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9) const " --> |
philpem@5 | 758 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9) const </td></tr> |
philpem@5 | 759 | |
philpem@5 | 760 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24eb4c4e80f15a98b956c057cbf5080f"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="24eb4c4e80f15a98b956c057cbf5080f" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10)" --> |
philpem@5 | 761 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#24eb4c4e80f15a98b956c057cbf5080f">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10)</td></tr> |
philpem@5 | 762 | |
philpem@5 | 763 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 764 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8924215033e173547e5c36752a1fe78"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="d8924215033e173547e5c36752a1fe78" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10) const " --> |
philpem@5 | 765 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10) const </td></tr> |
philpem@5 | 766 | |
philpem@5 | 767 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="922d157e090636af9bce74d4485df06f"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="922d157e090636af9bce74d4485df06f" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11)" --> |
philpem@5 | 768 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#922d157e090636af9bce74d4485df06f">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11)</td></tr> |
philpem@5 | 769 | |
philpem@5 | 770 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 771 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34f07ae9dc4aadbf62359b3f4c774f4d"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="34f07ae9dc4aadbf62359b3f4c774f4d" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11) const " --> |
philpem@5 | 772 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11) const </td></tr> |
philpem@5 | 773 | |
philpem@5 | 774 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="72227edc72ffbf6cf87298e27b59d9f9"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="72227edc72ffbf6cf87298e27b59d9f9" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12)" --> |
philpem@5 | 775 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#72227edc72ffbf6cf87298e27b59d9f9">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12)</td></tr> |
philpem@5 | 776 | |
philpem@5 | 777 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 778 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5bf3aa89f011dae0ceae96d309907224"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="5bf3aa89f011dae0ceae96d309907224" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12) const " --> |
philpem@5 | 779 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12) const </td></tr> |
philpem@5 | 780 | |
philpem@5 | 781 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b38822d098614f5460f4b596ac18c2c"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="3b38822d098614f5460f4b596ac18c2c" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13)" --> |
philpem@5 | 782 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3b38822d098614f5460f4b596ac18c2c">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13)</td></tr> |
philpem@5 | 783 | |
philpem@5 | 784 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 785 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e29138831e1f74198ba6a1ec6ff4bcb9"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="e29138831e1f74198ba6a1ec6ff4bcb9" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13) const " --> |
philpem@5 | 786 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13) const </td></tr> |
philpem@5 | 787 | |
philpem@5 | 788 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78ebfb8dfadd456f3a03e3c6233a0d35"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="78ebfb8dfadd456f3a03e3c6233a0d35" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14)" --> |
philpem@5 | 789 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#78ebfb8dfadd456f3a03e3c6233a0d35">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14)</td></tr> |
philpem@5 | 790 | |
philpem@5 | 791 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 792 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4e7a18814eab81add7ec4d9ff4ffb5c"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="d4e7a18814eab81add7ec4d9ff4ffb5c" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14) const " --> |
philpem@5 | 793 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14) const </td></tr> |
philpem@5 | 794 | |
philpem@5 | 795 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="29b6f70a91ef14cae3f62fbf1c5a1df2"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="29b6f70a91ef14cae3f62fbf1c5a1df2" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14, const T val15)" --> |
philpem@5 | 796 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#29b6f70a91ef14cae3f62fbf1c5a1df2">fill</a> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14, const T val15)</td></tr> |
philpem@5 | 797 | |
philpem@5 | 798 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill sequentially pixel values. <br></td></tr> |
philpem@5 | 799 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8f1208c96bdfdbc421155eaafdedc73"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="c8f1208c96bdfdbc421155eaafdedc73" args="(const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14, const T val15) const " --> |
philpem@5 | 800 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14, const T val15) const </td></tr> |
philpem@5 | 801 | |
philpem@5 | 802 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c1882e211a6b886b891fa402e67042e"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="5c1882e211a6b886b891fa402e67042e" args="(const char *const values, const bool repeat_pattern)" --> |
philpem@5 | 803 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5c1882e211a6b886b891fa402e67042e">fill</a> (const char *const values, const bool repeat_pattern)</td></tr> |
philpem@5 | 804 | |
philpem@5 | 805 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill image values according to the values found in the specified string. <br></td></tr> |
philpem@5 | 806 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8fa0c481e0f0630a27b237638094086"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="c8fa0c481e0f0630a27b237638094086" args="(const char *const values, const bool repeat_pattern) const " --> |
philpem@5 | 807 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_fill</b> (const char *const values, const bool repeat_pattern) const </td></tr> |
philpem@5 | 808 | |
philpem@5 | 809 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9c032711a98576285c8091beebb447b9"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="9c032711a98576285c8091beebb447b9" args="(const CImg< t > &values, const bool repeat_pattern=true)" --> |
philpem@5 | 810 | template<typename t > </td></tr> |
philpem@5 | 811 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9c032711a98576285c8091beebb447b9">fill</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &values, const bool repeat_pattern=true)</td></tr> |
philpem@5 | 812 | |
philpem@5 | 813 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill image values according to the values found in the specified image. <br></td></tr> |
philpem@5 | 814 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="583120c40c4431cd0ef5cf3aee7c5515"></a><!-- doxytag: member="cimg_library::CImg::get_fill" ref="583120c40c4431cd0ef5cf3aee7c5515" args="(const CImg< t > &values, const bool repeat_pattern=true) const " --> |
philpem@5 | 815 | template<typename t > </td></tr> |
philpem@5 | 816 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_fill</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &values, const bool repeat_pattern=true) const </td></tr> |
philpem@5 | 817 | |
philpem@5 | 818 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aef4c6886178c6a99c22693f0a2ecd4b"></a><!-- doxytag: member="cimg_library::CImg::fillX" ref="aef4c6886178c6a99c22693f0a2ecd4b" args="(const unsigned int y, const unsigned int z, const unsigned int v, const int a0,...)" --> |
philpem@5 | 819 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#aef4c6886178c6a99c22693f0a2ecd4b">fillX</a> (const unsigned int y, const unsigned int z, const unsigned int v, const int a0,...)</td></tr> |
philpem@5 | 820 | |
philpem@5 | 821 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill image values along the X-axis at the specified pixel position (y,z,v). <br></td></tr> |
philpem@5 | 822 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba4523e8f1020dcea00fa5559e48cd70"></a><!-- doxytag: member="cimg_library::CImg::fillX" ref="ba4523e8f1020dcea00fa5559e48cd70" args="(const unsigned int y, const unsigned int z, const unsigned int v, const double a0,...)" --> |
philpem@5 | 823 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>fillX</b> (const unsigned int y, const unsigned int z, const unsigned int v, const double a0,...)</td></tr> |
philpem@5 | 824 | |
philpem@5 | 825 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a220154365b5e2c636d6abeef404fb8"></a><!-- doxytag: member="cimg_library::CImg::fillY" ref="9a220154365b5e2c636d6abeef404fb8" args="(const unsigned int x, const unsigned int z, const unsigned int v, const int a0,...)" --> |
philpem@5 | 826 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9a220154365b5e2c636d6abeef404fb8">fillY</a> (const unsigned int x, const unsigned int z, const unsigned int v, const int a0,...)</td></tr> |
philpem@5 | 827 | |
philpem@5 | 828 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill image values along the Y-axis at the specified pixel position (x,z,v). <br></td></tr> |
philpem@5 | 829 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a373a436fb3543d7f9fcc13b9bf991ad"></a><!-- doxytag: member="cimg_library::CImg::fillY" ref="a373a436fb3543d7f9fcc13b9bf991ad" args="(const unsigned int x, const unsigned int z, const unsigned int v, const double a0,...)" --> |
philpem@5 | 830 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>fillY</b> (const unsigned int x, const unsigned int z, const unsigned int v, const double a0,...)</td></tr> |
philpem@5 | 831 | |
philpem@5 | 832 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b7a4a4ad0f756d4b42059ab7579288ad"></a><!-- doxytag: member="cimg_library::CImg::fillZ" ref="b7a4a4ad0f756d4b42059ab7579288ad" args="(const unsigned int x, const unsigned int y, const unsigned int v, const int a0,...)" --> |
philpem@5 | 833 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b7a4a4ad0f756d4b42059ab7579288ad">fillZ</a> (const unsigned int x, const unsigned int y, const unsigned int v, const int a0,...)</td></tr> |
philpem@5 | 834 | |
philpem@5 | 835 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill image values along the Z-axis at the specified pixel position (x,y,v). <br></td></tr> |
philpem@5 | 836 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c032e43b42bf0ac2bebc6204986ac3a"></a><!-- doxytag: member="cimg_library::CImg::fillZ" ref="0c032e43b42bf0ac2bebc6204986ac3a" args="(const unsigned int x, const unsigned int y, const unsigned int v, const double a0,...)" --> |
philpem@5 | 837 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>fillZ</b> (const unsigned int x, const unsigned int y, const unsigned int v, const double a0,...)</td></tr> |
philpem@5 | 838 | |
philpem@5 | 839 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bed160399c0c74349a025a823d1c4e3b"></a><!-- doxytag: member="cimg_library::CImg::fillV" ref="bed160399c0c74349a025a823d1c4e3b" args="(const unsigned int x, const unsigned int y, const unsigned int z, const int a0,...)" --> |
philpem@5 | 840 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bed160399c0c74349a025a823d1c4e3b">fillV</a> (const unsigned int x, const unsigned int y, const unsigned int z, const int a0,...)</td></tr> |
philpem@5 | 841 | |
philpem@5 | 842 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill image values along the V-axis at the specified pixel position (x,y,z). <br></td></tr> |
philpem@5 | 843 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34f29bd4fd5d732ee0c569db9e2fce47"></a><!-- doxytag: member="cimg_library::CImg::fillV" ref="34f29bd4fd5d732ee0c569db9e2fce47" args="(const unsigned int x, const unsigned int y, const unsigned int z, const double a0,...)" --> |
philpem@5 | 844 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>fillV</b> (const unsigned int x, const unsigned int y, const unsigned int z, const double a0,...)</td></tr> |
philpem@5 | 845 | |
philpem@5 | 846 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="447de4206a2c264f2c73e825ada11952"></a><!-- doxytag: member="cimg_library::CImg::normalize" ref="447de4206a2c264f2c73e825ada11952" args="(const T a, const T b)" --> |
philpem@5 | 847 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#447de4206a2c264f2c73e825ada11952">normalize</a> (const T a, const T b)</td></tr> |
philpem@5 | 848 | |
philpem@5 | 849 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Linear normalization of the pixel values between <em>a</em> and <em>b</em>. <br></td></tr> |
philpem@5 | 850 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba0ab686607c97d7b6bb955b2cea6af7"></a><!-- doxytag: member="cimg_library::CImg::get_normalize" ref="ba0ab686607c97d7b6bb955b2cea6af7" args="(const T a, const T b) const " --> |
philpem@5 | 851 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_normalize</b> (const T a, const T b) const </td></tr> |
philpem@5 | 852 | |
philpem@5 | 853 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f8f08d52f945f28fd33737fabaa6286"></a><!-- doxytag: member="cimg_library::CImg::cut" ref="5f8f08d52f945f28fd33737fabaa6286" args="(const T a, const T b)" --> |
philpem@5 | 854 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5f8f08d52f945f28fd33737fabaa6286">cut</a> (const T a, const T b)</td></tr> |
philpem@5 | 855 | |
philpem@5 | 856 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Cut pixel values between <em>a</em> and <em>b</em>. <br></td></tr> |
philpem@5 | 857 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5dc22394c809c1ecdf26e1d846df8482"></a><!-- doxytag: member="cimg_library::CImg::get_cut" ref="5dc22394c809c1ecdf26e1d846df8482" args="(const T a, const T b) const " --> |
philpem@5 | 858 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_cut</b> (const T a, const T b) const </td></tr> |
philpem@5 | 859 | |
philpem@5 | 860 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="96fb1f65e6aff268da75be5e6adbd1d1"></a><!-- doxytag: member="cimg_library::CImg::quantize" ref="96fb1f65e6aff268da75be5e6adbd1d1" args="(const unsigned int n, const bool keep_range=true)" --> |
philpem@5 | 861 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#96fb1f65e6aff268da75be5e6adbd1d1">quantize</a> (const unsigned int n, const bool keep_range=true)</td></tr> |
philpem@5 | 862 | |
philpem@5 | 863 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Quantize pixel values into <br> |
philpem@5 | 864 | levels. <br></td></tr> |
philpem@5 | 865 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17d6434494e46cae475d5d4ced9d7dca"></a><!-- doxytag: member="cimg_library::CImg::get_quantize" ref="17d6434494e46cae475d5d4ced9d7dca" args="(const unsigned int n, const bool keep_range=true) const " --> |
philpem@5 | 866 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_quantize</b> (const unsigned int n, const bool keep_range=true) const </td></tr> |
philpem@5 | 867 | |
philpem@5 | 868 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#411ae06f4b7a9281dbe7ae608e5dadee">threshold</a> (const T value, const bool soft=false, const bool strict=false)</td></tr> |
philpem@5 | 869 | |
philpem@5 | 870 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Threshold the image. <a href="#411ae06f4b7a9281dbe7ae608e5dadee"></a><br></td></tr> |
philpem@5 | 871 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dabb2d45d8c2666ebe4c2c4a4c9ad97f"></a><!-- doxytag: member="cimg_library::CImg::get_threshold" ref="dabb2d45d8c2666ebe4c2c4a4c9ad97f" args="(const T value, const bool soft=false, const bool strict=false) const " --> |
philpem@5 | 872 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_threshold</b> (const T value, const bool soft=false, const bool strict=false) const </td></tr> |
philpem@5 | 873 | |
philpem@5 | 874 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8e890897305eb5c4d2a5664312633819">rotate</a> (const float angle, const unsigned int border_conditions=3, const unsigned int interpolation=1)</td></tr> |
philpem@5 | 875 | |
philpem@5 | 876 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate an image. <a href="#8e890897305eb5c4d2a5664312633819"></a><br></td></tr> |
philpem@5 | 877 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e003facae1c082f8409a1a7331ba6b95"></a><!-- doxytag: member="cimg_library::CImg::get_rotate" ref="e003facae1c082f8409a1a7331ba6b95" args="(const float angle, const unsigned int border_conditions=3, const unsigned int interpolation=1) const " --> |
philpem@5 | 878 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_rotate</b> (const float angle, const unsigned int border_conditions=3, const unsigned int interpolation=1) const </td></tr> |
philpem@5 | 879 | |
philpem@5 | 880 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e4b06ab7123208c764f6fe1de4d29a39">rotate</a> (const float angle, const float cx, const float cy, const float zoom, const unsigned int border_conditions=3, const unsigned int interpolation=1)</td></tr> |
philpem@5 | 881 | |
philpem@5 | 882 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate an image around a center point (<code>cx</code>,<code>cy</code>). <a href="#e4b06ab7123208c764f6fe1de4d29a39"></a><br></td></tr> |
philpem@5 | 883 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8522bad57316bb719ef93774fcd77ea"></a><!-- doxytag: member="cimg_library::CImg::get_rotate" ref="e8522bad57316bb719ef93774fcd77ea" args="(const float angle, const float cx, const float cy, const float zoom, const unsigned int border_conditions=3, const unsigned int interpolation=1) const " --> |
philpem@5 | 884 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_rotate</b> (const float angle, const float cx, const float cy, const float zoom, const unsigned int border_conditions=3, const unsigned int interpolation=1) const </td></tr> |
philpem@5 | 885 | |
philpem@5 | 886 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a930a4b0563d7d0794661231310b36c4">resize</a> (const int pdx, const int pdy=-100, const int pdz=-100, const int pdv=-100, const int interpolation_type=1, const int border_condition=-1, const bool center=false)</td></tr> |
philpem@5 | 887 | |
philpem@5 | 888 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Resize an image. <a href="#a930a4b0563d7d0794661231310b36c4"></a><br></td></tr> |
philpem@5 | 889 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51767ae18962a8fcce1486b99c6300a4"></a><!-- doxytag: member="cimg_library::CImg::get_resize" ref="51767ae18962a8fcce1486b99c6300a4" args="(const int pdx, const int pdy=-100, const int pdz=-100, const int pdv=-100, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const " --> |
philpem@5 | 890 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_resize</b> (const int pdx, const int pdy=-100, const int pdz=-100, const int pdv=-100, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const </td></tr> |
philpem@5 | 891 | |
philpem@5 | 892 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 893 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ed8c4bc86e30f3cc55c46f1329e081a1">resize</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &src, const int interpolation_type=1, const int border_condition=-1, const bool center=false)</td></tr> |
philpem@5 | 894 | |
philpem@5 | 895 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Resize an image. <a href="#ed8c4bc86e30f3cc55c46f1329e081a1"></a><br></td></tr> |
philpem@5 | 896 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5b93412cbba9e1bb87046401ca260394"></a><!-- doxytag: member="cimg_library::CImg::get_resize" ref="5b93412cbba9e1bb87046401ca260394" args="(const CImg< t > &src, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const " --> |
philpem@5 | 897 | template<typename t > </td></tr> |
philpem@5 | 898 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_resize</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &src, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const </td></tr> |
philpem@5 | 899 | |
philpem@5 | 900 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cb7831acf038a036edaa9a1b74779054">resize</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const int interpolation_type=1, const int border_condition=-1, const bool center=false)</td></tr> |
philpem@5 | 901 | |
philpem@5 | 902 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Resize an image. <a href="#cb7831acf038a036edaa9a1b74779054"></a><br></td></tr> |
philpem@5 | 903 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fceda04555f0ccda104fcb0252c266a4"></a><!-- doxytag: member="cimg_library::CImg::get_resize" ref="fceda04555f0ccda104fcb0252c266a4" args="(const CImgDisplay &disp, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const " --> |
philpem@5 | 904 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_resize</b> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const </td></tr> |
philpem@5 | 905 | |
philpem@5 | 906 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37dbb62f101c6076db3d4d9f45684b30"></a><!-- doxytag: member="cimg_library::CImg::resize_halfXY" ref="37dbb62f101c6076db3d4d9f45684b30" args="()" --> |
philpem@5 | 907 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#37dbb62f101c6076db3d4d9f45684b30">resize_halfXY</a> ()</td></tr> |
philpem@5 | 908 | |
philpem@5 | 909 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Half-resize an image, using a special optimized filter. <br></td></tr> |
philpem@5 | 910 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6c5cd0477fd621ffce59489c28690a2a"></a><!-- doxytag: member="cimg_library::CImg::get_resize_halfXY" ref="6c5cd0477fd621ffce59489c28690a2a" args="() const " --> |
philpem@5 | 911 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_resize_halfXY</b> () const </td></tr> |
philpem@5 | 912 | |
philpem@5 | 913 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a2fa295816582cb2e62d530c54533055">resize_doubleXY</a> ()</td></tr> |
philpem@5 | 914 | |
philpem@5 | 915 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Upscale an image by a factor 2x. <a href="#a2fa295816582cb2e62d530c54533055"></a><br></td></tr> |
philpem@5 | 916 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acadd9bab09792a3b28db2ee23408d5e"></a><!-- doxytag: member="cimg_library::CImg::get_resize_doubleXY" ref="acadd9bab09792a3b28db2ee23408d5e" args="() const " --> |
philpem@5 | 917 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_resize_doubleXY</b> () const </td></tr> |
philpem@5 | 918 | |
philpem@5 | 919 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#64f4be91725b57a74d080b848660676c">resize_tripleXY</a> ()</td></tr> |
philpem@5 | 920 | |
philpem@5 | 921 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Upscale an image by a factor 3x. <a href="#64f4be91725b57a74d080b848660676c"></a><br></td></tr> |
philpem@5 | 922 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83cf33bb78a93d22c12a8ee98b87eff6"></a><!-- doxytag: member="cimg_library::CImg::get_resize_tripleXY" ref="83cf33bb78a93d22c12a8ee98b87eff6" args="() const " --> |
philpem@5 | 923 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_resize_tripleXY</b> () const </td></tr> |
philpem@5 | 924 | |
philpem@5 | 925 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="66128d00d927613ccc0e41cfd03a50fe"></a><!-- doxytag: member="cimg_library::CImg::warp" ref="66128d00d927613ccc0e41cfd03a50fe" args="(const CImg< t > &warp, const bool relative=false, const bool interpolation=true, const unsigned int border_conditions=0)" --> |
philpem@5 | 926 | template<typename t > </td></tr> |
philpem@5 | 927 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>warp</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &warp, const bool relative=false, const bool interpolation=true, const unsigned int border_conditions=0)</td></tr> |
philpem@5 | 928 | |
philpem@5 | 929 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="90e8a6b89d67d0153a1fea9d0c2428a0"></a><!-- doxytag: member="cimg_library::CImg::get_warp" ref="90e8a6b89d67d0153a1fea9d0c2428a0" args="(const CImg< t > &warp, const bool relative=false, const bool interpolation=true, const unsigned int border_conditions=0) const " --> |
philpem@5 | 930 | template<typename t > </td></tr> |
philpem@5 | 931 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_warp</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &warp, const bool relative=false, const bool interpolation=true, const unsigned int border_conditions=0) const </td></tr> |
philpem@5 | 932 | |
philpem@5 | 933 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b0dd816b2e9e26187367c660c8b7dee5"></a><!-- doxytag: member="cimg_library::CImg::_get_permute_axes" ref="b0dd816b2e9e26187367c660c8b7dee5" args="(const char *permut, const t &) const " --> |
philpem@5 | 934 | template<typename t > </td></tr> |
philpem@5 | 935 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > </td><td class="memTemplItemRight" valign="bottom"><b>_get_permute_axes</b> (const char *permut, const t &) const </td></tr> |
philpem@5 | 936 | |
philpem@5 | 937 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f5eac37234edfffffe75770e4a492b15">permute_axes</a> (const char *order)</td></tr> |
philpem@5 | 938 | |
philpem@5 | 939 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Permute axes order. <a href="#f5eac37234edfffffe75770e4a492b15"></a><br></td></tr> |
philpem@5 | 940 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c95ae42561bc289595210b3cdeb8506b"></a><!-- doxytag: member="cimg_library::CImg::get_permute_axes" ref="c95ae42561bc289595210b3cdeb8506b" args="(const char *order) const " --> |
philpem@5 | 941 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_permute_axes</b> (const char *order) const </td></tr> |
philpem@5 | 942 | |
philpem@5 | 943 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1bdd0c686ccaa6a12ff4b69efa5a567"></a><!-- doxytag: member="cimg_library::CImg::invert_endianness" ref="d1bdd0c686ccaa6a12ff4b69efa5a567" args="()" --> |
philpem@5 | 944 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d1bdd0c686ccaa6a12ff4b69efa5a567">invert_endianness</a> ()</td></tr> |
philpem@5 | 945 | |
philpem@5 | 946 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Invert endianness. <br></td></tr> |
philpem@5 | 947 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f19eb9300a3c12c36c80da939062162b"></a><!-- doxytag: member="cimg_library::CImg::get_invert_endianness" ref="f19eb9300a3c12c36c80da939062162b" args="() const " --> |
philpem@5 | 948 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_invert_endianness</b> () const </td></tr> |
philpem@5 | 949 | |
philpem@5 | 950 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="91a5e5fd9431ca28eaeee0ea03419ab0"></a><!-- doxytag: member="cimg_library::CImg::mirror" ref="91a5e5fd9431ca28eaeee0ea03419ab0" args="(const char axis)" --> |
philpem@5 | 951 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#91a5e5fd9431ca28eaeee0ea03419ab0">mirror</a> (const char axis)</td></tr> |
philpem@5 | 952 | |
philpem@5 | 953 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Mirror an image along the specified axis. <br></td></tr> |
philpem@5 | 954 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7e35cf53e3084ee8faa33cef63a36b8"></a><!-- doxytag: member="cimg_library::CImg::get_mirror" ref="a7e35cf53e3084ee8faa33cef63a36b8" args="(const char axis) const " --> |
philpem@5 | 955 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_mirror</b> (const char axis) const </td></tr> |
philpem@5 | 956 | |
philpem@5 | 957 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#32ca7979d4a8792f7274ab07b8b80fdd">translate</a> (const int deltax, const int deltay=0, const int deltaz=0, const int deltav=0, const int border_condition=0)</td></tr> |
philpem@5 | 958 | |
philpem@5 | 959 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Translate the image. <a href="#32ca7979d4a8792f7274ab07b8b80fdd"></a><br></td></tr> |
philpem@5 | 960 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70f8ba44bd2d9a3cea84adb48d28eadb"></a><!-- doxytag: member="cimg_library::CImg::get_translate" ref="70f8ba44bd2d9a3cea84adb48d28eadb" args="(const int deltax, const int deltay=0, const int deltaz=0, const int deltav=0, const int border_condition=0) const " --> |
philpem@5 | 961 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_translate</b> (const int deltax, const int deltay=0, const int deltaz=0, const int deltav=0, const int border_condition=0) const </td></tr> |
philpem@5 | 962 | |
philpem@5 | 963 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#77085bb4dfa1622ac5de64eb5c6ed9d1">crop</a> (const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1, const bool border_condition=false)</td></tr> |
philpem@5 | 964 | |
philpem@5 | 965 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a square region of the image. <a href="#77085bb4dfa1622ac5de64eb5c6ed9d1"></a><br></td></tr> |
philpem@5 | 966 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a4fcfe6666be3ce6cd329e6aa9d37fd"></a><!-- doxytag: member="cimg_library::CImg::get_crop" ref="1a4fcfe6666be3ce6cd329e6aa9d37fd" args="(const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1, const bool border_condition=false) const " --> |
philpem@5 | 967 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_crop</b> (const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1, const bool border_condition=false) const </td></tr> |
philpem@5 | 968 | |
philpem@5 | 969 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0a1400f592a7192b1e6421f5d7045d6a">crop</a> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool border_condition=false)</td></tr> |
philpem@5 | 970 | |
philpem@5 | 971 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a rectangular part of the instance image. <a href="#0a1400f592a7192b1e6421f5d7045d6a"></a><br></td></tr> |
philpem@5 | 972 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9aee13f0b800292841931e93d5941850"></a><!-- doxytag: member="cimg_library::CImg::get_crop" ref="9aee13f0b800292841931e93d5941850" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool border_condition=false) const " --> |
philpem@5 | 973 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_crop</b> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool border_condition=false) const </td></tr> |
philpem@5 | 974 | |
philpem@5 | 975 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#54ad48809ef0be41797c7703e3b4133d">crop</a> (const int x0, const int y0, const int x1, const int y1, const bool border_condition=false)</td></tr> |
philpem@5 | 976 | |
philpem@5 | 977 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a rectangular part of the instance image. <a href="#54ad48809ef0be41797c7703e3b4133d"></a><br></td></tr> |
philpem@5 | 978 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a610bf091842bba7d0ea8730f9450c2e"></a><!-- doxytag: member="cimg_library::CImg::get_crop" ref="a610bf091842bba7d0ea8730f9450c2e" args="(const int x0, const int y0, const int x1, const int y1, const bool border_condition=false) const " --> |
philpem@5 | 979 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_crop</b> (const int x0, const int y0, const int x1, const int y1, const bool border_condition=false) const </td></tr> |
philpem@5 | 980 | |
philpem@5 | 981 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#93a1ecf2944920d55757323e6de2b7da">crop</a> (const int x0, const int x1, const bool border_condition=false)</td></tr> |
philpem@5 | 982 | |
philpem@5 | 983 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a rectangular part of the instance image. <a href="#93a1ecf2944920d55757323e6de2b7da"></a><br></td></tr> |
philpem@5 | 984 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="164e362ebbb5bb59bb2bd70856f30d2d"></a><!-- doxytag: member="cimg_library::CImg::get_crop" ref="164e362ebbb5bb59bb2bd70856f30d2d" args="(const int x0, const int x1, const bool border_condition=false) const " --> |
philpem@5 | 985 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_crop</b> (const int x0, const int x1, const bool border_condition=false) const </td></tr> |
philpem@5 | 986 | |
philpem@5 | 987 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3765c4f7dd09f184b8c26cc7a290ea22"></a><!-- doxytag: member="cimg_library::CImg::autocrop" ref="3765c4f7dd09f184b8c26cc7a290ea22" args="(const T value, const char *const axes="vzyx")" --> |
philpem@5 | 988 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3765c4f7dd09f184b8c26cc7a290ea22">autocrop</a> (const T value, const char *const axes="vzyx")</td></tr> |
philpem@5 | 989 | |
philpem@5 | 990 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Autocrop an image, regarding of the specified backround value. <br></td></tr> |
philpem@5 | 991 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c94787e82a0fafe2e8b0fd83e029c48"></a><!-- doxytag: member="cimg_library::CImg::get_autocrop" ref="3c94787e82a0fafe2e8b0fd83e029c48" args="(const T value, const char *const axes="vzyx") const " --> |
philpem@5 | 992 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_autocrop</b> (const T value, const char *const axes="vzyx") const </td></tr> |
philpem@5 | 993 | |
philpem@5 | 994 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8acc159cf6c641dc8568d7f4ec6b670"></a><!-- doxytag: member="cimg_library::CImg::autocrop" ref="f8acc159cf6c641dc8568d7f4ec6b670" args="(const T *const color, const char *const axes="zyx")" --> |
philpem@5 | 995 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f8acc159cf6c641dc8568d7f4ec6b670">autocrop</a> (const T *const color, const char *const axes="zyx")</td></tr> |
philpem@5 | 996 | |
philpem@5 | 997 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Autocrop an image, regarding of the specified backround color. <br></td></tr> |
philpem@5 | 998 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ade5db378c880ea24ca277dbeb3734ae"></a><!-- doxytag: member="cimg_library::CImg::get_autocrop" ref="ade5db378c880ea24ca277dbeb3734ae" args="(const T *const color, const char *const axes="zyx") const " --> |
philpem@5 | 999 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_autocrop</b> (const T *const color, const char *const axes="zyx") const </td></tr> |
philpem@5 | 1000 | |
philpem@5 | 1001 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="97f20499568cffa340ab6efc88980fea"></a><!-- doxytag: member="cimg_library::CImg::autocrop" ref="97f20499568cffa340ab6efc88980fea" args="(const CImg< t > &color, const char *const axes="zyx")" --> |
philpem@5 | 1002 | template<typename t > </td></tr> |
philpem@5 | 1003 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#97f20499568cffa340ab6efc88980fea">autocrop</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &color, const char *const axes="zyx")</td></tr> |
philpem@5 | 1004 | |
philpem@5 | 1005 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Autocrop an image, regarding of the specified backround color. <br></td></tr> |
philpem@5 | 1006 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7de70deea8cfd093e23b8149a8269691"></a><!-- doxytag: member="cimg_library::CImg::get_autocrop" ref="7de70deea8cfd093e23b8149a8269691" args="(const CImg< t > &color, const char *const axes="zyx") const " --> |
philpem@5 | 1007 | template<typename t > </td></tr> |
philpem@5 | 1008 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_autocrop</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &color, const char *const axes="zyx") const </td></tr> |
philpem@5 | 1009 | |
philpem@5 | 1010 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ccb9eea9bbff8fbc0b63a8b331a35671"></a><!-- doxytag: member="cimg_library::CImg::autocrop" ref="ccb9eea9bbff8fbc0b63a8b331a35671" args="(const T value, const char axis)" --> |
philpem@5 | 1011 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ccb9eea9bbff8fbc0b63a8b331a35671">autocrop</a> (const T value, const char axis)</td></tr> |
philpem@5 | 1012 | |
philpem@5 | 1013 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Autocrop an image along specified axis, regarding of the specified backround value. <br></td></tr> |
philpem@5 | 1014 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ec8c0aaa48b895c17e6a85912d2adaf"></a><!-- doxytag: member="cimg_library::CImg::get_autocrop" ref="6ec8c0aaa48b895c17e6a85912d2adaf" args="(const T value, const char axis) const " --> |
philpem@5 | 1015 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_autocrop</b> (const T value, const char axis) const </td></tr> |
philpem@5 | 1016 | |
philpem@5 | 1017 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdca4cab350c4904bbaa876f96cf2827"></a><!-- doxytag: member="cimg_library::CImg::autocrop" ref="fdca4cab350c4904bbaa876f96cf2827" args="(const T *const color, const char axis)" --> |
philpem@5 | 1018 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fdca4cab350c4904bbaa876f96cf2827">autocrop</a> (const T *const color, const char axis)</td></tr> |
philpem@5 | 1019 | |
philpem@5 | 1020 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Autocrop an image along specified axis, regarding of the specified backround color. <br></td></tr> |
philpem@5 | 1021 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5699ca7298e8d2530c98cac7ee92e52b"></a><!-- doxytag: member="cimg_library::CImg::get_autocrop" ref="5699ca7298e8d2530c98cac7ee92e52b" args="(const T *const color, const char axis) const " --> |
philpem@5 | 1022 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_autocrop</b> (const T *const color, const char axis) const </td></tr> |
philpem@5 | 1023 | |
philpem@5 | 1024 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="2265e8ee231bfd48d780e897c61bb757"></a><!-- doxytag: member="cimg_library::CImg::autocrop" ref="2265e8ee231bfd48d780e897c61bb757" args="(const CImg< t > &color, const char axis)" --> |
philpem@5 | 1025 | template<typename t > </td></tr> |
philpem@5 | 1026 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2265e8ee231bfd48d780e897c61bb757">autocrop</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &color, const char axis)</td></tr> |
philpem@5 | 1027 | |
philpem@5 | 1028 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Autocrop an image along specified axis, regarding of the specified backround color. <br></td></tr> |
philpem@5 | 1029 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ba503cb2e5e4f252233b3eec488da1c7"></a><!-- doxytag: member="cimg_library::CImg::get_autocrop" ref="ba503cb2e5e4f252233b3eec488da1c7" args="(const CImg< t > &color, const char axis) const " --> |
philpem@5 | 1030 | template<typename t > </td></tr> |
philpem@5 | 1031 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_autocrop</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &color, const char axis) const </td></tr> |
philpem@5 | 1032 | |
philpem@5 | 1033 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0898e627e2b12dbf60e6cdb494bb6680"></a><!-- doxytag: member="cimg_library::CImg::_get_autocrop" ref="0898e627e2b12dbf60e6cdb494bb6680" args="(const T value, const char axis) const " --> |
philpem@5 | 1034 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< intT > </td><td class="memItemRight" valign="bottom"><b>_get_autocrop</b> (const T value, const char axis) const </td></tr> |
philpem@5 | 1035 | |
philpem@5 | 1036 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a70ff39a9a7bd64954f4f18819f8e596"></a><!-- doxytag: member="cimg_library::CImg::columns" ref="a70ff39a9a7bd64954f4f18819f8e596" args="(const unsigned int x0, const unsigned int x1)" --> |
philpem@5 | 1037 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a70ff39a9a7bd64954f4f18819f8e596">columns</a> (const unsigned int x0, const unsigned int x1)</td></tr> |
philpem@5 | 1038 | |
philpem@5 | 1039 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a set of columns. <br></td></tr> |
philpem@5 | 1040 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1bc03749880ec2542c303c5c81eea0a2"></a><!-- doxytag: member="cimg_library::CImg::get_columns" ref="1bc03749880ec2542c303c5c81eea0a2" args="(const unsigned int x0, const unsigned int x1) const " --> |
philpem@5 | 1041 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_columns</b> (const unsigned int x0, const unsigned int x1) const </td></tr> |
philpem@5 | 1042 | |
philpem@5 | 1043 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9995a97a1f5bf1de44670dd998f6b19e"></a><!-- doxytag: member="cimg_library::CImg::column" ref="9995a97a1f5bf1de44670dd998f6b19e" args="(const unsigned int x0)" --> |
philpem@5 | 1044 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9995a97a1f5bf1de44670dd998f6b19e">column</a> (const unsigned int x0)</td></tr> |
philpem@5 | 1045 | |
philpem@5 | 1046 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get one column. <br></td></tr> |
philpem@5 | 1047 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d077e00ce00fcebb299518496bf5bdb5"></a><!-- doxytag: member="cimg_library::CImg::get_column" ref="d077e00ce00fcebb299518496bf5bdb5" args="(const unsigned int x0) const " --> |
philpem@5 | 1048 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_column</b> (const unsigned int x0) const </td></tr> |
philpem@5 | 1049 | |
philpem@5 | 1050 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="583e6f289691013d6d863d98ec20631e"></a><!-- doxytag: member="cimg_library::CImg::lines" ref="583e6f289691013d6d863d98ec20631e" args="(const unsigned int y0, const unsigned int y1)" --> |
philpem@5 | 1051 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#583e6f289691013d6d863d98ec20631e">lines</a> (const unsigned int y0, const unsigned int y1)</td></tr> |
philpem@5 | 1052 | |
philpem@5 | 1053 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a set of lines. <br></td></tr> |
philpem@5 | 1054 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27cc2acc265a0ac0b96bf9b4ceb63d41"></a><!-- doxytag: member="cimg_library::CImg::get_lines" ref="27cc2acc265a0ac0b96bf9b4ceb63d41" args="(const unsigned int y0, const unsigned int y1) const " --> |
philpem@5 | 1055 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_lines</b> (const unsigned int y0, const unsigned int y1) const </td></tr> |
philpem@5 | 1056 | |
philpem@5 | 1057 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d701e07806866145060dd2cc2805443e"></a><!-- doxytag: member="cimg_library::CImg::line" ref="d701e07806866145060dd2cc2805443e" args="(const unsigned int y0)" --> |
philpem@5 | 1058 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d701e07806866145060dd2cc2805443e">line</a> (const unsigned int y0)</td></tr> |
philpem@5 | 1059 | |
philpem@5 | 1060 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a line. <br></td></tr> |
philpem@5 | 1061 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="be3a9f5467cf301cb36a6c9ea5202311"></a><!-- doxytag: member="cimg_library::CImg::get_line" ref="be3a9f5467cf301cb36a6c9ea5202311" args="(const unsigned int y0) const " --> |
philpem@5 | 1062 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_line</b> (const unsigned int y0) const </td></tr> |
philpem@5 | 1063 | |
philpem@5 | 1064 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7121006079849bc3c0c165bbe9c3a2d"></a><!-- doxytag: member="cimg_library::CImg::slices" ref="f7121006079849bc3c0c165bbe9c3a2d" args="(const unsigned int z0, const unsigned int z1)" --> |
philpem@5 | 1065 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f7121006079849bc3c0c165bbe9c3a2d">slices</a> (const unsigned int z0, const unsigned int z1)</td></tr> |
philpem@5 | 1066 | |
philpem@5 | 1067 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a set of slices. <br></td></tr> |
philpem@5 | 1068 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eca37cd39cca6c4ff52d2f0bdd87e965"></a><!-- doxytag: member="cimg_library::CImg::get_slices" ref="eca37cd39cca6c4ff52d2f0bdd87e965" args="(const unsigned int z0, const unsigned int z1) const " --> |
philpem@5 | 1069 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_slices</b> (const unsigned int z0, const unsigned int z1) const </td></tr> |
philpem@5 | 1070 | |
philpem@5 | 1071 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="865128dbd1524185b74ddb8ddf30e362"></a><!-- doxytag: member="cimg_library::CImg::slice" ref="865128dbd1524185b74ddb8ddf30e362" args="(const unsigned int z0)" --> |
philpem@5 | 1072 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#865128dbd1524185b74ddb8ddf30e362">slice</a> (const unsigned int z0)</td></tr> |
philpem@5 | 1073 | |
philpem@5 | 1074 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a slice. <br></td></tr> |
philpem@5 | 1075 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c5b89f401484d2085ac53b477922ff34"></a><!-- doxytag: member="cimg_library::CImg::get_slice" ref="c5b89f401484d2085ac53b477922ff34" args="(const unsigned int z0) const " --> |
philpem@5 | 1076 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_slice</b> (const unsigned int z0) const </td></tr> |
philpem@5 | 1077 | |
philpem@5 | 1078 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ca7d14971bd5e6f1ff40801e0c520dc"></a><!-- doxytag: member="cimg_library::CImg::channels" ref="8ca7d14971bd5e6f1ff40801e0c520dc" args="(const unsigned int v0, const unsigned int v1)" --> |
philpem@5 | 1079 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8ca7d14971bd5e6f1ff40801e0c520dc">channels</a> (const unsigned int v0, const unsigned int v1)</td></tr> |
philpem@5 | 1080 | |
philpem@5 | 1081 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a set of channels. <br></td></tr> |
philpem@5 | 1082 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="29672ad8ee5cab6287d1a194f572ddc8"></a><!-- doxytag: member="cimg_library::CImg::get_channels" ref="29672ad8ee5cab6287d1a194f572ddc8" args="(const unsigned int v0, const unsigned int v1) const " --> |
philpem@5 | 1083 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_channels</b> (const unsigned int v0, const unsigned int v1) const </td></tr> |
philpem@5 | 1084 | |
philpem@5 | 1085 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c4404d7b68c6e6f1376191748e3e4b0"></a><!-- doxytag: member="cimg_library::CImg::channel" ref="7c4404d7b68c6e6f1376191748e3e4b0" args="(const unsigned int v0)" --> |
philpem@5 | 1086 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7c4404d7b68c6e6f1376191748e3e4b0">channel</a> (const unsigned int v0)</td></tr> |
philpem@5 | 1087 | |
philpem@5 | 1088 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a channel. <br></td></tr> |
philpem@5 | 1089 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8a71f9f9cd7e42942400271cc492be48"></a><!-- doxytag: member="cimg_library::CImg::get_channel" ref="8a71f9f9cd7e42942400271cc492be48" args="(const unsigned int v0) const " --> |
philpem@5 | 1090 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_channel</b> (const unsigned int v0) const </td></tr> |
philpem@5 | 1091 | |
philpem@5 | 1092 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2bec31726ee3647345577b893c102dea"></a><!-- doxytag: member="cimg_library::CImg::get_shared_points" ref="2bec31726ee3647345577b893c102dea" args="(const unsigned int x0, const unsigned int x1, const unsigned int y0=0, const unsigned int z0=0, const unsigned int v0=0)" --> |
philpem@5 | 1093 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2bec31726ee3647345577b893c102dea">get_shared_points</a> (const unsigned int x0, const unsigned int x1, const unsigned int y0=0, const unsigned int z0=0, const unsigned int v0=0)</td></tr> |
philpem@5 | 1094 | |
philpem@5 | 1095 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a shared-memory image referencing a set of points of the instance image. <br></td></tr> |
philpem@5 | 1096 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94b49e625a53c22e7a639df53c846579"></a><!-- doxytag: member="cimg_library::CImg::get_shared_points" ref="94b49e625a53c22e7a639df53c846579" args="(const unsigned int x0, const unsigned int x1, const unsigned int y0=0, const unsigned int z0=0, const unsigned int v0=0) const " --> |
philpem@5 | 1097 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared_points</b> (const unsigned int x0, const unsigned int x1, const unsigned int y0=0, const unsigned int z0=0, const unsigned int v0=0) const </td></tr> |
philpem@5 | 1098 | |
philpem@5 | 1099 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cb22178b8e77a784d443fd7a6fad7836"></a><!-- doxytag: member="cimg_library::CImg::get_shared_lines" ref="cb22178b8e77a784d443fd7a6fad7836" args="(const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int v0=0)" --> |
philpem@5 | 1100 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cb22178b8e77a784d443fd7a6fad7836">get_shared_lines</a> (const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int v0=0)</td></tr> |
philpem@5 | 1101 | |
philpem@5 | 1102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a shared-memory image referencing a set of lines of the instance image. <br></td></tr> |
philpem@5 | 1103 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82400c025039a679072d515e1e78c77f"></a><!-- doxytag: member="cimg_library::CImg::get_shared_lines" ref="82400c025039a679072d515e1e78c77f" args="(const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int v0=0) const " --> |
philpem@5 | 1104 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared_lines</b> (const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int v0=0) const </td></tr> |
philpem@5 | 1105 | |
philpem@5 | 1106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6a6dc59e00dd28f9a1cd887569a21cc"></a><!-- doxytag: member="cimg_library::CImg::get_shared_line" ref="f6a6dc59e00dd28f9a1cd887569a21cc" args="(const unsigned int y0, const unsigned int z0=0, const unsigned int v0=0)" --> |
philpem@5 | 1107 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f6a6dc59e00dd28f9a1cd887569a21cc">get_shared_line</a> (const unsigned int y0, const unsigned int z0=0, const unsigned int v0=0)</td></tr> |
philpem@5 | 1108 | |
philpem@5 | 1109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a shared-memory image referencing one particular line (y0,z0,v0) of the instance image. <br></td></tr> |
philpem@5 | 1110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c460a88ec5e290efa4ad789acc7cdce"></a><!-- doxytag: member="cimg_library::CImg::get_shared_line" ref="1c460a88ec5e290efa4ad789acc7cdce" args="(const unsigned int y0, const unsigned int z0=0, const unsigned int v0=0) const " --> |
philpem@5 | 1111 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared_line</b> (const unsigned int y0, const unsigned int z0=0, const unsigned int v0=0) const </td></tr> |
philpem@5 | 1112 | |
philpem@5 | 1113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="321bd9cc21a2f658df1dcc5b95eb6fd6"></a><!-- doxytag: member="cimg_library::CImg::get_shared_planes" ref="321bd9cc21a2f658df1dcc5b95eb6fd6" args="(const unsigned int z0, const unsigned int z1, const unsigned int v0=0)" --> |
philpem@5 | 1114 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#321bd9cc21a2f658df1dcc5b95eb6fd6">get_shared_planes</a> (const unsigned int z0, const unsigned int z1, const unsigned int v0=0)</td></tr> |
philpem@5 | 1115 | |
philpem@5 | 1116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a shared memory image referencing a set of planes (z0->z1,v0) of the instance image. <br></td></tr> |
philpem@5 | 1117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d660f5180527fa819b7108ffa412a1a"></a><!-- doxytag: member="cimg_library::CImg::get_shared_planes" ref="3d660f5180527fa819b7108ffa412a1a" args="(const unsigned int z0, const unsigned int z1, const unsigned int v0=0) const " --> |
philpem@5 | 1118 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared_planes</b> (const unsigned int z0, const unsigned int z1, const unsigned int v0=0) const </td></tr> |
philpem@5 | 1119 | |
philpem@5 | 1120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eec1741a119c7ba27c2c3c2c20097df9"></a><!-- doxytag: member="cimg_library::CImg::get_shared_plane" ref="eec1741a119c7ba27c2c3c2c20097df9" args="(const unsigned int z0, const unsigned int v0=0)" --> |
philpem@5 | 1121 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#eec1741a119c7ba27c2c3c2c20097df9">get_shared_plane</a> (const unsigned int z0, const unsigned int v0=0)</td></tr> |
philpem@5 | 1122 | |
philpem@5 | 1123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a shared-memory image referencing one plane (z0,v0) of the instance image. <br></td></tr> |
philpem@5 | 1124 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1518bdf4a3698a7788b3f3d27369e9ef"></a><!-- doxytag: member="cimg_library::CImg::get_shared_plane" ref="1518bdf4a3698a7788b3f3d27369e9ef" args="(const unsigned int z0, const unsigned int v0=0) const " --> |
philpem@5 | 1125 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared_plane</b> (const unsigned int z0, const unsigned int v0=0) const </td></tr> |
philpem@5 | 1126 | |
philpem@5 | 1127 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="770b28a6ddc3c11af056d27f8dede3d7"></a><!-- doxytag: member="cimg_library::CImg::get_shared_channels" ref="770b28a6ddc3c11af056d27f8dede3d7" args="(const unsigned int v0, const unsigned int v1)" --> |
philpem@5 | 1128 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#770b28a6ddc3c11af056d27f8dede3d7">get_shared_channels</a> (const unsigned int v0, const unsigned int v1)</td></tr> |
philpem@5 | 1129 | |
philpem@5 | 1130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a shared-memory image referencing a set of channels (v0->v1) of the instance image. <br></td></tr> |
philpem@5 | 1131 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ddad0d8f415c1a1cf52ff275f75d8ef7"></a><!-- doxytag: member="cimg_library::CImg::get_shared_channels" ref="ddad0d8f415c1a1cf52ff275f75d8ef7" args="(const unsigned int v0, const unsigned int v1) const " --> |
philpem@5 | 1132 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared_channels</b> (const unsigned int v0, const unsigned int v1) const </td></tr> |
philpem@5 | 1133 | |
philpem@5 | 1134 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="da9415c850e4a0779e5607b26782de9d"></a><!-- doxytag: member="cimg_library::CImg::get_shared_channel" ref="da9415c850e4a0779e5607b26782de9d" args="(const unsigned int v0)" --> |
philpem@5 | 1135 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#da9415c850e4a0779e5607b26782de9d">get_shared_channel</a> (const unsigned int v0)</td></tr> |
philpem@5 | 1136 | |
philpem@5 | 1137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a shared-memory image referencing one channel v0 of the instance image. <br></td></tr> |
philpem@5 | 1138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64d6803b8d4a5d75f09b5766dafe7241"></a><!-- doxytag: member="cimg_library::CImg::get_shared_channel" ref="64d6803b8d4a5d75f09b5766dafe7241" args="(const unsigned int v0) const " --> |
philpem@5 | 1139 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared_channel</b> (const unsigned int v0) const </td></tr> |
philpem@5 | 1140 | |
philpem@5 | 1141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9676ed1fd154d30c8a2f6f6ee17499c"></a><!-- doxytag: member="cimg_library::CImg::get_shared" ref="c9676ed1fd154d30c8a2f6f6ee17499c" args="()" --> |
philpem@5 | 1142 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c9676ed1fd154d30c8a2f6f6ee17499c">get_shared</a> ()</td></tr> |
philpem@5 | 1143 | |
philpem@5 | 1144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a shared version of the instance image. <br></td></tr> |
philpem@5 | 1145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bd52fe084ef60471cddfccc1d382c4b"></a><!-- doxytag: member="cimg_library::CImg::get_shared" ref="3bd52fe084ef60471cddfccc1d382c4b" args="() const " --> |
philpem@5 | 1146 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_shared</b> () const </td></tr> |
philpem@5 | 1147 | |
philpem@5 | 1148 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f4f598be55ec6fb4af8c0f9bb05b91c"></a><!-- doxytag: member="cimg_library::CImg::projections2d" ref="4f4f598be55ec6fb4af8c0f9bb05b91c" args="(const unsigned int x0, const unsigned int y0, const unsigned int z0, const int dx=-100, const int dy=-100, const int dz=-100)" --> |
philpem@5 | 1149 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4f4f598be55ec6fb4af8c0f9bb05b91c">projections2d</a> (const unsigned int x0, const unsigned int y0, const unsigned int z0, const int dx=-100, const int dy=-100, const int dz=-100)</td></tr> |
philpem@5 | 1150 | |
philpem@5 | 1151 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 2D representation of a 3D image, with three slices. <br></td></tr> |
philpem@5 | 1152 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4e42b0c1cb1f4ed377e9048e4ab463c"></a><!-- doxytag: member="cimg_library::CImg::get_projections2d" ref="e4e42b0c1cb1f4ed377e9048e4ab463c" args="(const unsigned int x0, const unsigned int y0, const unsigned int z0, const int dx=-100, const int dy=-100, const int dz=-100) const " --> |
philpem@5 | 1153 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_projections2d</b> (const unsigned int x0, const unsigned int y0, const unsigned int z0, const int dx=-100, const int dy=-100, const int dz=-100) const </td></tr> |
philpem@5 | 1154 | |
philpem@5 | 1155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#edc5d10d1516480dbfe20a576c152770">histogram</a> (const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0)</td></tr> |
philpem@5 | 1156 | |
philpem@5 | 1157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the image histogram. <a href="#edc5d10d1516480dbfe20a576c152770"></a><br></td></tr> |
philpem@5 | 1158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1754c66b729a5551a0a9c7764a4d32fa"></a><!-- doxytag: member="cimg_library::CImg::get_histogram" ref="1754c66b729a5551a0a9c7764a4d32fa" args="(const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0) const " --> |
philpem@5 | 1159 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memItemRight" valign="bottom"><b>get_histogram</b> (const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0) const </td></tr> |
philpem@5 | 1160 | |
philpem@5 | 1161 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a2227f917f7c4424123b5a2806d7f5b8">equalize</a> (const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0)</td></tr> |
philpem@5 | 1162 | |
philpem@5 | 1163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the histogram-equalized version of the instance image. <a href="#a2227f917f7c4424123b5a2806d7f5b8"></a><br></td></tr> |
philpem@5 | 1164 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6176dba8dc6191a96eaebedb6fc7805e"></a><!-- doxytag: member="cimg_library::CImg::get_equalize" ref="6176dba8dc6191a96eaebedb6fc7805e" args="(const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0) const " --> |
philpem@5 | 1165 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_equalize</b> (const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0) const </td></tr> |
philpem@5 | 1166 | |
philpem@5 | 1167 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd78906a1eb7d7c0e1aa4c220e474540"></a><!-- doxytag: member="cimg_library::CImg::label_regions" ref="cd78906a1eb7d7c0e1aa4c220e474540" args="()" --> |
philpem@5 | 1168 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cd78906a1eb7d7c0e1aa4c220e474540">label_regions</a> ()</td></tr> |
philpem@5 | 1169 | |
philpem@5 | 1170 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a label map of disconnected regions with same intensities. <br></td></tr> |
philpem@5 | 1171 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eaaa8b573a347790eeefa9bbb73c4373"></a><!-- doxytag: member="cimg_library::CImg::get_label_regions" ref="eaaa8b573a347790eeefa9bbb73c4373" args="() const " --> |
philpem@5 | 1172 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< uintT > </td><td class="memItemRight" valign="bottom"><b>get_label_regions</b> () const </td></tr> |
philpem@5 | 1173 | |
philpem@5 | 1174 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f2cceb3e14d6650bc7d1c89afedba15a">pointwise_norm</a> (int norm_type=2)</td></tr> |
philpem@5 | 1175 | |
philpem@5 | 1176 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the scalar image of vector norms. <a href="#f2cceb3e14d6650bc7d1c89afedba15a"></a><br></td></tr> |
philpem@5 | 1177 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93a1f161ff26cf6f2510f716ec810f0c"></a><!-- doxytag: member="cimg_library::CImg::get_pointwise_norm" ref="93a1f161ff26cf6f2510f716ec810f0c" args="(int norm_type=2) const " --> |
philpem@5 | 1178 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_pointwise_norm</b> (int norm_type=2) const </td></tr> |
philpem@5 | 1179 | |
philpem@5 | 1180 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2662d70fed319ed056836696c3a97499">pointwise_orientation</a> ()</td></tr> |
philpem@5 | 1181 | |
philpem@5 | 1182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the image of normalized vectors. <a href="#2662d70fed319ed056836696c3a97499"></a><br></td></tr> |
philpem@5 | 1183 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="69b5a3b9da62f9c8651c2a1adc7f84ea"></a><!-- doxytag: member="cimg_library::CImg::get_pointwise_orientation" ref="69b5a3b9da62f9c8651c2a1adc7f84ea" args="() const " --> |
philpem@5 | 1184 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_pointwise_orientation</b> () const </td></tr> |
philpem@5 | 1185 | |
philpem@5 | 1186 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ccd769bc160bb4bd933d01ec3b22c1d7"></a><!-- doxytag: member="cimg_library::CImg::get_split" ref="ccd769bc160bb4bd933d01ec3b22c1d7" args="(const char axis, const unsigned int nb=0) const " --> |
philpem@5 | 1187 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ccd769bc160bb4bd933d01ec3b22c1d7">get_split</a> (const char axis, const unsigned int nb=0) const </td></tr> |
philpem@5 | 1188 | |
philpem@5 | 1189 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Split image into a list. <br></td></tr> |
philpem@5 | 1190 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1ef4503a0291099e6b1e3724594f49f"></a><!-- doxytag: member="cimg_library::CImg::get_split" ref="d1ef4503a0291099e6b1e3724594f49f" args="(const T value, const bool keep_values, const bool shared) const " --> |
philpem@5 | 1191 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_split</b> (const T value, const bool keep_values, const bool shared) const </td></tr> |
philpem@5 | 1192 | |
philpem@5 | 1193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="42e2ed19679d15fdd27097ed96501fae"></a><!-- doxytag: member="cimg_library::CImg::append" ref="42e2ed19679d15fdd27097ed96501fae" args="(const CImg< T > &img, const char axis, const char align='p')" --> |
philpem@5 | 1194 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#42e2ed19679d15fdd27097ed96501fae">append</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &img, const char axis, const char align='p')</td></tr> |
philpem@5 | 1195 | |
philpem@5 | 1196 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Append an image to another one. <br></td></tr> |
philpem@5 | 1197 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="415bc7b5a83439b81852d60a30bff507"></a><!-- doxytag: member="cimg_library::CImg::get_append" ref="415bc7b5a83439b81852d60a30bff507" args="(const CImg< T > &img, const char axis, const char align='p') const " --> |
philpem@5 | 1198 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_append</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &img, const char axis, const char align='p') const </td></tr> |
philpem@5 | 1199 | |
philpem@5 | 1200 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3e5b54c0b862cbf6e9f14e832984c4d7">get_gradient</a> (const char *const axes=0, const int scheme=3) const </td></tr> |
philpem@5 | 1201 | |
philpem@5 | 1202 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the list of images, corresponding to the XY-gradients of an image. <a href="#3e5b54c0b862cbf6e9f14e832984c4d7"></a><br></td></tr> |
philpem@5 | 1203 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edf6587b65261c0d4eb75bb2ed7d92ae"></a><!-- doxytag: member="cimg_library::CImg::structure_tensor" ref="edf6587b65261c0d4eb75bb2ed7d92ae" args="(const bool central_scheme=false)" --> |
philpem@5 | 1204 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#edf6587b65261c0d4eb75bb2ed7d92ae">structure_tensor</a> (const bool central_scheme=false)</td></tr> |
philpem@5 | 1205 | |
philpem@5 | 1206 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the structure tensor field of an image. <br></td></tr> |
philpem@5 | 1207 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="72a716ae0455b763d9945db52e513fc7"></a><!-- doxytag: member="cimg_library::CImg::get_structure_tensor" ref="72a716ae0455b763d9945db52e513fc7" args="(const bool central_scheme=false) const " --> |
philpem@5 | 1208 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_structure_tensor</b> (const bool central_scheme=false) const </td></tr> |
philpem@5 | 1209 | |
philpem@5 | 1210 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="96e3e0c617e70a833492043d08a7905a"></a><!-- doxytag: member="cimg_library::CImg::get_hessian" ref="96e3e0c617e70a833492043d08a7905a" args="(const char *const axes=0) const " --> |
philpem@5 | 1211 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#96e3e0c617e70a833492043d08a7905a">get_hessian</a> (const char *const axes=0) const </td></tr> |
philpem@5 | 1212 | |
philpem@5 | 1213 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get components of the Hessian matrix of an image. <br></td></tr> |
philpem@5 | 1214 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ac17a49491c76e73310270931e88d46"></a><!-- doxytag: member="cimg_library::CImg::distance_hamilton" ref="2ac17a49491c76e73310270931e88d46" args="(const unsigned int nb_iter, const float band_size=0, const float precision=0.5f)" --> |
philpem@5 | 1215 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2ac17a49491c76e73310270931e88d46">distance_hamilton</a> (const unsigned int nb_iter, const float band_size=0, const float precision=0.5f)</td></tr> |
philpem@5 | 1216 | |
philpem@5 | 1217 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute distance function from 0-valued isophotes by the application of an Hamilton-Jacobi PDE. <br></td></tr> |
philpem@5 | 1218 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="36f424515848147f70a3273dab6925ef"></a><!-- doxytag: member="cimg_library::CImg::get_distance_hamilton" ref="36f424515848147f70a3273dab6925ef" args="(const unsigned int nb_iter, const float band_size=0, const float precision=0.5f) const " --> |
philpem@5 | 1219 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_distance_hamilton</b> (const unsigned int nb_iter, const float band_size=0, const float precision=0.5f) const </td></tr> |
philpem@5 | 1220 | |
philpem@5 | 1221 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="896675c24b7a4aad089a31c98cd39318"></a><!-- doxytag: member="cimg_library::CImg::distance" ref="896675c24b7a4aad089a31c98cd39318" args="(const T isovalue, const float sizex=1, const float sizey=1, const float sizez=1, const bool compute_sqrt=true)" --> |
philpem@5 | 1222 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#896675c24b7a4aad089a31c98cd39318">distance</a> (const T isovalue, const float sizex=1, const float sizey=1, const float sizez=1, const bool compute_sqrt=true)</td></tr> |
philpem@5 | 1223 | |
philpem@5 | 1224 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the Euclidean distance map to a shape of specified isovalue. <br></td></tr> |
philpem@5 | 1225 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="da7d6ed59321d50bcef3a3158d4fcbf1"></a><!-- doxytag: member="cimg_library::CImg::get_distance" ref="da7d6ed59321d50bcef3a3158d4fcbf1" args="(const T isovalue, const float sizex=1, const float sizey=1, const float sizez=1, const bool compute_sqrt=true) const " --> |
philpem@5 | 1226 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memItemRight" valign="bottom"><b>get_distance</b> (const T isovalue, const float sizex=1, const float sizey=1, const float sizez=1, const bool compute_sqrt=true) const </td></tr> |
philpem@5 | 1227 | |
philpem@5 | 1228 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 1229 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#255acd18f793e0faacd5180f0d10713b">dijkstra</a> (const unsigned int starting_node, const unsigned int ending_node, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &previous)</td></tr> |
philpem@5 | 1230 | |
philpem@5 | 1231 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return minimal path in a graph, using the Dijkstra algorithm. <a href="#255acd18f793e0faacd5180f0d10713b"></a><br></td></tr> |
philpem@5 | 1232 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="eb501612014494cdc5c931a4476081d7"></a><!-- doxytag: member="cimg_library::CImg::get_dijkstra" ref="eb501612014494cdc5c931a4476081d7" args="(const unsigned int starting_node, const unsigned int ending_node, CImg< t > &previous) const " --> |
philpem@5 | 1233 | template<typename t > </td></tr> |
philpem@5 | 1234 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_dijkstra</b> (const unsigned int starting_node, const unsigned int ending_node, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &previous) const </td></tr> |
philpem@5 | 1235 | |
philpem@5 | 1236 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aaf059b97f37c83ff892a761db3333b2"></a><!-- doxytag: member="cimg_library::CImg::dijkstra" ref="aaf059b97f37c83ff892a761db3333b2" args="(const unsigned int starting_node, const unsigned int ending_node=~0U)" --> |
philpem@5 | 1237 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#aaf059b97f37c83ff892a761db3333b2">dijkstra</a> (const unsigned int starting_node, const unsigned int ending_node=~0U)</td></tr> |
philpem@5 | 1238 | |
philpem@5 | 1239 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return minimal path in a graph, using the Dijkstra algorithm. <br></td></tr> |
philpem@5 | 1240 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0ed498595ea1bfa2ad16b1feed6a38b"></a><!-- doxytag: member="cimg_library::CImg::get_dijkstra" ref="e0ed498595ea1bfa2ad16b1feed6a38b" args="(const unsigned int starting_node, const unsigned int ending_node=~0U) const " --> |
philpem@5 | 1241 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_dijkstra</b> (const unsigned int starting_node, const unsigned int ending_node=~0U) const </td></tr> |
philpem@5 | 1242 | |
philpem@5 | 1243 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d909a60225cbea34c7854c09fb1e5efa"></a><!-- doxytag: member="cimg_library::CImg::_distance_f" ref="d909a60225cbea34c7854c09fb1e5efa" args="(const int x, const int i, const float gi2, const float fact)" --> |
philpem@5 | 1244 | static float </td><td class="memItemRight" valign="bottom"><b>_distance_f</b> (const int x, const int i, const float gi2, const float fact)</td></tr> |
philpem@5 | 1245 | |
philpem@5 | 1246 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16c0476567023d780367e28d06d58730"></a><!-- doxytag: member="cimg_library::CImg::_distance_sep" ref="16c0476567023d780367e28d06d58730" args="(const int i, const int u, const int gi2, const int gu2, const float fact)" --> |
philpem@5 | 1247 | static int </td><td class="memItemRight" valign="bottom"><b>_distance_sep</b> (const int i, const int u, const int gi2, const int gu2, const float fact)</td></tr> |
philpem@5 | 1248 | |
philpem@5 | 1249 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tf , typename t > </td></tr> |
philpem@5 | 1250 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f2b4fdd725a79235943e5cc5704a32d5">dijkstra</a> (const tf &distance, const unsigned int nb_nodes, const unsigned int starting_node, const unsigned int ending_node, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &previous)</td></tr> |
philpem@5 | 1251 | |
philpem@5 | 1252 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute minimal path in a graph, using the Dijkstra algorithm. <a href="#f2b4fdd725a79235943e5cc5704a32d5"></a><br></td></tr> |
philpem@5 | 1253 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="dad65a3bfabe64171d5fd68dc2c7f16e"></a><!-- doxytag: member="cimg_library::CImg::dijkstra" ref="dad65a3bfabe64171d5fd68dc2c7f16e" args="(const tf &distance, const unsigned int nb_nodes, const unsigned int starting_node, const unsigned int ending_node=~0U)" --> |
philpem@5 | 1254 | template<typename tf , typename t > </td></tr> |
philpem@5 | 1255 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dad65a3bfabe64171d5fd68dc2c7f16e">dijkstra</a> (const tf &distance, const unsigned int nb_nodes, const unsigned int starting_node, const unsigned int ending_node=~0U)</td></tr> |
philpem@5 | 1256 | |
philpem@5 | 1257 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return minimal path in a graph, using the Dijkstra algorithm. <br></td></tr> |
philpem@5 | 1258 | <tr><td colspan="2"><br><h2>Meshes and Triangulations</h2></td></tr> |
philpem@5 | 1259 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f8a421b285e0b85ea6ab2fd4a2e6736e"></a><!-- doxytag: member="cimg_library::CImg::get_elevation3d" ref="f8a421b285e0b85ea6ab2fd4a2e6736e" args="(CImgList< tf > &primitives, CImgList< tc > &colors, const CImg< te > &elevation) const " --> |
philpem@5 | 1260 | template<typename tf , typename tc , typename te > </td></tr> |
philpem@5 | 1261 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f8a421b285e0b85ea6ab2fd4a2e6736e">get_elevation3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< te > &elevation) const </td></tr> |
philpem@5 | 1262 | |
philpem@5 | 1263 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D elevation object of the instance image. <br></td></tr> |
philpem@5 | 1264 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="dfcfeb419514a0e79c6bcb17fc71a53f"></a><!-- doxytag: member="cimg_library::CImg::get_isovalue3d" ref="dfcfeb419514a0e79c6bcb17fc71a53f" args="(CImgList< tf > &primitives, const float isovalue, const float resx=1, const float resy=1, const float resz=1, const bool invert_faces=false) const " --> |
philpem@5 | 1265 | template<typename tf > </td></tr> |
philpem@5 | 1266 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dfcfeb419514a0e79c6bcb17fc71a53f">get_isovalue3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float isovalue, const float resx=1, const float resy=1, const float resz=1, const bool invert_faces=false) const </td></tr> |
philpem@5 | 1267 | |
philpem@5 | 1268 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute a vectorization of an implicit function. <br></td></tr> |
philpem@5 | 1269 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec75e25883a9e1068aaa93162b969aba"></a><!-- doxytag: member="cimg_library::CImg::translate_object3d" ref="ec75e25883a9e1068aaa93162b969aba" args="(const float tx, const float ty=0, const float tz=0)" --> |
philpem@5 | 1270 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ec75e25883a9e1068aaa93162b969aba">translate_object3d</a> (const float tx, const float ty=0, const float tz=0)</td></tr> |
philpem@5 | 1271 | |
philpem@5 | 1272 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a 3D object. <br></td></tr> |
philpem@5 | 1273 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3267c252d6c61be96206db3c0e39b98"></a><!-- doxytag: member="cimg_library::CImg::get_translate_object3d" ref="c3267c252d6c61be96206db3c0e39b98" args="(const float tx, const float ty=0, const float tz=0) const " --> |
philpem@5 | 1274 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_translate_object3d</b> (const float tx, const float ty=0, const float tz=0) const </td></tr> |
philpem@5 | 1275 | |
philpem@5 | 1276 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d430e8117e4f1c836e2d4d6810d5a7bf"></a><!-- doxytag: member="cimg_library::CImg::translate_object3d" ref="d430e8117e4f1c836e2d4d6810d5a7bf" args="()" --> |
philpem@5 | 1277 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d430e8117e4f1c836e2d4d6810d5a7bf">translate_object3d</a> ()</td></tr> |
philpem@5 | 1278 | |
philpem@5 | 1279 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a 3D object so that it becomes centered. <br></td></tr> |
philpem@5 | 1280 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="636ef6ba4f1a006a3b629160fb9e11ce"></a><!-- doxytag: member="cimg_library::CImg::get_translate_object3d" ref="636ef6ba4f1a006a3b629160fb9e11ce" args="() const " --> |
philpem@5 | 1281 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_translate_object3d</b> () const </td></tr> |
philpem@5 | 1282 | |
philpem@5 | 1283 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf489c894d7f7394912d5dd4c05c1538"></a><!-- doxytag: member="cimg_library::CImg::resize_object3d" ref="cf489c894d7f7394912d5dd4c05c1538" args="(const float sx, const float sy=-100, const float sz=-100)" --> |
philpem@5 | 1284 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cf489c894d7f7394912d5dd4c05c1538">resize_object3d</a> (const float sx, const float sy=-100, const float sz=-100)</td></tr> |
philpem@5 | 1285 | |
philpem@5 | 1286 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Resize a 3D object. <br></td></tr> |
philpem@5 | 1287 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2c8f5b3925f96818b6be80e671a8a61"></a><!-- doxytag: member="cimg_library::CImg::get_resize_object3d" ref="d2c8f5b3925f96818b6be80e671a8a61" args="(const float sx, const float sy=-100, const float sz=-100) const " --> |
philpem@5 | 1288 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_resize_object3d</b> (const float sx, const float sy=-100, const float sz=-100) const </td></tr> |
philpem@5 | 1289 | |
philpem@5 | 1290 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edb6c6dc25f669f5af7d3fe55978addc"></a><!-- doxytag: member="cimg_library::CImg::resize_object3d" ref="edb6c6dc25f669f5af7d3fe55978addc" args="() const " --> |
philpem@5 | 1291 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>resize_object3d</b> () const </td></tr> |
philpem@5 | 1292 | |
philpem@5 | 1293 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59fffbf1fb8d5f9b5db4a772da0c40cc"></a><!-- doxytag: member="cimg_library::CImg::get_resize_object3d" ref="59fffbf1fb8d5f9b5db4a772da0c40cc" args="() const " --> |
philpem@5 | 1294 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_resize_object3d</b> () const </td></tr> |
philpem@5 | 1295 | |
philpem@5 | 1296 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="91932674ad04313d7b164d874b95348b"></a><!-- doxytag: member="cimg_library::CImg::append_object3d" ref="91932674ad04313d7b164d874b95348b" args="(CImgList< tf > &primitives, const CImg< tp > &obj_points, const CImgList< tff > &obj_primitives)" --> |
philpem@5 | 1297 | template<typename tf , typename tp , typename tff > </td></tr> |
philpem@5 | 1298 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#91932674ad04313d7b164d874b95348b">append_object3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > &obj_points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tff > &obj_primitives)</td></tr> |
philpem@5 | 1299 | |
philpem@5 | 1300 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Append a 3D object to another one. <br></td></tr> |
philpem@5 | 1301 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7909d0564ee489806b89a79159a9d91d"></a><!-- doxytag: member="cimg_library::CImg::cube3d" ref="7909d0564ee489806b89a79159a9d91d" args="(CImgList< tf > &primitives, const float size=100)" --> |
philpem@5 | 1302 | template<typename tf > </td></tr> |
philpem@5 | 1303 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7909d0564ee489806b89a79159a9d91d">cube3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float size=100)</td></tr> |
philpem@5 | 1304 | |
philpem@5 | 1305 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered cube. <br></td></tr> |
philpem@5 | 1306 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e15246012bf5a2672766bda1743417f0"></a><!-- doxytag: member="cimg_library::CImg::cuboid3d" ref="e15246012bf5a2672766bda1743417f0" args="(CImgList< tf > &primitives, const float sizex=200, const float sizey=100, const float sizez=100)" --> |
philpem@5 | 1307 | template<typename tf > </td></tr> |
philpem@5 | 1308 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e15246012bf5a2672766bda1743417f0">cuboid3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float sizex=200, const float sizey=100, const float sizez=100)</td></tr> |
philpem@5 | 1309 | |
philpem@5 | 1310 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered cuboid. <br></td></tr> |
philpem@5 | 1311 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4cfdd883704e403728d35979c07a069b"></a><!-- doxytag: member="cimg_library::CImg::cone3d" ref="4cfdd883704e403728d35979c07a069b" args="(CImgList< tf > &primitives, const float radius=50, const float height=100, const unsigned int subdivisions=24, const bool symetrize=false)" --> |
philpem@5 | 1312 | template<typename tf > </td></tr> |
philpem@5 | 1313 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4cfdd883704e403728d35979c07a069b">cone3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float radius=50, const float <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a>=100, const unsigned int subdivisions=24, const bool symetrize=false)</td></tr> |
philpem@5 | 1314 | |
philpem@5 | 1315 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered cone. <br></td></tr> |
philpem@5 | 1316 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="13077712f8141674ceb3946aafc37a3f"></a><!-- doxytag: member="cimg_library::CImg::cylinder3d" ref="13077712f8141674ceb3946aafc37a3f" args="(CImgList< tf > &primitives, const float radius=50, const float height=100, const unsigned int subdivisions=24)" --> |
philpem@5 | 1317 | template<typename tf > </td></tr> |
philpem@5 | 1318 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#13077712f8141674ceb3946aafc37a3f">cylinder3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float radius=50, const float <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a>=100, const unsigned int subdivisions=24)</td></tr> |
philpem@5 | 1319 | |
philpem@5 | 1320 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered cylinder. <br></td></tr> |
philpem@5 | 1321 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="fe12f532a1faf7ba4dbdd32297cdbe6e"></a><!-- doxytag: member="cimg_library::CImg::torus3d" ref="fe12f532a1faf7ba4dbdd32297cdbe6e" args="(CImgList< tf > &primitives, const float radius1=100, const float radius2=30, const unsigned int subdivisions1=24, const unsigned int subdivisions2=12)" --> |
philpem@5 | 1322 | template<typename tf > </td></tr> |
philpem@5 | 1323 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fe12f532a1faf7ba4dbdd32297cdbe6e">torus3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float radius1=100, const float radius2=30, const unsigned int subdivisions1=24, const unsigned int subdivisions2=12)</td></tr> |
philpem@5 | 1324 | |
philpem@5 | 1325 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered torus. <br></td></tr> |
philpem@5 | 1326 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="dcc51ad58ccf7a05d28a6dd4ffa446d9"></a><!-- doxytag: member="cimg_library::CImg::plane3d" ref="dcc51ad58ccf7a05d28a6dd4ffa446d9" args="(CImgList< tf > &primitives, const float sizex=100, const float sizey=100, const unsigned int subdivisionsx=3, const unsigned int subdivisionsy=3, const bool double_sided=false)" --> |
philpem@5 | 1327 | template<typename tf > </td></tr> |
philpem@5 | 1328 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dcc51ad58ccf7a05d28a6dd4ffa446d9">plane3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float sizex=100, const float sizey=100, const unsigned int subdivisionsx=3, const unsigned int subdivisionsy=3, const bool double_sided=false)</td></tr> |
philpem@5 | 1329 | |
philpem@5 | 1330 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered XY plane. <br></td></tr> |
philpem@5 | 1331 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="612264fd3b4223e6ecf99b05a6e220cd"></a><!-- doxytag: member="cimg_library::CImg::sphere3d" ref="612264fd3b4223e6ecf99b05a6e220cd" args="(CImgList< tf > &primitives, const float radius=50, const unsigned int subdivisions=3)" --> |
philpem@5 | 1332 | template<typename tf > </td></tr> |
philpem@5 | 1333 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#612264fd3b4223e6ecf99b05a6e220cd">sphere3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const float radius=50, const unsigned int subdivisions=3)</td></tr> |
philpem@5 | 1334 | |
philpem@5 | 1335 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered sphere. <br></td></tr> |
philpem@5 | 1336 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e24de98deb46f84769fd72c504ceedc2"></a><!-- doxytag: member="cimg_library::CImg::ellipsoid3d" ref="e24de98deb46f84769fd72c504ceedc2" args="(CImgList< tf > &primitives, const CImg< t > &tensor, const unsigned int subdivisions=3)" --> |
philpem@5 | 1337 | template<typename tf , typename t > </td></tr> |
philpem@5 | 1338 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e24de98deb46f84769fd72c504ceedc2">ellipsoid3d</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const unsigned int subdivisions=3)</td></tr> |
philpem@5 | 1339 | |
philpem@5 | 1340 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3D centered ellipsoid. <br></td></tr> |
philpem@5 | 1341 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="34d363af53d74ded9f766e8c93b444a2"></a><!-- doxytag: member="cimg_library::CImg::_marching_squares_indice" ref="34d363af53d74ded9f766e8c93b444a2" args="(const unsigned int edge, const CImg< t > &indices1, const CImg< t > &indices2, const unsigned int x, const unsigned int nx)" --> |
philpem@5 | 1342 | template<typename t > </td></tr> |
philpem@5 | 1343 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static int </td><td class="memTemplItemRight" valign="bottom"><b>_marching_squares_indice</b> (const unsigned int edge, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &indices1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &indices2, const unsigned int x, const unsigned int nx)</td></tr> |
philpem@5 | 1344 | |
philpem@5 | 1345 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="858076f1e68d6b616c3f8dd46c441f77"></a><!-- doxytag: member="cimg_library::CImg::marching_squares" ref="858076f1e68d6b616c3f8dd46c441f77" args="(CImgList< tf > &primitives, const tfunc &func, const float isovalue, const float x0, const float y0, const float x1, const float y1, const float resx, const float resy)" --> |
philpem@5 | 1346 | template<typename tf , typename tfunc > </td></tr> |
philpem@5 | 1347 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#858076f1e68d6b616c3f8dd46c441f77">marching_squares</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const tfunc &func, const float isovalue, const float x0, const float y0, const float x1, const float y1, const float resx, const float resy)</td></tr> |
philpem@5 | 1348 | |
philpem@5 | 1349 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Polygonize an implicit 2D function by the marching squares algorithm. <br></td></tr> |
philpem@5 | 1350 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="212593412b18db32a7769f072c96e2b9"></a><!-- doxytag: member="cimg_library::CImg::_marching_cubes_indice" ref="212593412b18db32a7769f072c96e2b9" args="(const unsigned int edge, const CImg< t > &indices1, const CImg< t > &indices2, const unsigned int x, const unsigned int y, const unsigned int nx, const unsigned int ny)" --> |
philpem@5 | 1351 | template<typename t > </td></tr> |
philpem@5 | 1352 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static int </td><td class="memTemplItemRight" valign="bottom"><b>_marching_cubes_indice</b> (const unsigned int edge, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &indices1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &indices2, const unsigned int x, const unsigned int y, const unsigned int nx, const unsigned int ny)</td></tr> |
philpem@5 | 1353 | |
philpem@5 | 1354 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="918eba9e7b484b7300c96885a82bc5fc"></a><!-- doxytag: member="cimg_library::CImg::marching_cubes" ref="918eba9e7b484b7300c96885a82bc5fc" args="(CImgList< tf > &primitives, const tfunc &func, const float isovalue, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const float resx, const float resy, const float resz, const bool invert_faces=false)" --> |
philpem@5 | 1355 | template<typename tf , typename tfunc > </td></tr> |
philpem@5 | 1356 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< floatT > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#918eba9e7b484b7300c96885a82bc5fc">marching_cubes</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const tfunc &func, const float isovalue, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const float resx, const float resy, const float resz, const bool invert_faces=false)</td></tr> |
philpem@5 | 1357 | |
philpem@5 | 1358 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Polygonize an implicit function. <br></td></tr> |
philpem@5 | 1359 | <tr><td colspan="2"><br><h2>Color bases</h2></td></tr> |
philpem@5 | 1360 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="59e0e13a4701d81e9bb78bd6cbd2d048"></a><!-- doxytag: member="cimg_library::CImg::RGBtoLUT" ref="59e0e13a4701d81e9bb78bd6cbd2d048" args="(const CImg< t > &palette, const bool dithering=true, const bool indexing=false)" --> |
philpem@5 | 1361 | template<typename t > </td></tr> |
philpem@5 | 1362 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#59e0e13a4701d81e9bb78bd6cbd2d048">RGBtoLUT</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &palette, const bool dithering=true, const bool indexing=false)</td></tr> |
philpem@5 | 1363 | |
philpem@5 | 1364 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (R,G,B) color image to indexed color image. <br></td></tr> |
philpem@5 | 1365 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ccb2f7f680153766a08d3a33dfe7e367"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoLUT" ref="ccb2f7f680153766a08d3a33dfe7e367" args="(const CImg< t > &palette, const bool dithering=true, const bool indexing=false) const " --> |
philpem@5 | 1366 | template<typename t > </td></tr> |
philpem@5 | 1367 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > </td><td class="memTemplItemRight" valign="bottom"><b>get_RGBtoLUT</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &palette, const bool dithering=true, const bool indexing=false) const </td></tr> |
philpem@5 | 1368 | |
philpem@5 | 1369 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7db4236b8223d536bfe0a6fa6224e0a5"></a><!-- doxytag: member="cimg_library::CImg::RGBtoLUT" ref="7db4236b8223d536bfe0a6fa6224e0a5" args="(const bool dithering=true, const bool indexing=false)" --> |
philpem@5 | 1370 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7db4236b8223d536bfe0a6fa6224e0a5">RGBtoLUT</a> (const bool dithering=true, const bool indexing=false)</td></tr> |
philpem@5 | 1371 | |
philpem@5 | 1372 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to match the default palette. <br></td></tr> |
philpem@5 | 1373 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ac45438963640d04336e4963bd14f1b"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoLUT" ref="3ac45438963640d04336e4963bd14f1b" args="(const bool dithering=true, const bool indexing=false) const " --> |
philpem@5 | 1374 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoLUT</b> (const bool dithering=true, const bool indexing=false) const </td></tr> |
philpem@5 | 1375 | |
philpem@5 | 1376 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b122070bda047ccd97702a7e72f6379"></a><!-- doxytag: member="cimg_library::CImg::LUTtoRGB" ref="0b122070bda047ccd97702a7e72f6379" args="(const CImg< T > &palette)" --> |
philpem@5 | 1377 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0b122070bda047ccd97702a7e72f6379">LUTtoRGB</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &palette)</td></tr> |
philpem@5 | 1378 | |
philpem@5 | 1379 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert an indexed image to a (R,G,B) image using the specified color palette. <br></td></tr> |
philpem@5 | 1380 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d76556a3ca17286654b40dc807d32183"></a><!-- doxytag: member="cimg_library::CImg::get_LUTtoRGB" ref="d76556a3ca17286654b40dc807d32183" args="(const CImg< t > &palette) const " --> |
philpem@5 | 1381 | template<typename t > </td></tr> |
philpem@5 | 1382 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > </td><td class="memTemplItemRight" valign="bottom"><b>get_LUTtoRGB</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &palette) const </td></tr> |
philpem@5 | 1383 | |
philpem@5 | 1384 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b84fab4d5f24f8be60b11205a996dd0"></a><!-- doxytag: member="cimg_library::CImg::LUTtoRGB" ref="9b84fab4d5f24f8be60b11205a996dd0" args="()" --> |
philpem@5 | 1385 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9b84fab4d5f24f8be60b11205a996dd0">LUTtoRGB</a> ()</td></tr> |
philpem@5 | 1386 | |
philpem@5 | 1387 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert an indexed image (with the default palette) to a (R,G,B) image. <br></td></tr> |
philpem@5 | 1388 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="503a90724f98bb7da540e6eac2b24384"></a><!-- doxytag: member="cimg_library::CImg::get_LUTtoRGB" ref="503a90724f98bb7da540e6eac2b24384" args="() const " --> |
philpem@5 | 1389 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_LUTtoRGB</b> () const </td></tr> |
philpem@5 | 1390 | |
philpem@5 | 1391 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6c0ab36ca2418c9b62590cdfdcbdc793"></a><!-- doxytag: member="cimg_library::CImg::RGBtoHSV" ref="6c0ab36ca2418c9b62590cdfdcbdc793" args="()" --> |
philpem@5 | 1392 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6c0ab36ca2418c9b62590cdfdcbdc793">RGBtoHSV</a> ()</td></tr> |
philpem@5 | 1393 | |
philpem@5 | 1394 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (H,S,V). <br></td></tr> |
philpem@5 | 1395 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef4e92555cb579b1480de042bfb9dcf0"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoHSV" ref="ef4e92555cb579b1480de042bfb9dcf0" args="() const " --> |
philpem@5 | 1396 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoHSV</b> () const </td></tr> |
philpem@5 | 1397 | |
philpem@5 | 1398 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87cc3767b5078c5f63e09ba0109cf0d4"></a><!-- doxytag: member="cimg_library::CImg::HSVtoRGB" ref="87cc3767b5078c5f63e09ba0109cf0d4" args="()" --> |
philpem@5 | 1399 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#87cc3767b5078c5f63e09ba0109cf0d4">HSVtoRGB</a> ()</td></tr> |
philpem@5 | 1400 | |
philpem@5 | 1401 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (H,S,V) to (R,G,B). <br></td></tr> |
philpem@5 | 1402 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="672ef1aa9a08fed8fdcecfc4b309e2ca"></a><!-- doxytag: member="cimg_library::CImg::get_HSVtoRGB" ref="672ef1aa9a08fed8fdcecfc4b309e2ca" args="() const " --> |
philpem@5 | 1403 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_HSVtoRGB</b> () const </td></tr> |
philpem@5 | 1404 | |
philpem@5 | 1405 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b76b35625d85926b4e88227f89f734e"></a><!-- doxytag: member="cimg_library::CImg::RGBtoHSL" ref="3b76b35625d85926b4e88227f89f734e" args="()" --> |
philpem@5 | 1406 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3b76b35625d85926b4e88227f89f734e">RGBtoHSL</a> ()</td></tr> |
philpem@5 | 1407 | |
philpem@5 | 1408 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (H,S,L). <br></td></tr> |
philpem@5 | 1409 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1f7ee6b049451a53aabc0b7e70d08b7"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoHSL" ref="a1f7ee6b049451a53aabc0b7e70d08b7" args="() const " --> |
philpem@5 | 1410 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoHSL</b> () const </td></tr> |
philpem@5 | 1411 | |
philpem@5 | 1412 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e2080f7ef8f8c87587800de0c5d9f31"></a><!-- doxytag: member="cimg_library::CImg::HSLtoRGB" ref="0e2080f7ef8f8c87587800de0c5d9f31" args="()" --> |
philpem@5 | 1413 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0e2080f7ef8f8c87587800de0c5d9f31">HSLtoRGB</a> ()</td></tr> |
philpem@5 | 1414 | |
philpem@5 | 1415 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (H,S,L) to (R,G,B). <br></td></tr> |
philpem@5 | 1416 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="99e0396f5b174adfc0c4c2aa3906c930"></a><!-- doxytag: member="cimg_library::CImg::get_HSLtoRGB" ref="99e0396f5b174adfc0c4c2aa3906c930" args="() const " --> |
philpem@5 | 1417 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_HSLtoRGB</b> () const </td></tr> |
philpem@5 | 1418 | |
philpem@5 | 1419 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5820d33b36cc0266b98c0d9c9f0c3a6"></a><!-- doxytag: member="cimg_library::CImg::RGBtoHSI" ref="e5820d33b36cc0266b98c0d9c9f0c3a6" args="()" --> |
philpem@5 | 1420 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e5820d33b36cc0266b98c0d9c9f0c3a6">RGBtoHSI</a> ()</td></tr> |
philpem@5 | 1421 | |
philpem@5 | 1422 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (H,S,I). Reference: "Digital Image Processing, 2nd. edition", R. Gonzalez and R. Woods. Prentice Hall, 2002. <br></td></tr> |
philpem@5 | 1423 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c559231596d2ef30686dd9ca73c35b8"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoHSI" ref="0c559231596d2ef30686dd9ca73c35b8" args="() const " --> |
philpem@5 | 1424 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoHSI</b> () const </td></tr> |
philpem@5 | 1425 | |
philpem@5 | 1426 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="342709e04c2efd6b07982b1e9b5b5671"></a><!-- doxytag: member="cimg_library::CImg::HSItoRGB" ref="342709e04c2efd6b07982b1e9b5b5671" args="()" --> |
philpem@5 | 1427 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#342709e04c2efd6b07982b1e9b5b5671">HSItoRGB</a> ()</td></tr> |
philpem@5 | 1428 | |
philpem@5 | 1429 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (H,S,I) to (R,G,B). <br></td></tr> |
philpem@5 | 1430 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa1f3bbdd3482181416bee34a3cf5a3b"></a><!-- doxytag: member="cimg_library::CImg::get_HSItoRGB" ref="fa1f3bbdd3482181416bee34a3cf5a3b" args="() const " --> |
philpem@5 | 1431 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_HSItoRGB</b> () const </td></tr> |
philpem@5 | 1432 | |
philpem@5 | 1433 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fbc08f08341e56ebf9b27e3ddacc9ee6"></a><!-- doxytag: member="cimg_library::CImg::RGBtoYCbCr" ref="fbc08f08341e56ebf9b27e3ddacc9ee6" args="()" --> |
philpem@5 | 1434 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fbc08f08341e56ebf9b27e3ddacc9ee6">RGBtoYCbCr</a> ()</td></tr> |
philpem@5 | 1435 | |
philpem@5 | 1436 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (Y,Cb,Cr)_8. <br></td></tr> |
philpem@5 | 1437 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2eaa2a2424f51de318ababa3c076eec"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoYCbCr" ref="a2eaa2a2424f51de318ababa3c076eec" args="() const " --> |
philpem@5 | 1438 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoYCbCr</b> () const </td></tr> |
philpem@5 | 1439 | |
philpem@5 | 1440 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93b6905e43cebf17d9d98f926d353a11"></a><!-- doxytag: member="cimg_library::CImg::YCbCrtoRGB" ref="93b6905e43cebf17d9d98f926d353a11" args="()" --> |
philpem@5 | 1441 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#93b6905e43cebf17d9d98f926d353a11">YCbCrtoRGB</a> ()</td></tr> |
philpem@5 | 1442 | |
philpem@5 | 1443 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (Y,Cb,Cr)_8. <br></td></tr> |
philpem@5 | 1444 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4e78b28b3fdb65fdd2889e2cfaa148a"></a><!-- doxytag: member="cimg_library::CImg::get_YCbCrtoRGB" ref="d4e78b28b3fdb65fdd2889e2cfaa148a" args="() const " --> |
philpem@5 | 1445 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_YCbCrtoRGB</b> () const </td></tr> |
philpem@5 | 1446 | |
philpem@5 | 1447 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9383bb8937b8fa8e96f9612305c55bd"></a><!-- doxytag: member="cimg_library::CImg::RGBtoYUV" ref="e9383bb8937b8fa8e96f9612305c55bd" args="()" --> |
philpem@5 | 1448 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e9383bb8937b8fa8e96f9612305c55bd">RGBtoYUV</a> ()</td></tr> |
philpem@5 | 1449 | |
philpem@5 | 1450 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (Y,U,V). <br></td></tr> |
philpem@5 | 1451 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c4fac27c39194ecf7fa5fe4ed6267b4"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoYUV" ref="9c4fac27c39194ecf7fa5fe4ed6267b4" args="() const " --> |
philpem@5 | 1452 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoYUV</b> () const </td></tr> |
philpem@5 | 1453 | |
philpem@5 | 1454 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45958abd08f2a93d33fb77de4e5b0a66"></a><!-- doxytag: member="cimg_library::CImg::YUVtoRGB" ref="45958abd08f2a93d33fb77de4e5b0a66" args="()" --> |
philpem@5 | 1455 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#45958abd08f2a93d33fb77de4e5b0a66">YUVtoRGB</a> ()</td></tr> |
philpem@5 | 1456 | |
philpem@5 | 1457 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (Y,U,V) to (R,G,B). <br></td></tr> |
philpem@5 | 1458 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1982bc581b64ea9e3e583e2ec77b2e8b"></a><!-- doxytag: member="cimg_library::CImg::get_YUVtoRGB" ref="1982bc581b64ea9e3e583e2ec77b2e8b" args="() const " --> |
philpem@5 | 1459 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_YUVtoRGB</b> () const </td></tr> |
philpem@5 | 1460 | |
philpem@5 | 1461 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a5e7725a4aafab45bfecc7c31987aca"></a><!-- doxytag: member="cimg_library::CImg::RGBtoCMY" ref="2a5e7725a4aafab45bfecc7c31987aca" args="()" --> |
philpem@5 | 1462 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2a5e7725a4aafab45bfecc7c31987aca">RGBtoCMY</a> ()</td></tr> |
philpem@5 | 1463 | |
philpem@5 | 1464 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (C,M,Y). <br></td></tr> |
philpem@5 | 1465 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="412d694684c6656ceb1f7c021d66c9ac"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoCMY" ref="412d694684c6656ceb1f7c021d66c9ac" args="() const " --> |
philpem@5 | 1466 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoCMY</b> () const </td></tr> |
philpem@5 | 1467 | |
philpem@5 | 1468 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f44e7452ef72387ee411a48e8fd8f2c6"></a><!-- doxytag: member="cimg_library::CImg::CMYtoRGB" ref="f44e7452ef72387ee411a48e8fd8f2c6" args="()" --> |
philpem@5 | 1469 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f44e7452ef72387ee411a48e8fd8f2c6">CMYtoRGB</a> ()</td></tr> |
philpem@5 | 1470 | |
philpem@5 | 1471 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (C,M,Y) pixels of a color image into the (R,G,B) color space. <br></td></tr> |
philpem@5 | 1472 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad54233cf16a565436463a601c8b9bfb"></a><!-- doxytag: member="cimg_library::CImg::get_CMYtoRGB" ref="ad54233cf16a565436463a601c8b9bfb" args="() const " --> |
philpem@5 | 1473 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_CMYtoRGB</b> () const </td></tr> |
philpem@5 | 1474 | |
philpem@5 | 1475 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86448a9b36330cd1cdca41310714c82c"></a><!-- doxytag: member="cimg_library::CImg::CMYtoCMYK" ref="86448a9b36330cd1cdca41310714c82c" args="()" --> |
philpem@5 | 1476 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#86448a9b36330cd1cdca41310714c82c">CMYtoCMYK</a> ()</td></tr> |
philpem@5 | 1477 | |
philpem@5 | 1478 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (C,M,Y) to (C,M,Y,K). <br></td></tr> |
philpem@5 | 1479 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4862f178948c0e5315d40ecbe2347f59"></a><!-- doxytag: member="cimg_library::CImg::get_CMYtoCMYK" ref="4862f178948c0e5315d40ecbe2347f59" args="() const " --> |
philpem@5 | 1480 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_CMYtoCMYK</b> () const </td></tr> |
philpem@5 | 1481 | |
philpem@5 | 1482 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3827dc11a003ee30b1cd74ed7b74e15"></a><!-- doxytag: member="cimg_library::CImg::CMYKtoCMY" ref="e3827dc11a003ee30b1cd74ed7b74e15" args="()" --> |
philpem@5 | 1483 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e3827dc11a003ee30b1cd74ed7b74e15">CMYKtoCMY</a> ()</td></tr> |
philpem@5 | 1484 | |
philpem@5 | 1485 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (C,M,Y,K) pixels of a color image into the (C,M,Y) color space. <br></td></tr> |
philpem@5 | 1486 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e25db14c1b893a9e7c0536b71840ee87"></a><!-- doxytag: member="cimg_library::CImg::get_CMYKtoCMY" ref="e25db14c1b893a9e7c0536b71840ee87" args="() const " --> |
philpem@5 | 1487 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_CMYKtoCMY</b> () const </td></tr> |
philpem@5 | 1488 | |
philpem@5 | 1489 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70c6c7a5d8ed24b2e618ab89f2dbadda"></a><!-- doxytag: member="cimg_library::CImg::RGBtoXYZ" ref="70c6c7a5d8ed24b2e618ab89f2dbadda" args="()" --> |
philpem@5 | 1490 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#70c6c7a5d8ed24b2e618ab89f2dbadda">RGBtoXYZ</a> ()</td></tr> |
philpem@5 | 1491 | |
philpem@5 | 1492 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert color pixels from (R,G,B) to (X,Y,Z)_709. <br></td></tr> |
philpem@5 | 1493 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2c17aaaeae97c1ef498f3668ce5d177"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoXYZ" ref="d2c17aaaeae97c1ef498f3668ce5d177" args="() const " --> |
philpem@5 | 1494 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoXYZ</b> () const </td></tr> |
philpem@5 | 1495 | |
philpem@5 | 1496 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ec1861cb810ee3df63c6ef85cf270d8"></a><!-- doxytag: member="cimg_library::CImg::XYZtoRGB" ref="6ec1861cb810ee3df63c6ef85cf270d8" args="()" --> |
philpem@5 | 1497 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6ec1861cb810ee3df63c6ef85cf270d8">XYZtoRGB</a> ()</td></tr> |
philpem@5 | 1498 | |
philpem@5 | 1499 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (X,Y,Z)_709 pixels of a color image into the (R,G,B) color space. <br></td></tr> |
philpem@5 | 1500 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ce72ccd76ed2feccfefcc11f49feace"></a><!-- doxytag: member="cimg_library::CImg::get_XYZtoRGB" ref="6ce72ccd76ed2feccfefcc11f49feace" args="() const " --> |
philpem@5 | 1501 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_XYZtoRGB</b> () const </td></tr> |
philpem@5 | 1502 | |
philpem@5 | 1503 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13d44ab14b2f1f34ae150e5ead0a381e"></a><!-- doxytag: member="cimg_library::CImg::XYZtoLab" ref="13d44ab14b2f1f34ae150e5ead0a381e" args="()" --> |
philpem@5 | 1504 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#13d44ab14b2f1f34ae150e5ead0a381e">XYZtoLab</a> ()</td></tr> |
philpem@5 | 1505 | |
philpem@5 | 1506 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (X,Y,Z)_709 pixels of a color image into the (L*,a*,b*) color space. <br></td></tr> |
philpem@5 | 1507 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fedef7c2fb7a2d5fad9599909d9f8544"></a><!-- doxytag: member="cimg_library::CImg::get_XYZtoLab" ref="fedef7c2fb7a2d5fad9599909d9f8544" args="() const " --> |
philpem@5 | 1508 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_XYZtoLab</b> () const </td></tr> |
philpem@5 | 1509 | |
philpem@5 | 1510 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="875c1681e84375ceb5d828e20de61704"></a><!-- doxytag: member="cimg_library::CImg::LabtoXYZ" ref="875c1681e84375ceb5d828e20de61704" args="()" --> |
philpem@5 | 1511 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#875c1681e84375ceb5d828e20de61704">LabtoXYZ</a> ()</td></tr> |
philpem@5 | 1512 | |
philpem@5 | 1513 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (L,a,b) pixels of a color image into the (X,Y,Z) color space. <br></td></tr> |
philpem@5 | 1514 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="12f61116848bc071b961f0e301d8c820"></a><!-- doxytag: member="cimg_library::CImg::get_LabtoXYZ" ref="12f61116848bc071b961f0e301d8c820" args="() const " --> |
philpem@5 | 1515 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_LabtoXYZ</b> () const </td></tr> |
philpem@5 | 1516 | |
philpem@5 | 1517 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="697f3a725fd9e0349362d927ce95fd6e"></a><!-- doxytag: member="cimg_library::CImg::XYZtoxyY" ref="697f3a725fd9e0349362d927ce95fd6e" args="()" --> |
philpem@5 | 1518 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#697f3a725fd9e0349362d927ce95fd6e">XYZtoxyY</a> ()</td></tr> |
philpem@5 | 1519 | |
philpem@5 | 1520 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (X,Y,Z)_709 pixels of a color image into the (x,y,Y) color space. <br></td></tr> |
philpem@5 | 1521 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e719be7d6b6d5b5771f64adc2e95970a"></a><!-- doxytag: member="cimg_library::CImg::get_XYZtoxyY" ref="e719be7d6b6d5b5771f64adc2e95970a" args="() const " --> |
philpem@5 | 1522 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_XYZtoxyY</b> () const </td></tr> |
philpem@5 | 1523 | |
philpem@5 | 1524 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7387432af686bbc6c973e7b2ceb2b80b"></a><!-- doxytag: member="cimg_library::CImg::xyYtoXYZ" ref="7387432af686bbc6c973e7b2ceb2b80b" args="()" --> |
philpem@5 | 1525 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7387432af686bbc6c973e7b2ceb2b80b">xyYtoXYZ</a> ()</td></tr> |
philpem@5 | 1526 | |
philpem@5 | 1527 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert (x,y,Y) pixels of a color image into the (X,Y,Z)_709 color space. <br></td></tr> |
philpem@5 | 1528 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="92e6fb003aef1e34e3f09a9a86002a1c"></a><!-- doxytag: member="cimg_library::CImg::get_xyYtoXYZ" ref="92e6fb003aef1e34e3f09a9a86002a1c" args="() const " --> |
philpem@5 | 1529 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_xyYtoXYZ</b> () const </td></tr> |
philpem@5 | 1530 | |
philpem@5 | 1531 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb2b9b79af81584352a2e5f056b1a6df"></a><!-- doxytag: member="cimg_library::CImg::RGBtoLab" ref="eb2b9b79af81584352a2e5f056b1a6df" args="()" --> |
philpem@5 | 1532 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#eb2b9b79af81584352a2e5f056b1a6df">RGBtoLab</a> ()</td></tr> |
philpem@5 | 1533 | |
philpem@5 | 1534 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a (R,G,B) image to a (L,a,b) one. <br></td></tr> |
philpem@5 | 1535 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="29a2963650982ba4bf8c7fc0c451f7f0"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoLab" ref="29a2963650982ba4bf8c7fc0c451f7f0" args="() const " --> |
philpem@5 | 1536 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoLab</b> () const </td></tr> |
philpem@5 | 1537 | |
philpem@5 | 1538 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a710f60075b3bc24790f17a7dc30e425"></a><!-- doxytag: member="cimg_library::CImg::LabtoRGB" ref="a710f60075b3bc24790f17a7dc30e425" args="()" --> |
philpem@5 | 1539 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a710f60075b3bc24790f17a7dc30e425">LabtoRGB</a> ()</td></tr> |
philpem@5 | 1540 | |
philpem@5 | 1541 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a (L,a,b) image to a (R,G,B) one. <br></td></tr> |
philpem@5 | 1542 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="91ac40e606effa38c3d4178f41a5e478"></a><!-- doxytag: member="cimg_library::CImg::get_LabtoRGB" ref="91ac40e606effa38c3d4178f41a5e478" args="() const " --> |
philpem@5 | 1543 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_LabtoRGB</b> () const </td></tr> |
philpem@5 | 1544 | |
philpem@5 | 1545 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27cd306be7eb34f49f9e880a9dd740ba"></a><!-- doxytag: member="cimg_library::CImg::RGBtoxyY" ref="27cd306be7eb34f49f9e880a9dd740ba" args="()" --> |
philpem@5 | 1546 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#27cd306be7eb34f49f9e880a9dd740ba">RGBtoxyY</a> ()</td></tr> |
philpem@5 | 1547 | |
philpem@5 | 1548 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a (R,G,B) image to a (x,y,Y) one. <br></td></tr> |
philpem@5 | 1549 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f19388f9983c15e114e927bc87cb61d9"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoxyY" ref="f19388f9983c15e114e927bc87cb61d9" args="() const " --> |
philpem@5 | 1550 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoxyY</b> () const </td></tr> |
philpem@5 | 1551 | |
philpem@5 | 1552 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="896475f657bb68369b7996d3faeaefee"></a><!-- doxytag: member="cimg_library::CImg::xyYtoRGB" ref="896475f657bb68369b7996d3faeaefee" args="()" --> |
philpem@5 | 1553 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#896475f657bb68369b7996d3faeaefee">xyYtoRGB</a> ()</td></tr> |
philpem@5 | 1554 | |
philpem@5 | 1555 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a (x,y,Y) image to a (R,G,B) one. <br></td></tr> |
philpem@5 | 1556 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10cb9ece3b5387405a8c1af48a8be764"></a><!-- doxytag: member="cimg_library::CImg::get_xyYtoRGB" ref="10cb9ece3b5387405a8c1af48a8be764" args="() const " --> |
philpem@5 | 1557 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_xyYtoRGB</b> () const </td></tr> |
philpem@5 | 1558 | |
philpem@5 | 1559 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d28b9e43e5d74e8b584844295bb1aa0"></a><!-- doxytag: member="cimg_library::CImg::RGBtoCMYK" ref="3d28b9e43e5d74e8b584844295bb1aa0" args="()" --> |
philpem@5 | 1560 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3d28b9e43e5d74e8b584844295bb1aa0">RGBtoCMYK</a> ()</td></tr> |
philpem@5 | 1561 | |
philpem@5 | 1562 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a (R,G,B) image to a (C,M,Y,K) one. <br></td></tr> |
philpem@5 | 1563 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0bcf57518fe0c6440d141e8de4352319"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoCMYK" ref="0bcf57518fe0c6440d141e8de4352319" args="() const " --> |
philpem@5 | 1564 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoCMYK</b> () const </td></tr> |
philpem@5 | 1565 | |
philpem@5 | 1566 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c59bacaa7b500f54351ebc11a2a4fc1d"></a><!-- doxytag: member="cimg_library::CImg::CMYKtoRGB" ref="c59bacaa7b500f54351ebc11a2a4fc1d" args="()" --> |
philpem@5 | 1567 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c59bacaa7b500f54351ebc11a2a4fc1d">CMYKtoRGB</a> ()</td></tr> |
philpem@5 | 1568 | |
philpem@5 | 1569 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a (C,M,Y,K) image to a (R,G,B) one. <br></td></tr> |
philpem@5 | 1570 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dae9720758275e51ae1cd8d4e21ef5ca"></a><!-- doxytag: member="cimg_library::CImg::get_CMYKtoRGB" ref="dae9720758275e51ae1cd8d4e21ef5ca" args="() const " --> |
philpem@5 | 1571 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_CMYKtoRGB</b> () const </td></tr> |
philpem@5 | 1572 | |
philpem@5 | 1573 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b4e692d67bb005b4b25555693d15f739">RGBtoBayer</a> ()</td></tr> |
philpem@5 | 1574 | |
philpem@5 | 1575 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a (R,G,B) image to a Bayer-coded representation. <a href="#b4e692d67bb005b4b25555693d15f739"></a><br></td></tr> |
philpem@5 | 1576 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4810d1052d01825b7c08625690297bfa"></a><!-- doxytag: member="cimg_library::CImg::get_RGBtoBayer" ref="4810d1052d01825b7c08625690297bfa" args="() const " --> |
philpem@5 | 1577 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_RGBtoBayer</b> () const </td></tr> |
philpem@5 | 1578 | |
philpem@5 | 1579 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d532472a01bafd5a972391870fbdcab"></a><!-- doxytag: member="cimg_library::CImg::BayertoRGB" ref="4d532472a01bafd5a972391870fbdcab" args="(const unsigned int interpolation_type=3)" --> |
philpem@5 | 1580 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4d532472a01bafd5a972391870fbdcab">BayertoRGB</a> (const unsigned int interpolation_type=3)</td></tr> |
philpem@5 | 1581 | |
philpem@5 | 1582 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a Bayer-coded image to a (R,G,B) color image. <br></td></tr> |
philpem@5 | 1583 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ef875be068aedc9d1486959caf1155c"></a><!-- doxytag: member="cimg_library::CImg::get_BayertoRGB" ref="7ef875be068aedc9d1486959caf1155c" args="(const unsigned int interpolation_type=3) const " --> |
philpem@5 | 1584 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><b>get_BayertoRGB</b> (const unsigned int interpolation_type=3) const </td></tr> |
philpem@5 | 1585 | |
philpem@5 | 1586 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b72cb8ca2a5039c60f002f72bbb44cd5">default_LUT8</a> ()</td></tr> |
philpem@5 | 1587 | |
philpem@5 | 1588 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a default indexed color palette with 256 (R,G,B) entries. <a href="#b72cb8ca2a5039c60f002f72bbb44cd5"></a><br></td></tr> |
philpem@5 | 1589 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f3c82dae3264131f819857014435bbe3"></a><!-- doxytag: member="cimg_library::CImg::rainbow_LUT8" ref="f3c82dae3264131f819857014435bbe3" args="()" --> |
philpem@5 | 1590 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f3c82dae3264131f819857014435bbe3">rainbow_LUT8</a> ()</td></tr> |
philpem@5 | 1591 | |
philpem@5 | 1592 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a rainbow color palette with 256 (R,G,B) entries. <br></td></tr> |
philpem@5 | 1593 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f26c4f029563bf7ffd47ba51e8e09984"></a><!-- doxytag: member="cimg_library::CImg::contrast_LUT8" ref="f26c4f029563bf7ffd47ba51e8e09984" args="()" --> |
philpem@5 | 1594 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tuchar > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f26c4f029563bf7ffd47ba51e8e09984">contrast_LUT8</a> ()</td></tr> |
philpem@5 | 1595 | |
philpem@5 | 1596 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a contrasted color palette with 256 (R,G,B) entries. <br></td></tr> |
philpem@5 | 1597 | <tr><td colspan="2"><br><h2>Matrix and Vectors</h2></td></tr> |
philpem@5 | 1598 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ac10e7f03cdf50782511200bbcaeaa70"></a><!-- doxytag: member="cimg_library::CImg::get_vector_at" ref="ac10e7f03cdf50782511200bbcaeaa70" args="(const unsigned int x, const unsigned int y=0, const unsigned int z=0) const " --> |
philpem@5 | 1599 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ac10e7f03cdf50782511200bbcaeaa70">get_vector_at</a> (const unsigned int x, const unsigned int y=0, const unsigned int z=0) const </td></tr> |
philpem@5 | 1600 | |
philpem@5 | 1601 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a new image corresponding to the vector located at (<code>x</code>,<code>y</code>,<code>z</code>) of the current vector-valued image. <br></td></tr> |
philpem@5 | 1602 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="83c90e27cc58a73da616813898327966"></a><!-- doxytag: member="cimg_library::CImg::set_vector_at" ref="83c90e27cc58a73da616813898327966" args="(const CImg< t > &vec, const unsigned int x, const unsigned int y=0, const unsigned int z=0)" --> |
philpem@5 | 1603 | template<typename t > </td></tr> |
philpem@5 | 1604 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#83c90e27cc58a73da616813898327966">set_vector_at</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &vec, const unsigned int x, const unsigned int y=0, const unsigned int z=0)</td></tr> |
philpem@5 | 1605 | |
philpem@5 | 1606 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the image <code>vec</code> as the <em>vector</em> <em>valued</em> pixel located at (<code>x</code>,<code>y</code>,<code>z</code>) of the current vector-valued image. <br></td></tr> |
philpem@5 | 1607 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0df72293d6377a36cce47d73a4b6bbfc"></a><!-- doxytag: member="cimg_library::CImg::get_matrix_at" ref="0df72293d6377a36cce47d73a4b6bbfc" args="(const unsigned int x=0, const unsigned int y=0, const unsigned int z=0) const " --> |
philpem@5 | 1608 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0df72293d6377a36cce47d73a4b6bbfc">get_matrix_at</a> (const unsigned int x=0, const unsigned int y=0, const unsigned int z=0) const </td></tr> |
philpem@5 | 1609 | |
philpem@5 | 1610 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a new image corresponding to the <em>square</em> <em>matrix</em> located at (<code>x</code>,<code>y</code>,<code>z</code>) of the current vector-valued image. <br></td></tr> |
philpem@5 | 1611 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e0e585d6280147aabd19c398819040d9"></a><!-- doxytag: member="cimg_library::CImg::set_matrix_at" ref="e0e585d6280147aabd19c398819040d9" args="(const CImg< t > &mat, const unsigned int x=0, const unsigned int y=0, const unsigned int z=0)" --> |
philpem@5 | 1612 | template<typename t > </td></tr> |
philpem@5 | 1613 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e0e585d6280147aabd19c398819040d9">set_matrix_at</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mat, const unsigned int x=0, const unsigned int y=0, const unsigned int z=0)</td></tr> |
philpem@5 | 1614 | |
philpem@5 | 1615 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the image <code>vec</code> as the <em>square</em> <em>matrix-valued</em> pixel located at (<code>x</code>,<code>y</code>,<code>z</code>) of the current vector-valued image. <br></td></tr> |
philpem@5 | 1616 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82cfb268b952aeeb1b55e6072a83d093"></a><!-- doxytag: member="cimg_library::CImg::get_tensor_at" ref="82cfb268b952aeeb1b55e6072a83d093" args="(const unsigned int x, const unsigned int y=0, const unsigned int z=0) const " --> |
philpem@5 | 1617 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#82cfb268b952aeeb1b55e6072a83d093">get_tensor_at</a> (const unsigned int x, const unsigned int y=0, const unsigned int z=0) const </td></tr> |
philpem@5 | 1618 | |
philpem@5 | 1619 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a new image corresponding to the <em>diffusion</em> <em>tensor</em> located at (<code>x</code>,<code>y</code>,<code>z</code>) of the current vector-valued image. <br></td></tr> |
philpem@5 | 1620 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f390fdfa10bc133864a83b101d934284"></a><!-- doxytag: member="cimg_library::CImg::set_tensor_at" ref="f390fdfa10bc133864a83b101d934284" args="(const CImg< t > &ten, const unsigned int x=0, const unsigned int y=0, const unsigned int z=0)" --> |
philpem@5 | 1621 | template<typename t > </td></tr> |
philpem@5 | 1622 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f390fdfa10bc133864a83b101d934284">set_tensor_at</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &ten, const unsigned int x=0, const unsigned int y=0, const unsigned int z=0)</td></tr> |
philpem@5 | 1623 | |
philpem@5 | 1624 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the image <code>vec</code> as the <em>tensor</em> <em>valued</em> pixel located at (<code>x</code>,<code>y</code>,<code>z</code>) of the current vector-valued image. <br></td></tr> |
philpem@5 | 1625 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7a1fbbf9bb23d01f64a8ca3bd06b7c0f"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="7a1fbbf9bb23d01f64a8ca3bd06b7c0f" args="()" --> |
philpem@5 | 1626 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7a1fbbf9bb23d01f64a8ca3bd06b7c0f">vector</a> ()</td></tr> |
philpem@5 | 1627 | |
philpem@5 | 1628 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unroll all images values into a one-column vector. <br></td></tr> |
philpem@5 | 1629 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae2388b58974ab43913f13c2df391c94"></a><!-- doxytag: member="cimg_library::CImg::get_vector" ref="ae2388b58974ab43913f13c2df391c94" args="() const " --> |
philpem@5 | 1630 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_vector</b> () const </td></tr> |
philpem@5 | 1631 | |
philpem@5 | 1632 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec22e09b5cba5e5f6bb4174322a95019"></a><!-- doxytag: member="cimg_library::CImg::matrix" ref="ec22e09b5cba5e5f6bb4174322a95019" args="()" --> |
philpem@5 | 1633 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ec22e09b5cba5e5f6bb4174322a95019">matrix</a> ()</td></tr> |
philpem@5 | 1634 | |
philpem@5 | 1635 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Realign pixel values of the instance image as a square matrix. <br></td></tr> |
philpem@5 | 1636 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20cece29b099a16e575f36ce597f2a5c"></a><!-- doxytag: member="cimg_library::CImg::get_matrix" ref="20cece29b099a16e575f36ce597f2a5c" args="() const " --> |
philpem@5 | 1637 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_matrix</b> () const </td></tr> |
philpem@5 | 1638 | |
philpem@5 | 1639 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5d2d10755254c77c93b671d7cce54dcf"></a><!-- doxytag: member="cimg_library::CImg::tensor" ref="5d2d10755254c77c93b671d7cce54dcf" args="()" --> |
philpem@5 | 1640 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5d2d10755254c77c93b671d7cce54dcf">tensor</a> ()</td></tr> |
philpem@5 | 1641 | |
philpem@5 | 1642 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Realign pixel values of the instance image as a symmetric tensor. <br></td></tr> |
philpem@5 | 1643 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c935f6e89c8a860559029a74fcac80a"></a><!-- doxytag: member="cimg_library::CImg::get_tensor" ref="2c935f6e89c8a860559029a74fcac80a" args="() const " --> |
philpem@5 | 1644 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_tensor</b> () const </td></tr> |
philpem@5 | 1645 | |
philpem@5 | 1646 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f2a337d1eb6c94217167dd9296890f3"></a><!-- doxytag: member="cimg_library::CImg::unroll" ref="6f2a337d1eb6c94217167dd9296890f3" args="(const char axis)" --> |
philpem@5 | 1647 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6f2a337d1eb6c94217167dd9296890f3">unroll</a> (const char axis)</td></tr> |
philpem@5 | 1648 | |
philpem@5 | 1649 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unroll all images values into specified axis. <br></td></tr> |
philpem@5 | 1650 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0d9c7fb0da448c7615d82755b9a17f9b"></a><!-- doxytag: member="cimg_library::CImg::get_unroll" ref="0d9c7fb0da448c7615d82755b9a17f9b" args="(const char axis) const " --> |
philpem@5 | 1651 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_unroll</b> (const char axis) const </td></tr> |
philpem@5 | 1652 | |
philpem@5 | 1653 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b38ad4f425b6b4768d5ee82cb562119"></a><!-- doxytag: member="cimg_library::CImg::diagonal" ref="9b38ad4f425b6b4768d5ee82cb562119" args="()" --> |
philpem@5 | 1654 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9b38ad4f425b6b4768d5ee82cb562119">diagonal</a> ()</td></tr> |
philpem@5 | 1655 | |
philpem@5 | 1656 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a diagonal matrix, whose diagonal coefficients are the coefficients of the input image. <br></td></tr> |
philpem@5 | 1657 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5556dfbb562455d3d196295c1ca6e0e0"></a><!-- doxytag: member="cimg_library::CImg::get_diagonal" ref="5556dfbb562455d3d196295c1ca6e0e0" args="() const " --> |
philpem@5 | 1658 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_diagonal</b> () const </td></tr> |
philpem@5 | 1659 | |
philpem@5 | 1660 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="187aa670727bb4d1a9160702fcf9a418"></a><!-- doxytag: member="cimg_library::CImg::identity_matrix" ref="187aa670727bb4d1a9160702fcf9a418" args="()" --> |
philpem@5 | 1661 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#187aa670727bb4d1a9160702fcf9a418">identity_matrix</a> ()</td></tr> |
philpem@5 | 1662 | |
philpem@5 | 1663 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an identity matrix having same dimension than instance image. <br></td></tr> |
philpem@5 | 1664 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="511692deba5af28d058753c4daed1bc1"></a><!-- doxytag: member="cimg_library::CImg::get_identity_matrix" ref="511692deba5af28d058753c4daed1bc1" args="() const " --> |
philpem@5 | 1665 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_identity_matrix</b> () const </td></tr> |
philpem@5 | 1666 | |
philpem@5 | 1667 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f3adb54a3f492f7701a1feac9a6954aa"></a><!-- doxytag: member="cimg_library::CImg::sequence" ref="f3adb54a3f492f7701a1feac9a6954aa" args="(const T a0, const T a1)" --> |
philpem@5 | 1668 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f3adb54a3f492f7701a1feac9a6954aa">sequence</a> (const T a0, const T a1)</td></tr> |
philpem@5 | 1669 | |
philpem@5 | 1670 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a N-numbered sequence vector from <code>a0</code> to <code>a1</code>. <br></td></tr> |
philpem@5 | 1671 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2b0951189bd17a05ace85720d379537e"></a><!-- doxytag: member="cimg_library::CImg::get_sequence" ref="2b0951189bd17a05ace85720d379537e" args="(const T a0, const T a1) const " --> |
philpem@5 | 1672 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_sequence</b> (const T a0, const T a1) const </td></tr> |
philpem@5 | 1673 | |
philpem@5 | 1674 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49f00018eac2d649fa10c8a25c31c0df"></a><!-- doxytag: member="cimg_library::CImg::transpose" ref="49f00018eac2d649fa10c8a25c31c0df" args="()" --> |
philpem@5 | 1675 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#49f00018eac2d649fa10c8a25c31c0df">transpose</a> ()</td></tr> |
philpem@5 | 1676 | |
philpem@5 | 1677 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Transpose the current matrix. <br></td></tr> |
philpem@5 | 1678 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed804862b61096d9aa58ebb809deeb26"></a><!-- doxytag: member="cimg_library::CImg::get_transpose" ref="ed804862b61096d9aa58ebb809deeb26" args="() const " --> |
philpem@5 | 1679 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_transpose</b> () const </td></tr> |
philpem@5 | 1680 | |
philpem@5 | 1681 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="930302996a00b75e7e4ea7b4d6dea821"></a><!-- doxytag: member="cimg_library::CImg::invert" ref="930302996a00b75e7e4ea7b4d6dea821" args="(const bool use_LU=true)" --> |
philpem@5 | 1682 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#930302996a00b75e7e4ea7b4d6dea821">invert</a> (const bool use_LU=true)</td></tr> |
philpem@5 | 1683 | |
philpem@5 | 1684 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Invert the current matrix. <br></td></tr> |
philpem@5 | 1685 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16fe55a07fa0f2e43ae7377a915b03d3"></a><!-- doxytag: member="cimg_library::CImg::get_invert" ref="16fe55a07fa0f2e43ae7377a915b03d3" args="(const bool use_LU=true) const " --> |
philpem@5 | 1686 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_invert</b> (const bool use_LU=true) const </td></tr> |
philpem@5 | 1687 | |
philpem@5 | 1688 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bff5169ef56ddce3102cfa3b6de0bd19"></a><!-- doxytag: member="cimg_library::CImg::pseudoinvert" ref="bff5169ef56ddce3102cfa3b6de0bd19" args="()" --> |
philpem@5 | 1689 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bff5169ef56ddce3102cfa3b6de0bd19">pseudoinvert</a> ()</td></tr> |
philpem@5 | 1690 | |
philpem@5 | 1691 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the pseudo-inverse (Moore-Penrose) of the matrix. <br></td></tr> |
philpem@5 | 1692 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eab392972e99fa46fb49c09c5d35dbcf"></a><!-- doxytag: member="cimg_library::CImg::get_pseudoinvert" ref="eab392972e99fa46fb49c09c5d35dbcf" args="() const " --> |
philpem@5 | 1693 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_pseudoinvert</b> () const </td></tr> |
philpem@5 | 1694 | |
philpem@5 | 1695 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="49ccd3590b6edcf060b2c8def95d96a7"></a><!-- doxytag: member="cimg_library::CImg::cross" ref="49ccd3590b6edcf060b2c8def95d96a7" args="(const CImg< t > &img)" --> |
philpem@5 | 1696 | template<typename t > </td></tr> |
philpem@5 | 1697 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#49ccd3590b6edcf060b2c8def95d96a7">cross</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 1698 | |
philpem@5 | 1699 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the cross product between two 3d vectors. <br></td></tr> |
philpem@5 | 1700 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="36de2ae48c6060bc77719bd2e4ec435e"></a><!-- doxytag: member="cimg_library::CImg::get_cross" ref="36de2ae48c6060bc77719bd2e4ec435e" args="(const CImg< t > &img) const " --> |
philpem@5 | 1701 | template<typename t > </td></tr> |
philpem@5 | 1702 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 1703 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_cross</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 1704 | |
philpem@5 | 1705 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="595ac87408ea46f103791933e3dfd187"></a><!-- doxytag: member="cimg_library::CImg::solve" ref="595ac87408ea46f103791933e3dfd187" args="(const CImg< t > &A)" --> |
philpem@5 | 1706 | template<typename t > </td></tr> |
philpem@5 | 1707 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#595ac87408ea46f103791933e3dfd187">solve</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &A)</td></tr> |
philpem@5 | 1708 | |
philpem@5 | 1709 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Solve a linear system AX=B where B=*this. <br></td></tr> |
philpem@5 | 1710 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="66561720cb9783d897ceb8fad40e923b"></a><!-- doxytag: member="cimg_library::CImg::get_solve" ref="66561720cb9783d897ceb8fad40e923b" args="(const CImg< t > &A) const " --> |
philpem@5 | 1711 | template<typename t > </td></tr> |
philpem@5 | 1712 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset2<br class="typebreak"> |
philpem@5 | 1713 | < T, t, float >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_solve</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &A) const </td></tr> |
philpem@5 | 1714 | |
philpem@5 | 1715 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3877ca4e71f0332f171e1fd9c24dd25c"></a><!-- doxytag: member="cimg_library::CImg::_solve" ref="3877ca4e71f0332f171e1fd9c24dd25c" args="(const CImg< t > &A, const CImg< ti > &indx)" --> |
philpem@5 | 1716 | template<typename t , typename ti > </td></tr> |
philpem@5 | 1717 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_solve</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &A, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ti > &indx)</td></tr> |
philpem@5 | 1718 | |
philpem@5 | 1719 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="2c1c7ca0a47cced1f705ee58c3d37a3e"></a><!-- doxytag: member="cimg_library::CImg::solve_tridiagonal" ref="2c1c7ca0a47cced1f705ee58c3d37a3e" args="(const CImg< t > &a, const CImg< t > &b, const CImg< t > &c)" --> |
philpem@5 | 1720 | template<typename t > </td></tr> |
philpem@5 | 1721 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2c1c7ca0a47cced1f705ee58c3d37a3e">solve_tridiagonal</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &a, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &b, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &c)</td></tr> |
philpem@5 | 1722 | |
philpem@5 | 1723 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Solve a linear system AX=B where B=*this and A is a tridiagonal matrix A = [ b0,c0,0,...; a1,b1,c1,0,... ; ... ; ...,0,aN,bN ]. <br></td></tr> |
philpem@5 | 1724 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ac04f8ad4e092d0eed4c48b4ea290ee3"></a><!-- doxytag: member="cimg_library::CImg::get_solve_tridiagonal" ref="ac04f8ad4e092d0eed4c48b4ea290ee3" args="(const CImg< t > &a, const CImg< t > &b, const CImg< t > &c) const " --> |
philpem@5 | 1725 | template<typename t > </td></tr> |
philpem@5 | 1726 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset2<br class="typebreak"> |
philpem@5 | 1727 | < T, t, float >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_solve_tridiagonal</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &a, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &b, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &c) const </td></tr> |
philpem@5 | 1728 | |
philpem@5 | 1729 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="44ae8948547aa53345e5dcda7e6b7dc7"></a><!-- doxytag: member="cimg_library::CImg::sort" ref="44ae8948547aa53345e5dcda7e6b7dc7" args="(CImg< t > &permutations, const bool increasing=true)" --> |
philpem@5 | 1730 | template<typename t > </td></tr> |
philpem@5 | 1731 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#44ae8948547aa53345e5dcda7e6b7dc7">sort</a> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &permutations, const bool increasing=true)</td></tr> |
philpem@5 | 1732 | |
philpem@5 | 1733 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sort values of a vector and get permutations. <br></td></tr> |
philpem@5 | 1734 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="654dfeac2269456e9941103a43479f59"></a><!-- doxytag: member="cimg_library::CImg::get_sort" ref="654dfeac2269456e9941103a43479f59" args="(CImg< t > &permutations, const bool increasing=true) const " --> |
philpem@5 | 1735 | template<typename t > </td></tr> |
philpem@5 | 1736 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_sort</b> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &permutations, const bool increasing=true) const </td></tr> |
philpem@5 | 1737 | |
philpem@5 | 1738 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1009c7eb1992bedd2cc6928ecef57722"></a><!-- doxytag: member="cimg_library::CImg::sort" ref="1009c7eb1992bedd2cc6928ecef57722" args="(const bool increasing=true)" --> |
philpem@5 | 1739 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>sort</b> (const bool increasing=true)</td></tr> |
philpem@5 | 1740 | |
philpem@5 | 1741 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46d23fc1674d618103d85da7af0be57e"></a><!-- doxytag: member="cimg_library::CImg::get_sort" ref="46d23fc1674d618103d85da7af0be57e" args="(const bool increasing=true) const " --> |
philpem@5 | 1742 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_sort</b> (const bool increasing=true) const </td></tr> |
philpem@5 | 1743 | |
philpem@5 | 1744 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="424c620aa088afa2b7d9f038075a05ea"></a><!-- doxytag: member="cimg_library::CImg::_quicksort" ref="424c620aa088afa2b7d9f038075a05ea" args="(const int min, const int max, CImg< t > &permutations, const bool increasing)" --> |
philpem@5 | 1745 | template<typename t > </td></tr> |
philpem@5 | 1746 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_quicksort</b> (const int min, const int max, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &permutations, const bool increasing)</td></tr> |
philpem@5 | 1747 | |
philpem@5 | 1748 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9b26a9b20ac9729e26552e8d44a9d478"></a><!-- doxytag: member="cimg_library::CImg::permute" ref="9b26a9b20ac9729e26552e8d44a9d478" args="(const CImg< t > &permutation)" --> |
philpem@5 | 1749 | template<typename t > </td></tr> |
philpem@5 | 1750 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9b26a9b20ac9729e26552e8d44a9d478">permute</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &permutation)</td></tr> |
philpem@5 | 1751 | |
philpem@5 | 1752 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a permutation of the pixels. <br></td></tr> |
philpem@5 | 1753 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="16d0ee99a1b9181a8a42e4d98b37afa7"></a><!-- doxytag: member="cimg_library::CImg::get_permute" ref="16d0ee99a1b9181a8a42e4d98b37afa7" args="(const CImg< t > &permutation) const " --> |
philpem@5 | 1754 | template<typename t > </td></tr> |
philpem@5 | 1755 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_permute</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &permutation) const </td></tr> |
philpem@5 | 1756 | |
philpem@5 | 1757 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0c1627a6f79904e70c784923a3f1ed9f"></a><!-- doxytag: member="cimg_library::CImg::SVD" ref="0c1627a6f79904e70c784923a3f1ed9f" args="(CImg< t > &U, CImg< t > &S, CImg< t > &V, const bool sorting=true, const unsigned int max_iter=40, const float lambda=0) const " --> |
philpem@5 | 1758 | template<typename t > </td></tr> |
philpem@5 | 1759 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0c1627a6f79904e70c784923a3f1ed9f">SVD</a> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &U, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &S, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &V, const bool sorting=true, const unsigned int max_iter=40, const float lambda=0) const </td></tr> |
philpem@5 | 1760 | |
philpem@5 | 1761 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the SVD of a general matrix. <br></td></tr> |
philpem@5 | 1762 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d0855328aefbaa69e106fcf107d3d108"></a><!-- doxytag: member="cimg_library::CImg::SVD" ref="d0855328aefbaa69e106fcf107d3d108" args="(CImgList< t > &USV) const " --> |
philpem@5 | 1763 | template<typename t > </td></tr> |
philpem@5 | 1764 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d0855328aefbaa69e106fcf107d3d108">SVD</a> (<a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &USV) const </td></tr> |
philpem@5 | 1765 | |
philpem@5 | 1766 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the SVD of a general matrix. <br></td></tr> |
philpem@5 | 1767 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0595a4603944cb0affe5b4ac29bdd6b"></a><!-- doxytag: member="cimg_library::CImg::get_SVD" ref="e0595a4603944cb0affe5b4ac29bdd6b" args="(const bool sorting=true) const " --> |
philpem@5 | 1768 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e0595a4603944cb0affe5b4ac29bdd6b">get_SVD</a> (const bool sorting=true) const </td></tr> |
philpem@5 | 1769 | |
philpem@5 | 1770 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the SVD of a general matrix. <br></td></tr> |
philpem@5 | 1771 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="68175affb2bb63c3db44ca45199889e7"></a><!-- doxytag: member="cimg_library::CImg::_LU" ref="68175affb2bb63c3db44ca45199889e7" args="(CImg< t > &indx, bool &d)" --> |
philpem@5 | 1772 | template<typename t > </td></tr> |
philpem@5 | 1773 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_LU</b> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &indx, bool &d)</td></tr> |
philpem@5 | 1774 | |
philpem@5 | 1775 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a956e08285c0d87805d3c3c2c4450301"></a><!-- doxytag: member="cimg_library::CImg::eigen" ref="a956e08285c0d87805d3c3c2c4450301" args="(CImg< t > &val, CImg< t > &vec) const " --> |
philpem@5 | 1776 | template<typename t > </td></tr> |
philpem@5 | 1777 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a956e08285c0d87805d3c3c2c4450301">eigen</a> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &val, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &vec) const </td></tr> |
philpem@5 | 1778 | |
philpem@5 | 1779 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the eigenvalues and eigenvectors of a matrix. <br></td></tr> |
philpem@5 | 1780 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4594e576d73d47bd3557c2db395c44df"></a><!-- doxytag: member="cimg_library::CImg::get_eigen" ref="4594e576d73d47bd3557c2db395c44df" args="() const " --> |
philpem@5 | 1781 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4594e576d73d47bd3557c2db395c44df">get_eigen</a> () const </td></tr> |
philpem@5 | 1782 | |
philpem@5 | 1783 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the eigenvalues and eigenvectors of a matrix. <br></td></tr> |
philpem@5 | 1784 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="fddd851f2413d27929b21f9492f3bfbe"></a><!-- doxytag: member="cimg_library::CImg::symmetric_eigen" ref="fddd851f2413d27929b21f9492f3bfbe" args="(CImg< t > &val, CImg< t > &vec) const " --> |
philpem@5 | 1785 | template<typename t > </td></tr> |
philpem@5 | 1786 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fddd851f2413d27929b21f9492f3bfbe">symmetric_eigen</a> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &val, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &vec) const </td></tr> |
philpem@5 | 1787 | |
philpem@5 | 1788 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the eigenvalues and eigenvectors of a symmetric matrix. <br></td></tr> |
philpem@5 | 1789 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f970d1443e880c4d5668e2b752c5fbae"></a><!-- doxytag: member="cimg_library::CImg::get_symmetric_eigen" ref="f970d1443e880c4d5668e2b752c5fbae" args="() const " --> |
philpem@5 | 1790 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f970d1443e880c4d5668e2b752c5fbae">get_symmetric_eigen</a> () const </td></tr> |
philpem@5 | 1791 | |
philpem@5 | 1792 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the eigenvalues and eigenvectors of a symmetric matrix. <br></td></tr> |
philpem@5 | 1793 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c2f7bb966ea88b768fdca82d82a96ba0"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="c2f7bb966ea88b768fdca82d82a96ba0" args="(const T &a0)" --> |
philpem@5 | 1794 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c2f7bb966ea88b768fdca82d82a96ba0">vector</a> (const T &a0)</td></tr> |
philpem@5 | 1795 | |
philpem@5 | 1796 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1797 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4018dc62ea62f2ede589cfd01168d103"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="4018dc62ea62f2ede589cfd01168d103" args="(const T &a0, const T &a1)" --> |
philpem@5 | 1798 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4018dc62ea62f2ede589cfd01168d103">vector</a> (const T &a0, const T &a1)</td></tr> |
philpem@5 | 1799 | |
philpem@5 | 1800 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1801 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6660d13478b094af5f46eb1fbc110513"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="6660d13478b094af5f46eb1fbc110513" args="(const T &a0, const T &a1, const T &a2)" --> |
philpem@5 | 1802 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6660d13478b094af5f46eb1fbc110513">vector</a> (const T &a0, const T &a1, const T &a2)</td></tr> |
philpem@5 | 1803 | |
philpem@5 | 1804 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1805 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="064afd0c0df3a55acb3f47c208044d7a"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="064afd0c0df3a55acb3f47c208044d7a" args="(const T &a0, const T &a1, const T &a2, const T &a3)" --> |
philpem@5 | 1806 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#064afd0c0df3a55acb3f47c208044d7a">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3)</td></tr> |
philpem@5 | 1807 | |
philpem@5 | 1808 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1809 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26e0f59a179718455ee57fcd618ada21"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="26e0f59a179718455ee57fcd618ada21" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4)" --> |
philpem@5 | 1810 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#26e0f59a179718455ee57fcd618ada21">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4)</td></tr> |
philpem@5 | 1811 | |
philpem@5 | 1812 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1813 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c3c919f0637431613b51cfd8a4a7638"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="0c3c919f0637431613b51cfd8a4a7638" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5)" --> |
philpem@5 | 1814 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0c3c919f0637431613b51cfd8a4a7638">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5)</td></tr> |
philpem@5 | 1815 | |
philpem@5 | 1816 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1817 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b1db07e34ac249af7b64b1a46e183c2"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="7b1db07e34ac249af7b64b1a46e183c2" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6)" --> |
philpem@5 | 1818 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7b1db07e34ac249af7b64b1a46e183c2">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6)</td></tr> |
philpem@5 | 1819 | |
philpem@5 | 1820 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1821 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78326ef7939a5caa29698ae4185b1ca9"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="78326ef7939a5caa29698ae4185b1ca9" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7)" --> |
philpem@5 | 1822 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#78326ef7939a5caa29698ae4185b1ca9">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7)</td></tr> |
philpem@5 | 1823 | |
philpem@5 | 1824 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1825 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad82caec44604bd51a286afbb1bb2e89"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="ad82caec44604bd51a286afbb1bb2e89" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8)" --> |
philpem@5 | 1826 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ad82caec44604bd51a286afbb1bb2e89">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8)</td></tr> |
philpem@5 | 1827 | |
philpem@5 | 1828 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1829 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef996c8c7d9f3c76dce7c47cb955a6d6"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="ef996c8c7d9f3c76dce7c47cb955a6d6" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9)" --> |
philpem@5 | 1830 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ef996c8c7d9f3c76dce7c47cb955a6d6">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9)</td></tr> |
philpem@5 | 1831 | |
philpem@5 | 1832 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1833 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38a14e7ac3c7f0c48f595a7473f61a08"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="38a14e7ac3c7f0c48f595a7473f61a08" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10)" --> |
philpem@5 | 1834 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#38a14e7ac3c7f0c48f595a7473f61a08">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10)</td></tr> |
philpem@5 | 1835 | |
philpem@5 | 1836 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1837 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="288a8040101bdfd97d65709e34b17017"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="288a8040101bdfd97d65709e34b17017" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11)" --> |
philpem@5 | 1838 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#288a8040101bdfd97d65709e34b17017">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11)</td></tr> |
philpem@5 | 1839 | |
philpem@5 | 1840 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1841 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f28a9ec7a816a3afd9fa1ce6a7d736e3"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="f28a9ec7a816a3afd9fa1ce6a7d736e3" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12)" --> |
philpem@5 | 1842 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f28a9ec7a816a3afd9fa1ce6a7d736e3">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12)</td></tr> |
philpem@5 | 1843 | |
philpem@5 | 1844 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1845 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="60bd022e43e34afb712ae67ab2741603"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="60bd022e43e34afb712ae67ab2741603" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13)" --> |
philpem@5 | 1846 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#60bd022e43e34afb712ae67ab2741603">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13)</td></tr> |
philpem@5 | 1847 | |
philpem@5 | 1848 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1849 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a45f8df1eae94f9e3225052f9abca1b"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="4a45f8df1eae94f9e3225052f9abca1b" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14)" --> |
philpem@5 | 1850 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4a45f8df1eae94f9e3225052f9abca1b">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14)</td></tr> |
philpem@5 | 1851 | |
philpem@5 | 1852 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1853 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1be60115c2094fa8231b92025dfbf9a0"></a><!-- doxytag: member="cimg_library::CImg::vector" ref="1be60115c2094fa8231b92025dfbf9a0" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15)" --> |
philpem@5 | 1854 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1be60115c2094fa8231b92025dfbf9a0">vector</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15)</td></tr> |
philpem@5 | 1855 | |
philpem@5 | 1856 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a vector with specified coefficients. <br></td></tr> |
philpem@5 | 1857 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dfba8474c6ed7cb810b22a88ca8a9806"></a><!-- doxytag: member="cimg_library::CImg::matrix" ref="dfba8474c6ed7cb810b22a88ca8a9806" args="(const T &a0)" --> |
philpem@5 | 1858 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dfba8474c6ed7cb810b22a88ca8a9806">matrix</a> (const T &a0)</td></tr> |
philpem@5 | 1859 | |
philpem@5 | 1860 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 1x1 square matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1861 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4dce73b905d98f22a5860464e571120f"></a><!-- doxytag: member="cimg_library::CImg::matrix" ref="4dce73b905d98f22a5860464e571120f" args="(const T &a0, const T &a1, const T &a2, const T &a3)" --> |
philpem@5 | 1862 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4dce73b905d98f22a5860464e571120f">matrix</a> (const T &a0, const T &a1, const T &a2, const T &a3)</td></tr> |
philpem@5 | 1863 | |
philpem@5 | 1864 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 2x2 square matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1865 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80ec581a136a796347cfe19e4dea09e6"></a><!-- doxytag: member="cimg_library::CImg::matrix" ref="80ec581a136a796347cfe19e4dea09e6" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8)" --> |
philpem@5 | 1866 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#80ec581a136a796347cfe19e4dea09e6">matrix</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8)</td></tr> |
philpem@5 | 1867 | |
philpem@5 | 1868 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3x3 square matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1869 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f9b706c8aa7534e7014afc3ce30a8d9"></a><!-- doxytag: member="cimg_library::CImg::matrix" ref="2f9b706c8aa7534e7014afc3ce30a8d9" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15)" --> |
philpem@5 | 1870 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2f9b706c8aa7534e7014afc3ce30a8d9">matrix</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15)</td></tr> |
philpem@5 | 1871 | |
philpem@5 | 1872 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 4x4 square matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1873 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b52c8cf4602a06831b2bbe607cc619cc"></a><!-- doxytag: member="cimg_library::CImg::matrix" ref="b52c8cf4602a06831b2bbe607cc619cc" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15, const T &a16, const T &a17, const T &a18, const T &a19, const T &a20, const T &a21, const T &a22, const T &a23, const T &a24)" --> |
philpem@5 | 1874 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b52c8cf4602a06831b2bbe607cc619cc">matrix</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15, const T &a16, const T &a17, const T &a18, const T &a19, const T &a20, const T &a21, const T &a22, const T &a23, const T &a24)</td></tr> |
philpem@5 | 1875 | |
philpem@5 | 1876 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 5x5 square matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1877 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d51e031c3ff9afc1c1f5587e770ff382"></a><!-- doxytag: member="cimg_library::CImg::tensor" ref="d51e031c3ff9afc1c1f5587e770ff382" args="(const T &a1)" --> |
philpem@5 | 1878 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d51e031c3ff9afc1c1f5587e770ff382">tensor</a> (const T &a1)</td></tr> |
philpem@5 | 1879 | |
philpem@5 | 1880 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 1x1 symmetric matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1881 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ec2064aa2a36440d892d0ffe814975f"></a><!-- doxytag: member="cimg_library::CImg::tensor" ref="5ec2064aa2a36440d892d0ffe814975f" args="(const T &a1, const T &a2, const T &a3)" --> |
philpem@5 | 1882 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5ec2064aa2a36440d892d0ffe814975f">tensor</a> (const T &a1, const T &a2, const T &a3)</td></tr> |
philpem@5 | 1883 | |
philpem@5 | 1884 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 2x2 symmetric matrix tensor with specified coefficients. <br></td></tr> |
philpem@5 | 1885 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8efd27c5a0259e3d183d187066daa81"></a><!-- doxytag: member="cimg_library::CImg::tensor" ref="e8efd27c5a0259e3d183d187066daa81" args="(const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6)" --> |
philpem@5 | 1886 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e8efd27c5a0259e3d183d187066daa81">tensor</a> (const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6)</td></tr> |
philpem@5 | 1887 | |
philpem@5 | 1888 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3x3 symmetric matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1889 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faba9e417e4dc79a30ca192e17e1f4d8"></a><!-- doxytag: member="cimg_library::CImg::diagonal" ref="faba9e417e4dc79a30ca192e17e1f4d8" args="(const T &a0)" --> |
philpem@5 | 1890 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#faba9e417e4dc79a30ca192e17e1f4d8">diagonal</a> (const T &a0)</td></tr> |
philpem@5 | 1891 | |
philpem@5 | 1892 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 1x1 diagonal matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1893 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="583389fd7581839ef6c9eda2c2e75720"></a><!-- doxytag: member="cimg_library::CImg::diagonal" ref="583389fd7581839ef6c9eda2c2e75720" args="(const T &a0, const T &a1)" --> |
philpem@5 | 1894 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#583389fd7581839ef6c9eda2c2e75720">diagonal</a> (const T &a0, const T &a1)</td></tr> |
philpem@5 | 1895 | |
philpem@5 | 1896 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 2x2 diagonal matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1897 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f89435259d190fe6b390cde30664ea0c"></a><!-- doxytag: member="cimg_library::CImg::diagonal" ref="f89435259d190fe6b390cde30664ea0c" args="(const T &a0, const T &a1, const T &a2)" --> |
philpem@5 | 1898 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f89435259d190fe6b390cde30664ea0c">diagonal</a> (const T &a0, const T &a1, const T &a2)</td></tr> |
philpem@5 | 1899 | |
philpem@5 | 1900 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3x3 diagonal matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1901 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6ad181903a88ac52f15222dd28bba42"></a><!-- doxytag: member="cimg_library::CImg::diagonal" ref="f6ad181903a88ac52f15222dd28bba42" args="(const T &a0, const T &a1, const T &a2, const T &a3)" --> |
philpem@5 | 1902 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f6ad181903a88ac52f15222dd28bba42">diagonal</a> (const T &a0, const T &a1, const T &a2, const T &a3)</td></tr> |
philpem@5 | 1903 | |
philpem@5 | 1904 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 4x4 diagonal matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1905 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e8f3b19a8f866cb9b06c4667412abfd"></a><!-- doxytag: member="cimg_library::CImg::diagonal" ref="8e8f3b19a8f866cb9b06c4667412abfd" args="(const T &a0, const T &a1, const T &a2, const T &a3, const T &a4)" --> |
philpem@5 | 1906 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8e8f3b19a8f866cb9b06c4667412abfd">diagonal</a> (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4)</td></tr> |
philpem@5 | 1907 | |
philpem@5 | 1908 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 5x5 diagonal matrix with specified coefficients. <br></td></tr> |
philpem@5 | 1909 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="14131b116119f392019c431f6eac5c6f"></a><!-- doxytag: member="cimg_library::CImg::identity_matrix" ref="14131b116119f392019c431f6eac5c6f" args="(const unsigned int N)" --> |
philpem@5 | 1910 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#14131b116119f392019c431f6eac5c6f">identity_matrix</a> (const unsigned int N)</td></tr> |
philpem@5 | 1911 | |
philpem@5 | 1912 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a NxN identity matrix. <br></td></tr> |
philpem@5 | 1913 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87cb488d5c29e94e13ff5a6af3112034"></a><!-- doxytag: member="cimg_library::CImg::sequence" ref="87cb488d5c29e94e13ff5a6af3112034" args="(const unsigned int N, const T a0, const T a1)" --> |
philpem@5 | 1914 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#87cb488d5c29e94e13ff5a6af3112034">sequence</a> (const unsigned int N, const T a0, const T a1)</td></tr> |
philpem@5 | 1915 | |
philpem@5 | 1916 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a N-numbered sequence vector from <code>a0</code> to <code>a1</code>. <br></td></tr> |
philpem@5 | 1917 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1bf68d76e4c29dde15607a212f6c1b1f"></a><!-- doxytag: member="cimg_library::CImg::rotation_matrix" ref="1bf68d76e4c29dde15607a212f6c1b1f" args="(const float x, const float y, const float z, const float w, const bool quaternion_data=false)" --> |
philpem@5 | 1918 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1bf68d76e4c29dde15607a212f6c1b1f">rotation_matrix</a> (const float x, const float y, const float z, const float w, const bool quaternion_data=false)</td></tr> |
philpem@5 | 1919 | |
philpem@5 | 1920 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a 3x3 rotation matrix along the (x,y,z)-axis with an angle w. <br></td></tr> |
philpem@5 | 1921 | <tr><td colspan="2"><br><h2>Image File Loading</h2></td></tr> |
philpem@5 | 1922 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#138dcc5db93d511d224d88405a0041ce">load</a> (const char *const filename)</td></tr> |
philpem@5 | 1923 | |
philpem@5 | 1924 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a file. <a href="#138dcc5db93d511d224d88405a0041ce"></a><br></td></tr> |
philpem@5 | 1925 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8483309e9e347b1f8b35337c543d7aed"></a><!-- doxytag: member="cimg_library::CImg::load_ascii" ref="8483309e9e347b1f8b35337c543d7aed" args="(const char *const filename)" --> |
philpem@5 | 1926 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8483309e9e347b1f8b35337c543d7aed">load_ascii</a> (const char *const filename)</td></tr> |
philpem@5 | 1927 | |
philpem@5 | 1928 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from an ASCII file. <br></td></tr> |
philpem@5 | 1929 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94a4329d5cb0441e3ed2082a7069a7d3"></a><!-- doxytag: member="cimg_library::CImg::load_ascii" ref="94a4329d5cb0441e3ed2082a7069a7d3" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 1930 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#94a4329d5cb0441e3ed2082a7069a7d3">load_ascii</a> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 1931 | |
philpem@5 | 1932 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from an ASCII file. <br></td></tr> |
philpem@5 | 1933 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62227b248f63cfb2706667c4e78ca9a5"></a><!-- doxytag: member="cimg_library::CImg::_load_ascii" ref="62227b248f63cfb2706667c4e78ca9a5" args="(cimg_std::FILE *const file, const char *const filename)" --> |
philpem@5 | 1934 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_ascii</b> (cimg_std::FILE *const file, const char *const filename)</td></tr> |
philpem@5 | 1935 | |
philpem@5 | 1936 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15505951824c019f6fdea4f0eaab8cac"></a><!-- doxytag: member="cimg_library::CImg::load_dlm" ref="15505951824c019f6fdea4f0eaab8cac" args="(const char *const filename)" --> |
philpem@5 | 1937 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#15505951824c019f6fdea4f0eaab8cac">load_dlm</a> (const char *const filename)</td></tr> |
philpem@5 | 1938 | |
philpem@5 | 1939 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a DLM file. <br></td></tr> |
philpem@5 | 1940 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c703d2dfe1bd66d26370decedd3da061"></a><!-- doxytag: member="cimg_library::CImg::load_dlm" ref="c703d2dfe1bd66d26370decedd3da061" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 1941 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c703d2dfe1bd66d26370decedd3da061">load_dlm</a> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 1942 | |
philpem@5 | 1943 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a DLM file. <br></td></tr> |
philpem@5 | 1944 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b9d7c247590c3aeed06377b17c3628e"></a><!-- doxytag: member="cimg_library::CImg::_load_dlm" ref="0b9d7c247590c3aeed06377b17c3628e" args="(cimg_std::FILE *const file, const char *const filename)" --> |
philpem@5 | 1945 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_dlm</b> (cimg_std::FILE *const file, const char *const filename)</td></tr> |
philpem@5 | 1946 | |
philpem@5 | 1947 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd7e94f200f3d4bd249c32d0d9c511bc"></a><!-- doxytag: member="cimg_library::CImg::load_bmp" ref="bd7e94f200f3d4bd249c32d0d9c511bc" args="(const char *const filename)" --> |
philpem@5 | 1948 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bd7e94f200f3d4bd249c32d0d9c511bc">load_bmp</a> (const char *const filename)</td></tr> |
philpem@5 | 1949 | |
philpem@5 | 1950 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a BMP file. <br></td></tr> |
philpem@5 | 1951 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df86b13be82c7f4caf223c5fd33dc564"></a><!-- doxytag: member="cimg_library::CImg::load_bmp" ref="df86b13be82c7f4caf223c5fd33dc564" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 1952 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#df86b13be82c7f4caf223c5fd33dc564">load_bmp</a> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 1953 | |
philpem@5 | 1954 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a BMP file. <br></td></tr> |
philpem@5 | 1955 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1cfd9d0f96717b8172f63c9245e36479"></a><!-- doxytag: member="cimg_library::CImg::_load_bmp" ref="1cfd9d0f96717b8172f63c9245e36479" args="(cimg_std::FILE *const file, const char *const filename)" --> |
philpem@5 | 1956 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_bmp</b> (cimg_std::FILE *const file, const char *const filename)</td></tr> |
philpem@5 | 1957 | |
philpem@5 | 1958 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4e17798245c1eac132b4b286c8e4419"></a><!-- doxytag: member="cimg_library::CImg::load_jpeg" ref="e4e17798245c1eac132b4b286c8e4419" args="(const char *const filename)" --> |
philpem@5 | 1959 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e4e17798245c1eac132b4b286c8e4419">load_jpeg</a> (const char *const filename)</td></tr> |
philpem@5 | 1960 | |
philpem@5 | 1961 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a JPEG file. <br></td></tr> |
philpem@5 | 1962 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05e6e25d683134d2c99014fd03f5b860"></a><!-- doxytag: member="cimg_library::CImg::load_jpeg" ref="05e6e25d683134d2c99014fd03f5b860" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 1963 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#05e6e25d683134d2c99014fd03f5b860">load_jpeg</a> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 1964 | |
philpem@5 | 1965 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a JPEG file. <br></td></tr> |
philpem@5 | 1966 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8cd79f9866c3070bc775fd4c30714e8"></a><!-- doxytag: member="cimg_library::CImg::_load_jpeg" ref="e8cd79f9866c3070bc775fd4c30714e8" args="(cimg_std::FILE *const file, const char *const filename)" --> |
philpem@5 | 1967 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_jpeg</b> (cimg_std::FILE *const file, const char *const filename)</td></tr> |
philpem@5 | 1968 | |
philpem@5 | 1969 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b58020c04f6ddaa44007e9edbcba0a6"></a><!-- doxytag: member="cimg_library::CImg::load_magick" ref="1b58020c04f6ddaa44007e9edbcba0a6" args="(const char *const filename)" --> |
philpem@5 | 1970 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1b58020c04f6ddaa44007e9edbcba0a6">load_magick</a> (const char *const filename)</td></tr> |
philpem@5 | 1971 | |
philpem@5 | 1972 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a file, using Magick++ library. <br></td></tr> |
philpem@5 | 1973 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8d3058370782eb3e0ebc5c5213d86a27"></a><!-- doxytag: member="cimg_library::CImg::load_png" ref="8d3058370782eb3e0ebc5c5213d86a27" args="(const char *const filename)" --> |
philpem@5 | 1974 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8d3058370782eb3e0ebc5c5213d86a27">load_png</a> (const char *const filename)</td></tr> |
philpem@5 | 1975 | |
philpem@5 | 1976 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a PNG file. <br></td></tr> |
philpem@5 | 1977 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f6f002e4cc449887b258d7a5b30afd8"></a><!-- doxytag: member="cimg_library::CImg::load_png" ref="2f6f002e4cc449887b258d7a5b30afd8" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 1978 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2f6f002e4cc449887b258d7a5b30afd8">load_png</a> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 1979 | |
philpem@5 | 1980 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a PNG file. <br></td></tr> |
philpem@5 | 1981 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a95be297f9286d67a7dda3bff5fa563f"></a><!-- doxytag: member="cimg_library::CImg::_load_png" ref="a95be297f9286d67a7dda3bff5fa563f" args="(cimg_std::FILE *const file, const char *const filename)" --> |
philpem@5 | 1982 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_png</b> (cimg_std::FILE *const file, const char *const filename)</td></tr> |
philpem@5 | 1983 | |
philpem@5 | 1984 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a104737d62b54c15489b481a199fb72a"></a><!-- doxytag: member="cimg_library::CImg::load_pnm" ref="a104737d62b54c15489b481a199fb72a" args="(const char *const filename)" --> |
philpem@5 | 1985 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a104737d62b54c15489b481a199fb72a">load_pnm</a> (const char *const filename)</td></tr> |
philpem@5 | 1986 | |
philpem@5 | 1987 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a PNM file. <br></td></tr> |
philpem@5 | 1988 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23661b1b6fb640fb35759595f5154f50"></a><!-- doxytag: member="cimg_library::CImg::load_pnm" ref="23661b1b6fb640fb35759595f5154f50" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 1989 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#23661b1b6fb640fb35759595f5154f50">load_pnm</a> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 1990 | |
philpem@5 | 1991 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a PNM file. <br></td></tr> |
philpem@5 | 1992 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93447ee550ccdc4aab10f66e5115c5b6"></a><!-- doxytag: member="cimg_library::CImg::_load_pnm" ref="93447ee550ccdc4aab10f66e5115c5b6" args="(cimg_std::FILE *const file, const char *const filename)" --> |
philpem@5 | 1993 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_pnm</b> (cimg_std::FILE *const file, const char *const filename)</td></tr> |
philpem@5 | 1994 | |
philpem@5 | 1995 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3cd73613729b55992811acee5015eab"></a><!-- doxytag: member="cimg_library::CImg::load_rgb" ref="c3cd73613729b55992811acee5015eab" args="(const char *const filename, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 1996 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c3cd73613729b55992811acee5015eab">load_rgb</a> (const char *const filename, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 1997 | |
philpem@5 | 1998 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a RGB file. <br></td></tr> |
philpem@5 | 1999 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c14b4f576b1743ee367a667f9b449318"></a><!-- doxytag: member="cimg_library::CImg::load_rgb" ref="c14b4f576b1743ee367a667f9b449318" args="(cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 2000 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c14b4f576b1743ee367a667f9b449318">load_rgb</a> (cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 2001 | |
philpem@5 | 2002 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a RGB file. <br></td></tr> |
philpem@5 | 2003 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa721f8eacee1344c78e83b1e9f82003"></a><!-- doxytag: member="cimg_library::CImg::_load_rgb" ref="aa721f8eacee1344c78e83b1e9f82003" args="(cimg_std::FILE *const file, const char *const filename, const unsigned int dimw, const unsigned int dimh)" --> |
philpem@5 | 2004 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_rgb</b> (cimg_std::FILE *const file, const char *const filename, const unsigned int dimw, const unsigned int dimh)</td></tr> |
philpem@5 | 2005 | |
philpem@5 | 2006 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27807907b967601fa7d51a024dd64e51"></a><!-- doxytag: member="cimg_library::CImg::load_rgba" ref="27807907b967601fa7d51a024dd64e51" args="(const char *const filename, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 2007 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#27807907b967601fa7d51a024dd64e51">load_rgba</a> (const char *const filename, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 2008 | |
philpem@5 | 2009 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a RGBA file. <br></td></tr> |
philpem@5 | 2010 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3719cce68f4fa8594a34ee84fe61b235"></a><!-- doxytag: member="cimg_library::CImg::load_rgba" ref="3719cce68f4fa8594a34ee84fe61b235" args="(cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 2011 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3719cce68f4fa8594a34ee84fe61b235">load_rgba</a> (cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 2012 | |
philpem@5 | 2013 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a RGBA file. <br></td></tr> |
philpem@5 | 2014 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d9003a883ed619b9458599d9ff14d295"></a><!-- doxytag: member="cimg_library::CImg::_load_rgba" ref="d9003a883ed619b9458599d9ff14d295" args="(cimg_std::FILE *const file, const char *const filename, const unsigned int dimw, const unsigned int dimh)" --> |
philpem@5 | 2015 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_rgba</b> (cimg_std::FILE *const file, const char *const filename, const unsigned int dimw, const unsigned int dimh)</td></tr> |
philpem@5 | 2016 | |
philpem@5 | 2017 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b943c007a92b463ec458b4be80e80460"></a><!-- doxytag: member="cimg_library::CImg::load_tiff" ref="b943c007a92b463ec458b4be80e80460" args="(const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1)" --> |
philpem@5 | 2018 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b943c007a92b463ec458b4be80e80460">load_tiff</a> (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1)</td></tr> |
philpem@5 | 2019 | |
philpem@5 | 2020 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a TIFF file. <br></td></tr> |
philpem@5 | 2021 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b56eb4920a37739b113bd90ed65b4506"></a><!-- doxytag: member="cimg_library::CImg::load_analyze" ref="b56eb4920a37739b113bd90ed65b4506" args="(const char *const filename, float *const voxsize=0)" --> |
philpem@5 | 2022 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b56eb4920a37739b113bd90ed65b4506">load_analyze</a> (const char *const filename, float *const voxsize=0)</td></tr> |
philpem@5 | 2023 | |
philpem@5 | 2024 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from an ANALYZE7.5/NIFTI file. <br></td></tr> |
philpem@5 | 2025 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb4d772ee50835acac8e68f014634855"></a><!-- doxytag: member="cimg_library::CImg::load_analyze" ref="eb4d772ee50835acac8e68f014634855" args="(cimg_std::FILE *const file, float *const voxsize=0)" --> |
philpem@5 | 2026 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#eb4d772ee50835acac8e68f014634855">load_analyze</a> (cimg_std::FILE *const file, float *const voxsize=0)</td></tr> |
philpem@5 | 2027 | |
philpem@5 | 2028 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from an ANALYZE7.5/NIFTI file. <br></td></tr> |
philpem@5 | 2029 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0b2f83632e20e48bd0302074524e224"></a><!-- doxytag: member="cimg_library::CImg::_load_analyze" ref="f0b2f83632e20e48bd0302074524e224" args="(cimg_std::FILE *const file, const char *const filename, float *const voxsize=0)" --> |
philpem@5 | 2030 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_analyze</b> (cimg_std::FILE *const file, const char *const filename, float *const voxsize=0)</td></tr> |
philpem@5 | 2031 | |
philpem@5 | 2032 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cdae64c0c93793df8b0a0b28a34d9694"></a><!-- doxytag: member="cimg_library::CImg::load_cimg" ref="cdae64c0c93793df8b0a0b28a34d9694" args="(const char *const filename, const char axis='z', const char align='p')" --> |
philpem@5 | 2033 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cdae64c0c93793df8b0a0b28a34d9694">load_cimg</a> (const char *const filename, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2034 | |
philpem@5 | 2035 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image (list) from a .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file. <br></td></tr> |
philpem@5 | 2036 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48f467cc58ef95502cf50d821dff024b"></a><!-- doxytag: member="cimg_library::CImg::load_cimg" ref="48f467cc58ef95502cf50d821dff024b" args="(cimg_std::FILE *const file, const char axis='z', const char align='p')" --> |
philpem@5 | 2037 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#48f467cc58ef95502cf50d821dff024b">load_cimg</a> (cimg_std::FILE *const file, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2038 | |
philpem@5 | 2039 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image (list) from a .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file. <br></td></tr> |
philpem@5 | 2040 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d76cb097a2968aa1c934233a1b32819f"></a><!-- doxytag: member="cimg_library::CImg::load_cimg" ref="d76cb097a2968aa1c934233a1b32819f" args="(const char *const filename, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')" --> |
philpem@5 | 2041 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d76cb097a2968aa1c934233a1b32819f">load_cimg</a> (const char *const filename, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2042 | |
philpem@5 | 2043 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a sub-image (list) from a .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file. <br></td></tr> |
philpem@5 | 2044 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df49fa1807054741ee989497a69ba15e"></a><!-- doxytag: member="cimg_library::CImg::load_cimg" ref="df49fa1807054741ee989497a69ba15e" args="(cimg_std::FILE *const file, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')" --> |
philpem@5 | 2045 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#df49fa1807054741ee989497a69ba15e">load_cimg</a> (cimg_std::FILE *const file, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2046 | |
philpem@5 | 2047 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a sub-image (list) from a non-compressed .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file. <br></td></tr> |
philpem@5 | 2048 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a1bebfe52d369d35ad6f9d63b46fc64"></a><!-- doxytag: member="cimg_library::CImg::load_inr" ref="4a1bebfe52d369d35ad6f9d63b46fc64" args="(const char *const filename, float *const voxsize=0)" --> |
philpem@5 | 2049 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4a1bebfe52d369d35ad6f9d63b46fc64">load_inr</a> (const char *const filename, float *const voxsize=0)</td></tr> |
philpem@5 | 2050 | |
philpem@5 | 2051 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from an INRIMAGE-4 file. <br></td></tr> |
philpem@5 | 2052 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="318617a64e6116aef7dc8efd75b8623e"></a><!-- doxytag: member="cimg_library::CImg::load_inr" ref="318617a64e6116aef7dc8efd75b8623e" args="(cimg_std::FILE *const file, float *const voxsize=0)" --> |
philpem@5 | 2053 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#318617a64e6116aef7dc8efd75b8623e">load_inr</a> (cimg_std::FILE *const file, float *const voxsize=0)</td></tr> |
philpem@5 | 2054 | |
philpem@5 | 2055 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from an INRIMAGE-4 file. <br></td></tr> |
philpem@5 | 2056 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23f93a4ca437fc72a8091ef855aa07de"></a><!-- doxytag: member="cimg_library::CImg::_load_inr" ref="23f93a4ca437fc72a8091ef855aa07de" args="(cimg_std::FILE *const file, const char *const filename, float *const voxsize)" --> |
philpem@5 | 2057 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_inr</b> (cimg_std::FILE *const file, const char *const filename, float *const voxsize)</td></tr> |
philpem@5 | 2058 | |
philpem@5 | 2059 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c52c863e6b22a98b8049b46bfc16102"></a><!-- doxytag: member="cimg_library::CImg::load_pandore" ref="1c52c863e6b22a98b8049b46bfc16102" args="(const char *const filename)" --> |
philpem@5 | 2060 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1c52c863e6b22a98b8049b46bfc16102">load_pandore</a> (const char *const filename)</td></tr> |
philpem@5 | 2061 | |
philpem@5 | 2062 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a PANDORE file. <br></td></tr> |
philpem@5 | 2063 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75a4bb6d89a31860755c119e40fb0abe"></a><!-- doxytag: member="cimg_library::CImg::load_pandore" ref="75a4bb6d89a31860755c119e40fb0abe" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2064 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#75a4bb6d89a31860755c119e40fb0abe">load_pandore</a> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2065 | |
philpem@5 | 2066 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a PANDORE file. <br></td></tr> |
philpem@5 | 2067 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa6d4a41e569dc65ccf6dfff29fa63c9"></a><!-- doxytag: member="cimg_library::CImg::_load_pandore" ref="fa6d4a41e569dc65ccf6dfff29fa63c9" args="(cimg_std::FILE *const file, const char *const filename)" --> |
philpem@5 | 2068 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_pandore</b> (cimg_std::FILE *const file, const char *const filename)</td></tr> |
philpem@5 | 2069 | |
philpem@5 | 2070 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9e3446fd647fcb9fc95a462435f42784"></a><!-- doxytag: member="cimg_library::CImg::load_parrec" ref="9e3446fd647fcb9fc95a462435f42784" args="(const char *const filename, const char axis='v', const char align='p')" --> |
philpem@5 | 2071 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9e3446fd647fcb9fc95a462435f42784">load_parrec</a> (const char *const filename, const char axis='v', const char align='p')</td></tr> |
philpem@5 | 2072 | |
philpem@5 | 2073 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a PAR-REC (Philips) file. <br></td></tr> |
philpem@5 | 2074 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2e5fd6242828f8c83e652daea0861e"></a><!-- doxytag: member="cimg_library::CImg::load_raw" ref="ff2e5fd6242828f8c83e652daea0861e" args="(const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)" --> |
philpem@5 | 2075 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ff2e5fd6242828f8c83e652daea0861e">load_raw</a> (const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)</td></tr> |
philpem@5 | 2076 | |
philpem@5 | 2077 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a .RAW file. <br></td></tr> |
philpem@5 | 2078 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ee7efb0aa685252eb16ba438f3fc0e91"></a><!-- doxytag: member="cimg_library::CImg::load_raw" ref="ee7efb0aa685252eb16ba438f3fc0e91" args="(cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)" --> |
philpem@5 | 2079 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ee7efb0aa685252eb16ba438f3fc0e91">load_raw</a> (cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)</td></tr> |
philpem@5 | 2080 | |
philpem@5 | 2081 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image from a .RAW file. <br></td></tr> |
philpem@5 | 2082 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b00b962ac6a230a4eeff258a63e64d3b"></a><!-- doxytag: member="cimg_library::CImg::_load_raw" ref="b00b962ac6a230a4eeff258a63e64d3b" args="(cimg_std::FILE *const file, const char *const filename, const unsigned int sizex, const unsigned int sizey, const unsigned int sizez, const unsigned int sizev, const bool multiplexed, const bool invert_endianness)" --> |
philpem@5 | 2083 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_load_raw</b> (cimg_std::FILE *const file, const char *const filename, const unsigned int sizex, const unsigned int sizey, const unsigned int sizez, const unsigned int sizev, const bool multiplexed, const bool invert_endianness)</td></tr> |
philpem@5 | 2084 | |
philpem@5 | 2085 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ea50f5bd07d9d8ae9ab11aaf6a87a31"></a><!-- doxytag: member="cimg_library::CImg::load_ffmpeg" ref="0ea50f5bd07d9d8ae9ab11aaf6a87a31" args="(const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool pixel_format=true, const bool resume=false, const char axis='z', const char align='p')" --> |
philpem@5 | 2086 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0ea50f5bd07d9d8ae9ab11aaf6a87a31">load_ffmpeg</a> (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool pixel_format=true, const bool resume=false, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2087 | |
philpem@5 | 2088 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a video sequence using FFMPEG av's libraries. <br></td></tr> |
philpem@5 | 2089 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64327752de9e98850b67701948960903"></a><!-- doxytag: member="cimg_library::CImg::load_yuv" ref="64327752de9e98850b67701948960903" args="(const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')" --> |
philpem@5 | 2090 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#64327752de9e98850b67701948960903">load_yuv</a> (const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2091 | |
philpem@5 | 2092 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image sequence from a YUV file. <br></td></tr> |
philpem@5 | 2093 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0db892192d010d5f1f6c25423328535"></a><!-- doxytag: member="cimg_library::CImg::load_yuv" ref="b0db892192d010d5f1f6c25423328535" args="(cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')" --> |
philpem@5 | 2094 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b0db892192d010d5f1f6c25423328535">load_yuv</a> (cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2095 | |
philpem@5 | 2096 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image sequence from a YUV file. <br></td></tr> |
philpem@5 | 2097 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="78e7945139c2e91df6bfecb1b388c7cc"></a><!-- doxytag: member="cimg_library::CImg::load_off" ref="78e7945139c2e91df6bfecb1b388c7cc" args="(const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors, const bool invert_faces=false)" --> |
philpem@5 | 2098 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2099 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#78e7945139c2e91df6bfecb1b388c7cc">load_off</a> (const char *const filename, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces=false)</td></tr> |
philpem@5 | 2100 | |
philpem@5 | 2101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a 3D object from a .OFF file. <br></td></tr> |
philpem@5 | 2102 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bd26b3a32bb50b7741a51c33d4077668"></a><!-- doxytag: member="cimg_library::CImg::load_off" ref="bd26b3a32bb50b7741a51c33d4077668" args="(cimg_std::FILE *const file, CImgList< tf > &primitives, CImgList< tc > &colors, const bool invert_faces=false)" --> |
philpem@5 | 2103 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2104 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bd26b3a32bb50b7741a51c33d4077668">load_off</a> (cimg_std::FILE *const file, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces=false)</td></tr> |
philpem@5 | 2105 | |
philpem@5 | 2106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a 3D object from a .OFF file. <br></td></tr> |
philpem@5 | 2107 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="807590347fb43ce0a809f88fe19b7857"></a><!-- doxytag: member="cimg_library::CImg::_load_off" ref="807590347fb43ce0a809f88fe19b7857" args="(cimg_std::FILE *const file, const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors, const bool invert_faces)" --> |
philpem@5 | 2108 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2109 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_load_off</b> (cimg_std::FILE *const file, const char *const filename, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces)</td></tr> |
philpem@5 | 2110 | |
philpem@5 | 2111 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2bb0602f254824530b888266d4d503a"></a><!-- doxytag: member="cimg_library::CImg::load_ffmpeg_external" ref="a2bb0602f254824530b888266d4d503a" args="(const char *const filename, const char axis='z', const char align='p')" --> |
philpem@5 | 2112 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a2bb0602f254824530b888266d4d503a">load_ffmpeg_external</a> (const char *const filename, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2113 | |
philpem@5 | 2114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a video sequence using FFMPEG's external tool 'ffmpeg'. <br></td></tr> |
philpem@5 | 2115 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad5a1ff332f904a39b3ea2035d3a94dc"></a><!-- doxytag: member="cimg_library::CImg::load_graphicsmagick_external" ref="ad5a1ff332f904a39b3ea2035d3a94dc" args="(const char *const filename)" --> |
philpem@5 | 2116 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ad5a1ff332f904a39b3ea2035d3a94dc">load_graphicsmagick_external</a> (const char *const filename)</td></tr> |
philpem@5 | 2117 | |
philpem@5 | 2118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image using GraphicsMagick's external tool 'gm'. <br></td></tr> |
philpem@5 | 2119 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b8bf7e0b1371dbdc0d845a39f6451a8"></a><!-- doxytag: member="cimg_library::CImg::load_gzip_external" ref="1b8bf7e0b1371dbdc0d845a39f6451a8" args="(const char *const filename)" --> |
philpem@5 | 2120 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1b8bf7e0b1371dbdc0d845a39f6451a8">load_gzip_external</a> (const char *const filename)</td></tr> |
philpem@5 | 2121 | |
philpem@5 | 2122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a gzipped image file, using external tool 'gunzip'. <br></td></tr> |
philpem@5 | 2123 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="841db22435a4f77bf3e4c9fc65ecbb6e"></a><!-- doxytag: member="cimg_library::CImg::load_imagemagick_external" ref="841db22435a4f77bf3e4c9fc65ecbb6e" args="(const char *const filename)" --> |
philpem@5 | 2124 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#841db22435a4f77bf3e4c9fc65ecbb6e">load_imagemagick_external</a> (const char *const filename)</td></tr> |
philpem@5 | 2125 | |
philpem@5 | 2126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image using ImageMagick's external tool 'convert'. <br></td></tr> |
philpem@5 | 2127 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38df90ee1c431b684fcb5ed8248464b1"></a><!-- doxytag: member="cimg_library::CImg::load_medcon_external" ref="38df90ee1c431b684fcb5ed8248464b1" args="(const char *const filename)" --> |
philpem@5 | 2128 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#38df90ee1c431b684fcb5ed8248464b1">load_medcon_external</a> (const char *const filename)</td></tr> |
philpem@5 | 2129 | |
philpem@5 | 2130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a DICOM image file, using XMedcon's external tool 'medcon'. <br></td></tr> |
philpem@5 | 2131 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67cf88da9c1122b55ebcef3d223bccbe"></a><!-- doxytag: member="cimg_library::CImg::load_dcraw_external" ref="67cf88da9c1122b55ebcef3d223bccbe" args="(const char *const filename)" --> |
philpem@5 | 2132 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#67cf88da9c1122b55ebcef3d223bccbe">load_dcraw_external</a> (const char *const filename)</td></tr> |
philpem@5 | 2133 | |
philpem@5 | 2134 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load a RAW Color Camera image file, using external tool 'dcraw'. <br></td></tr> |
philpem@5 | 2135 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35a909fb3df4bd76be2facc8366861af"></a><!-- doxytag: member="cimg_library::CImg::load_other" ref="35a909fb3df4bd76be2facc8366861af" args="(const char *const filename)" --> |
philpem@5 | 2136 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#35a909fb3df4bd76be2facc8366861af">load_other</a> (const char *const filename)</td></tr> |
philpem@5 | 2137 | |
philpem@5 | 2138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load an image using ImageMagick's or GraphicsMagick's executables. <br></td></tr> |
philpem@5 | 2139 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="149e94256155d10130a088f8219edd04"></a><!-- doxytag: member="cimg_library::CImg::get_load" ref="149e94256155d10130a088f8219edd04" args="(const char *const filename)" --> |
philpem@5 | 2140 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load</b> (const char *const filename)</td></tr> |
philpem@5 | 2141 | |
philpem@5 | 2142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fcae43f9eea505f08646f97851f59c64"></a><!-- doxytag: member="cimg_library::CImg::get_load_ascii" ref="fcae43f9eea505f08646f97851f59c64" args="(const char *const filename)" --> |
philpem@5 | 2143 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_ascii</b> (const char *const filename)</td></tr> |
philpem@5 | 2144 | |
philpem@5 | 2145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b792e4750ec4140b9b6dbc592487e53a"></a><!-- doxytag: member="cimg_library::CImg::get_load_ascii" ref="b792e4750ec4140b9b6dbc592487e53a" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2146 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_ascii</b> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2147 | |
philpem@5 | 2148 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="834668164d25f97f373b1fd6059d2a4b"></a><!-- doxytag: member="cimg_library::CImg::get_load_dlm" ref="834668164d25f97f373b1fd6059d2a4b" args="(const char *const filename)" --> |
philpem@5 | 2149 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_dlm</b> (const char *const filename)</td></tr> |
philpem@5 | 2150 | |
philpem@5 | 2151 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="582850ba4537a30e0bfbcb78186ae001"></a><!-- doxytag: member="cimg_library::CImg::get_load_dlm" ref="582850ba4537a30e0bfbcb78186ae001" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2152 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_dlm</b> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2153 | |
philpem@5 | 2154 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f7b2075e2aaa64ebbf67e87291606f4"></a><!-- doxytag: member="cimg_library::CImg::get_load_bmp" ref="4f7b2075e2aaa64ebbf67e87291606f4" args="(const char *const filename)" --> |
philpem@5 | 2155 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_bmp</b> (const char *const filename)</td></tr> |
philpem@5 | 2156 | |
philpem@5 | 2157 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d87c98fc5f3d0e830ce8fcc443e953ab"></a><!-- doxytag: member="cimg_library::CImg::get_load_bmp" ref="d87c98fc5f3d0e830ce8fcc443e953ab" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2158 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_bmp</b> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2159 | |
philpem@5 | 2160 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5fb25ae4e078d63d73430a5f87876287"></a><!-- doxytag: member="cimg_library::CImg::get_load_jpeg" ref="5fb25ae4e078d63d73430a5f87876287" args="(const char *const filename)" --> |
philpem@5 | 2161 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_jpeg</b> (const char *const filename)</td></tr> |
philpem@5 | 2162 | |
philpem@5 | 2163 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="382d8630fc827635d8c168f6d4a27d06"></a><!-- doxytag: member="cimg_library::CImg::get_load_jpeg" ref="382d8630fc827635d8c168f6d4a27d06" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2164 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_jpeg</b> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2165 | |
philpem@5 | 2166 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7100b79cd6e054a37a4930fe334f288"></a><!-- doxytag: member="cimg_library::CImg::get_load_magick" ref="f7100b79cd6e054a37a4930fe334f288" args="(const char *const filename)" --> |
philpem@5 | 2167 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_magick</b> (const char *const filename)</td></tr> |
philpem@5 | 2168 | |
philpem@5 | 2169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f3eb559d3dea149210424da8a987402b"></a><!-- doxytag: member="cimg_library::CImg::get_load_png" ref="f3eb559d3dea149210424da8a987402b" args="(const char *const filename)" --> |
philpem@5 | 2170 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_png</b> (const char *const filename)</td></tr> |
philpem@5 | 2171 | |
philpem@5 | 2172 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7256b40c9895a16b3f3415c065d5d845"></a><!-- doxytag: member="cimg_library::CImg::get_load_png" ref="7256b40c9895a16b3f3415c065d5d845" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2173 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_png</b> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2174 | |
philpem@5 | 2175 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0bbe1d291276726fd9aada63d2455e06"></a><!-- doxytag: member="cimg_library::CImg::get_load_pnm" ref="0bbe1d291276726fd9aada63d2455e06" args="(const char *const filename)" --> |
philpem@5 | 2176 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_pnm</b> (const char *const filename)</td></tr> |
philpem@5 | 2177 | |
philpem@5 | 2178 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15df87e72beef77fe0d6430ff37d918a"></a><!-- doxytag: member="cimg_library::CImg::get_load_pnm" ref="15df87e72beef77fe0d6430ff37d918a" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2179 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_pnm</b> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2180 | |
philpem@5 | 2181 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f3132e636ec0182840e78eceb336316"></a><!-- doxytag: member="cimg_library::CImg::get_load_rgb" ref="5f3132e636ec0182840e78eceb336316" args="(const char *const filename, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 2182 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_rgb</b> (const char *const filename, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 2183 | |
philpem@5 | 2184 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="305ab805f91ad352fcb9ee7252a26d75"></a><!-- doxytag: member="cimg_library::CImg::get_load_rgb" ref="305ab805f91ad352fcb9ee7252a26d75" args="(cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 2185 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_rgb</b> (cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 2186 | |
philpem@5 | 2187 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f30b8c2f375ee0838bb9352d928e9b9"></a><!-- doxytag: member="cimg_library::CImg::get_load_rgba" ref="0f30b8c2f375ee0838bb9352d928e9b9" args="(const char *const filename, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 2188 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_rgba</b> (const char *const filename, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 2189 | |
philpem@5 | 2190 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ac6693fa6c8eed08f338040f6670394"></a><!-- doxytag: member="cimg_library::CImg::get_load_rgba" ref="9ac6693fa6c8eed08f338040f6670394" args="(cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)" --> |
philpem@5 | 2191 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_rgba</b> (cimg_std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1)</td></tr> |
philpem@5 | 2192 | |
philpem@5 | 2193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7d33b41658d4adde6c99a41a036909a6"></a><!-- doxytag: member="cimg_library::CImg::get_load_tiff" ref="7d33b41658d4adde6c99a41a036909a6" args="(const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1)" --> |
philpem@5 | 2194 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_tiff</b> (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1)</td></tr> |
philpem@5 | 2195 | |
philpem@5 | 2196 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="171911b3cc4caeb64577ba093d8fc14d"></a><!-- doxytag: member="cimg_library::CImg::get_load_analyze" ref="171911b3cc4caeb64577ba093d8fc14d" args="(const char *const filename, float *const voxsize=0)" --> |
philpem@5 | 2197 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_analyze</b> (const char *const filename, float *const voxsize=0)</td></tr> |
philpem@5 | 2198 | |
philpem@5 | 2199 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d74c78a1417e868327a8f816d394050a"></a><!-- doxytag: member="cimg_library::CImg::get_load_analyze" ref="d74c78a1417e868327a8f816d394050a" args="(cimg_std::FILE *const file, float *const voxsize=0)" --> |
philpem@5 | 2200 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_analyze</b> (cimg_std::FILE *const file, float *const voxsize=0)</td></tr> |
philpem@5 | 2201 | |
philpem@5 | 2202 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf34dea4ff73b03e04e53b178bbaa91b"></a><!-- doxytag: member="cimg_library::CImg::get_load_cimg" ref="cf34dea4ff73b03e04e53b178bbaa91b" args="(const char *const filename, const char axis='z', const char align='p')" --> |
philpem@5 | 2203 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_cimg</b> (const char *const filename, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2204 | |
philpem@5 | 2205 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ab9ff50da838ccee5206b0b6f5d9175"></a><!-- doxytag: member="cimg_library::CImg::get_load_cimg" ref="4ab9ff50da838ccee5206b0b6f5d9175" args="(cimg_std::FILE *const file, const char axis='z', const char align='p')" --> |
philpem@5 | 2206 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_cimg</b> (cimg_std::FILE *const file, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2207 | |
philpem@5 | 2208 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de3dd3b7d207e77165e3ccbbb44354f2"></a><!-- doxytag: member="cimg_library::CImg::get_load_cimg" ref="de3dd3b7d207e77165e3ccbbb44354f2" args="(const char *const filename, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')" --> |
philpem@5 | 2209 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_cimg</b> (const char *const filename, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2210 | |
philpem@5 | 2211 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a83590ca9f4572fbea3ae1a2e849bc4"></a><!-- doxytag: member="cimg_library::CImg::get_load_cimg" ref="9a83590ca9f4572fbea3ae1a2e849bc4" args="(cimg_std::FILE *const file, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')" --> |
philpem@5 | 2212 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_cimg</b> (cimg_std::FILE *const file, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2213 | |
philpem@5 | 2214 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2715bb8c3015da25a0aff1cdcd4a772"></a><!-- doxytag: member="cimg_library::CImg::get_load_inr" ref="a2715bb8c3015da25a0aff1cdcd4a772" args="(const char *const filename, float *const voxsize=0)" --> |
philpem@5 | 2215 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_inr</b> (const char *const filename, float *const voxsize=0)</td></tr> |
philpem@5 | 2216 | |
philpem@5 | 2217 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c60b60ad85eaf591aa3245ac2e08358"></a><!-- doxytag: member="cimg_library::CImg::get_load_inr" ref="8c60b60ad85eaf591aa3245ac2e08358" args="(cimg_std::FILE *const file, float *voxsize=0)" --> |
philpem@5 | 2218 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_inr</b> (cimg_std::FILE *const file, float *voxsize=0)</td></tr> |
philpem@5 | 2219 | |
philpem@5 | 2220 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d60750dd4f70a1d9a6c0206415e1da9b"></a><!-- doxytag: member="cimg_library::CImg::_load_inr_header" ref="d60750dd4f70a1d9a6c0206415e1da9b" args="(cimg_std::FILE *file, int out[8], float *const voxsize)" --> |
philpem@5 | 2221 | static void </td><td class="memItemRight" valign="bottom"><b>_load_inr_header</b> (cimg_std::FILE *file, int out[8], float *const voxsize)</td></tr> |
philpem@5 | 2222 | |
philpem@5 | 2223 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="142e63e1c36c29a05205030511a6aad6"></a><!-- doxytag: member="cimg_library::CImg::get_load_pandore" ref="142e63e1c36c29a05205030511a6aad6" args="(const char *const filename)" --> |
philpem@5 | 2224 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_pandore</b> (const char *const filename)</td></tr> |
philpem@5 | 2225 | |
philpem@5 | 2226 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="801e99ca992dc4ced3b92d9dfb1cb396"></a><!-- doxytag: member="cimg_library::CImg::get_load_pandore" ref="801e99ca992dc4ced3b92d9dfb1cb396" args="(cimg_std::FILE *const file)" --> |
philpem@5 | 2227 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_pandore</b> (cimg_std::FILE *const file)</td></tr> |
philpem@5 | 2228 | |
philpem@5 | 2229 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e5fa694fb2237847513e02aa7a2fb99"></a><!-- doxytag: member="cimg_library::CImg::get_load_parrec" ref="8e5fa694fb2237847513e02aa7a2fb99" args="(const char *const filename, const char axis='v', const char align='p')" --> |
philpem@5 | 2230 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_parrec</b> (const char *const filename, const char axis='v', const char align='p')</td></tr> |
philpem@5 | 2231 | |
philpem@5 | 2232 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16ba67618d068b7e334d9899dbbe178b"></a><!-- doxytag: member="cimg_library::CImg::get_load_raw" ref="16ba67618d068b7e334d9899dbbe178b" args="(const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)" --> |
philpem@5 | 2233 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_raw</b> (const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)</td></tr> |
philpem@5 | 2234 | |
philpem@5 | 2235 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="adaaf028bd99d8bc86bc2ccb2a39d218"></a><!-- doxytag: member="cimg_library::CImg::get_load_raw" ref="adaaf028bd99d8bc86bc2ccb2a39d218" args="(cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)" --> |
philpem@5 | 2236 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_raw</b> (cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false)</td></tr> |
philpem@5 | 2237 | |
philpem@5 | 2238 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a9649dc62470fc906c5b0537c2854d0"></a><!-- doxytag: member="cimg_library::CImg::get_load_ffmpeg" ref="4a9649dc62470fc906c5b0537c2854d0" args="(const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool pixel_format=true, const bool resume=false, const char axis='z', const char align='p')" --> |
philpem@5 | 2239 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_ffmpeg</b> (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool pixel_format=true, const bool resume=false, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2240 | |
philpem@5 | 2241 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5737e6e4159a10973fdf275e08453c84"></a><!-- doxytag: member="cimg_library::CImg::get_load_yuv" ref="5737e6e4159a10973fdf275e08453c84" args="(const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')" --> |
philpem@5 | 2242 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_yuv</b> (const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2243 | |
philpem@5 | 2244 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c6741c3c13caaac684234f1ae69f246"></a><!-- doxytag: member="cimg_library::CImg::get_load_yuv" ref="7c6741c3c13caaac684234f1ae69f246" args="(cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')" --> |
philpem@5 | 2245 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_yuv</b> (cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2246 | |
philpem@5 | 2247 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5bb111e1dafc61d7777dca8ba32d6c32"></a><!-- doxytag: member="cimg_library::CImg::get_load_off" ref="5bb111e1dafc61d7777dca8ba32d6c32" args="(const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors, const bool invert_faces=false)" --> |
philpem@5 | 2248 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2249 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_load_off</b> (const char *const filename, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces=false)</td></tr> |
philpem@5 | 2250 | |
philpem@5 | 2251 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b88ac3ae621e2f1998937b88cfeb6d46"></a><!-- doxytag: member="cimg_library::CImg::get_load_off" ref="b88ac3ae621e2f1998937b88cfeb6d46" args="(cimg_std::FILE *const file, CImgList< tf > &primitives, CImgList< tc > &colors, const bool invert_faces=false)" --> |
philpem@5 | 2252 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2253 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_load_off</b> (cimg_std::FILE *const file, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces=false)</td></tr> |
philpem@5 | 2254 | |
philpem@5 | 2255 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="883c2a31a26f1b8767db6456b952c949"></a><!-- doxytag: member="cimg_library::CImg::get_load_ffmpeg_external" ref="883c2a31a26f1b8767db6456b952c949" args="(const char *const filename, const char axis='z', const char align='p')" --> |
philpem@5 | 2256 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_ffmpeg_external</b> (const char *const filename, const char axis='z', const char align='p')</td></tr> |
philpem@5 | 2257 | |
philpem@5 | 2258 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5cd75e6518130915e0c5f006b5bec758"></a><!-- doxytag: member="cimg_library::CImg::get_load_graphicsmagick_external" ref="5cd75e6518130915e0c5f006b5bec758" args="(const char *const filename)" --> |
philpem@5 | 2259 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_graphicsmagick_external</b> (const char *const filename)</td></tr> |
philpem@5 | 2260 | |
philpem@5 | 2261 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3f62a13e6dcbbdc8c7bdd6608017602b"></a><!-- doxytag: member="cimg_library::CImg::get_load_gzip_external" ref="3f62a13e6dcbbdc8c7bdd6608017602b" args="(const char *const filename)" --> |
philpem@5 | 2262 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_gzip_external</b> (const char *const filename)</td></tr> |
philpem@5 | 2263 | |
philpem@5 | 2264 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="614be4016c404396a28121dd2d9ee477"></a><!-- doxytag: member="cimg_library::CImg::get_load_imagemagick_external" ref="614be4016c404396a28121dd2d9ee477" args="(const char *const filename)" --> |
philpem@5 | 2265 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_imagemagick_external</b> (const char *const filename)</td></tr> |
philpem@5 | 2266 | |
philpem@5 | 2267 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="99ef8bf8fc4f76517d93c831fdfca562"></a><!-- doxytag: member="cimg_library::CImg::get_load_medcon_external" ref="99ef8bf8fc4f76517d93c831fdfca562" args="(const char *const filename)" --> |
philpem@5 | 2268 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_medcon_external</b> (const char *const filename)</td></tr> |
philpem@5 | 2269 | |
philpem@5 | 2270 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0537809dca1c2f2f5e35965d45f5b52c"></a><!-- doxytag: member="cimg_library::CImg::get_load_dcraw_external" ref="0537809dca1c2f2f5e35965d45f5b52c" args="(const char *const filename)" --> |
philpem@5 | 2271 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_dcraw_external</b> (const char *const filename)</td></tr> |
philpem@5 | 2272 | |
philpem@5 | 2273 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4fba9dc33b1edf2eacb59acebba962d"></a><!-- doxytag: member="cimg_library::CImg::get_load_other" ref="a4fba9dc33b1edf2eacb59acebba962d" args="(const char *const filename)" --> |
philpem@5 | 2274 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_load_other</b> (const char *const filename)</td></tr> |
philpem@5 | 2275 | |
philpem@5 | 2276 | <tr><td colspan="2"><br><h2>Image File Saving</h2></td></tr> |
philpem@5 | 2277 | <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4fd91f4fb021d20c5b62329c49733bd9">save</a> (const char *const filename, const int number=-1) const </td></tr> |
philpem@5 | 2278 | |
philpem@5 | 2279 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a file. <a href="#4fd91f4fb021d20c5b62329c49733bd9"></a><br></td></tr> |
philpem@5 | 2280 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6543d8caeaf5a766087a4e7c5ecf694e"></a><!-- doxytag: member="cimg_library::CImg::_save_ascii" ref="6543d8caeaf5a766087a4e7c5ecf694e" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2281 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_ascii</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2282 | |
philpem@5 | 2283 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6039799358c3fe91fe6e828d3433db2f"></a><!-- doxytag: member="cimg_library::CImg::save_ascii" ref="6039799358c3fe91fe6e828d3433db2f" args="(const char *const filename) const " --> |
philpem@5 | 2284 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6039799358c3fe91fe6e828d3433db2f">save_ascii</a> (const char *const filename) const </td></tr> |
philpem@5 | 2285 | |
philpem@5 | 2286 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as an ASCII file (ASCII Raw + simple header). <br></td></tr> |
philpem@5 | 2287 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1a2198e176da80e806e9f44dce6e423"></a><!-- doxytag: member="cimg_library::CImg::save_ascii" ref="c1a2198e176da80e806e9f44dce6e423" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2288 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c1a2198e176da80e806e9f44dce6e423">save_ascii</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2289 | |
philpem@5 | 2290 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as an ASCII file (ASCII Raw + simple header). <br></td></tr> |
philpem@5 | 2291 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7729a55948a9a8834783b00aa2789898"></a><!-- doxytag: member="cimg_library::CImg::_save_cpp" ref="7729a55948a9a8834783b00aa2789898" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2292 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_cpp</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2293 | |
philpem@5 | 2294 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="869bb2e7c1fe0896e143016ba4030065"></a><!-- doxytag: member="cimg_library::CImg::save_cpp" ref="869bb2e7c1fe0896e143016ba4030065" args="(const char *const filename) const " --> |
philpem@5 | 2295 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#869bb2e7c1fe0896e143016ba4030065">save_cpp</a> (const char *const filename) const </td></tr> |
philpem@5 | 2296 | |
philpem@5 | 2297 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a CPP source file. <br></td></tr> |
philpem@5 | 2298 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37f7909910f00164decfa2705bdd1f2c"></a><!-- doxytag: member="cimg_library::CImg::save_cpp" ref="37f7909910f00164decfa2705bdd1f2c" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2299 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#37f7909910f00164decfa2705bdd1f2c">save_cpp</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2300 | |
philpem@5 | 2301 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a CPP source file. <br></td></tr> |
philpem@5 | 2302 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67806595a098c09476bdb55c28e07602"></a><!-- doxytag: member="cimg_library::CImg::_save_dlm" ref="67806595a098c09476bdb55c28e07602" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2303 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_dlm</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2304 | |
philpem@5 | 2305 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2c4bfc725e65a27f7f21e74b6da319d"></a><!-- doxytag: member="cimg_library::CImg::save_dlm" ref="e2c4bfc725e65a27f7f21e74b6da319d" args="(const char *const filename) const " --> |
philpem@5 | 2306 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e2c4bfc725e65a27f7f21e74b6da319d">save_dlm</a> (const char *const filename) const </td></tr> |
philpem@5 | 2307 | |
philpem@5 | 2308 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a DLM file. <br></td></tr> |
philpem@5 | 2309 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a64fec71b18beaaabbeabc8ad47e36a1"></a><!-- doxytag: member="cimg_library::CImg::save_dlm" ref="a64fec71b18beaaabbeabc8ad47e36a1" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2310 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a64fec71b18beaaabbeabc8ad47e36a1">save_dlm</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2311 | |
philpem@5 | 2312 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a DLM file. <br></td></tr> |
philpem@5 | 2313 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67af2b90a19349ad69d2b0b4a652d0ef"></a><!-- doxytag: member="cimg_library::CImg::_save_bmp" ref="67af2b90a19349ad69d2b0b4a652d0ef" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2314 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_bmp</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2315 | |
philpem@5 | 2316 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f8e01d96cddfa3c0d0d2dc9d86745ac"></a><!-- doxytag: member="cimg_library::CImg::save_bmp" ref="2f8e01d96cddfa3c0d0d2dc9d86745ac" args="(const char *const filename) const " --> |
philpem@5 | 2317 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2f8e01d96cddfa3c0d0d2dc9d86745ac">save_bmp</a> (const char *const filename) const </td></tr> |
philpem@5 | 2318 | |
philpem@5 | 2319 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a BMP file. <br></td></tr> |
philpem@5 | 2320 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1352f29f3f4e216b1dbef3471389d09a"></a><!-- doxytag: member="cimg_library::CImg::save_bmp" ref="1352f29f3f4e216b1dbef3471389d09a" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2321 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1352f29f3f4e216b1dbef3471389d09a">save_bmp</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2322 | |
philpem@5 | 2323 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a BMP file. <br></td></tr> |
philpem@5 | 2324 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6be51620e021bdbfd8ea3f306252482d"></a><!-- doxytag: member="cimg_library::CImg::_save_jpeg" ref="6be51620e021bdbfd8ea3f306252482d" args="(cimg_std::FILE *const file, const char *const filename, const unsigned int quality) const " --> |
philpem@5 | 2325 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_jpeg</b> (cimg_std::FILE *const file, const char *const filename, const unsigned int quality) const </td></tr> |
philpem@5 | 2326 | |
philpem@5 | 2327 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26ff26d1b1ce8dd8b221d13cc50434e2"></a><!-- doxytag: member="cimg_library::CImg::save_jpeg" ref="26ff26d1b1ce8dd8b221d13cc50434e2" args="(const char *const filename, const unsigned int quality=100) const " --> |
philpem@5 | 2328 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#26ff26d1b1ce8dd8b221d13cc50434e2">save_jpeg</a> (const char *const filename, const unsigned int quality=100) const </td></tr> |
philpem@5 | 2329 | |
philpem@5 | 2330 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file in JPEG format. <br></td></tr> |
philpem@5 | 2331 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="437e56f07b4a2e4afe8e07f40a54544c"></a><!-- doxytag: member="cimg_library::CImg::save_jpeg" ref="437e56f07b4a2e4afe8e07f40a54544c" args="(cimg_std::FILE *const file, const unsigned int quality=100) const " --> |
philpem@5 | 2332 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#437e56f07b4a2e4afe8e07f40a54544c">save_jpeg</a> (cimg_std::FILE *const file, const unsigned int quality=100) const </td></tr> |
philpem@5 | 2333 | |
philpem@5 | 2334 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file in JPEG format. <br></td></tr> |
philpem@5 | 2335 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49b8355073ca645ba69af38324ecda6c"></a><!-- doxytag: member="cimg_library::CImg::save_magick" ref="49b8355073ca645ba69af38324ecda6c" args="(const char *const filename) const " --> |
philpem@5 | 2336 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#49b8355073ca645ba69af38324ecda6c">save_magick</a> (const char *const filename) const </td></tr> |
philpem@5 | 2337 | |
philpem@5 | 2338 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image using built-in ImageMagick++ library. <br></td></tr> |
philpem@5 | 2339 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cb8fabd86632ad10f9adf1bd88fb4d22"></a><!-- doxytag: member="cimg_library::CImg::_save_png" ref="cb8fabd86632ad10f9adf1bd88fb4d22" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2340 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_png</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2341 | |
philpem@5 | 2342 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="739a8b4eb3d419cf4a5ec19c1715d6c3"></a><!-- doxytag: member="cimg_library::CImg::save_png" ref="739a8b4eb3d419cf4a5ec19c1715d6c3" args="(const char *const filename) const " --> |
philpem@5 | 2343 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#739a8b4eb3d419cf4a5ec19c1715d6c3">save_png</a> (const char *const filename) const </td></tr> |
philpem@5 | 2344 | |
philpem@5 | 2345 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file in PNG format. <br></td></tr> |
philpem@5 | 2346 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a679f4aa53bbe2327592d48811df4c35"></a><!-- doxytag: member="cimg_library::CImg::save_png" ref="a679f4aa53bbe2327592d48811df4c35" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2347 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a679f4aa53bbe2327592d48811df4c35">save_png</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2348 | |
philpem@5 | 2349 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file in PNG format. <br></td></tr> |
philpem@5 | 2350 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d75c94f3badc5bcd389775da1c6473a7"></a><!-- doxytag: member="cimg_library::CImg::_save_pnm" ref="d75c94f3badc5bcd389775da1c6473a7" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2351 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_pnm</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2352 | |
philpem@5 | 2353 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fd8323ac951c92f565eff819073b7973"></a><!-- doxytag: member="cimg_library::CImg::save_pnm" ref="fd8323ac951c92f565eff819073b7973" args="(const char *const filename) const " --> |
philpem@5 | 2354 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fd8323ac951c92f565eff819073b7973">save_pnm</a> (const char *const filename) const </td></tr> |
philpem@5 | 2355 | |
philpem@5 | 2356 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a PNM file. <br></td></tr> |
philpem@5 | 2357 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec64ea7bd5862b6143cc1ba4afafe37f"></a><!-- doxytag: member="cimg_library::CImg::save_pnm" ref="ec64ea7bd5862b6143cc1ba4afafe37f" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2358 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ec64ea7bd5862b6143cc1ba4afafe37f">save_pnm</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2359 | |
philpem@5 | 2360 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a PNM file. <br></td></tr> |
philpem@5 | 2361 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7de6318425c89b5d6578918ab89f2b3d"></a><!-- doxytag: member="cimg_library::CImg::_save_rgb" ref="7de6318425c89b5d6578918ab89f2b3d" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2362 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_rgb</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2363 | |
philpem@5 | 2364 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aeff8cd6ea1e998a0bf905dd9c706123"></a><!-- doxytag: member="cimg_library::CImg::save_rgb" ref="aeff8cd6ea1e998a0bf905dd9c706123" args="(const char *const filename) const " --> |
philpem@5 | 2365 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#aeff8cd6ea1e998a0bf905dd9c706123">save_rgb</a> (const char *const filename) const </td></tr> |
philpem@5 | 2366 | |
philpem@5 | 2367 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a RGB file. <br></td></tr> |
philpem@5 | 2368 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21b6660322c8c713c2839247d31766da"></a><!-- doxytag: member="cimg_library::CImg::save_rgb" ref="21b6660322c8c713c2839247d31766da" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2369 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#21b6660322c8c713c2839247d31766da">save_rgb</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2370 | |
philpem@5 | 2371 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a RGB file. <br></td></tr> |
philpem@5 | 2372 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d70f49af7a3713020a2d84457bca280e"></a><!-- doxytag: member="cimg_library::CImg::_save_rgba" ref="d70f49af7a3713020a2d84457bca280e" args="(cimg_std::FILE *const file, const char *const filename) const " --> |
philpem@5 | 2373 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_rgba</b> (cimg_std::FILE *const file, const char *const filename) const </td></tr> |
philpem@5 | 2374 | |
philpem@5 | 2375 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a794b3b53e9e1bf8d5d6b0e1b97bc26"></a><!-- doxytag: member="cimg_library::CImg::save_rgba" ref="9a794b3b53e9e1bf8d5d6b0e1b97bc26" args="(const char *const filename) const " --> |
philpem@5 | 2376 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9a794b3b53e9e1bf8d5d6b0e1b97bc26">save_rgba</a> (const char *const filename) const </td></tr> |
philpem@5 | 2377 | |
philpem@5 | 2378 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a RGBA file. <br></td></tr> |
philpem@5 | 2379 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="da30da984d380973cfe91b9ba7952e02"></a><!-- doxytag: member="cimg_library::CImg::save_rgba" ref="da30da984d380973cfe91b9ba7952e02" args="(cimg_std::FILE *const file) const " --> |
philpem@5 | 2380 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#da30da984d380973cfe91b9ba7952e02">save_rgba</a> (cimg_std::FILE *const file) const </td></tr> |
philpem@5 | 2381 | |
philpem@5 | 2382 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a RGBA file. <br></td></tr> |
philpem@5 | 2383 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c6d72526b5d249df6148680b3521b26d"></a><!-- doxytag: member="cimg_library::CImg::save_tiff" ref="c6d72526b5d249df6148680b3521b26d" args="(const char *const filename) const " --> |
philpem@5 | 2384 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c6d72526b5d249df6148680b3521b26d">save_tiff</a> (const char *const filename) const </td></tr> |
philpem@5 | 2385 | |
philpem@5 | 2386 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save a file in TIFF format. <br></td></tr> |
philpem@5 | 2387 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="469c8bebf15e1247b789b35b79ea1537"></a><!-- doxytag: member="cimg_library::CImg::save_analyze" ref="469c8bebf15e1247b789b35b79ea1537" args="(const char *const filename, const float *const voxsize=0) const " --> |
philpem@5 | 2388 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#469c8bebf15e1247b789b35b79ea1537">save_analyze</a> (const char *const filename, const float *const voxsize=0) const </td></tr> |
philpem@5 | 2389 | |
philpem@5 | 2390 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as an ANALYZE7.5 or NIFTI file. <br></td></tr> |
philpem@5 | 2391 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a38a0a34134e90d18a5637ee61121898"></a><!-- doxytag: member="cimg_library::CImg::save_cimg" ref="a38a0a34134e90d18a5637ee61121898" args="(const char *const filename, const bool compress=false) const " --> |
philpem@5 | 2392 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a38a0a34134e90d18a5637ee61121898">save_cimg</a> (const char *const filename, const bool compress=false) const </td></tr> |
philpem@5 | 2393 | |
philpem@5 | 2394 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file. <br></td></tr> |
philpem@5 | 2395 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64b2dd387be8e25e87c9afc00a09654f"></a><!-- doxytag: member="cimg_library::CImg::save_cimg" ref="64b2dd387be8e25e87c9afc00a09654f" args="(cimg_std::FILE *const file, const bool compress=false) const " --> |
philpem@5 | 2396 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>save_cimg</b> (cimg_std::FILE *const file, const bool compress=false) const </td></tr> |
philpem@5 | 2397 | |
philpem@5 | 2398 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4317d9209110b8464abae41f0b67b54"></a><!-- doxytag: member="cimg_library::CImg::save_cimg" ref="f4317d9209110b8464abae41f0b67b54" args="(const char *const filename, const unsigned int n0, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0) const " --> |
philpem@5 | 2399 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f4317d9209110b8464abae41f0b67b54">save_cimg</a> (const char *const filename, const unsigned int n0, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0) const </td></tr> |
philpem@5 | 2400 | |
philpem@5 | 2401 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert the image into an existing .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file, at specified coordinates. <br></td></tr> |
philpem@5 | 2402 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cff0f7915d75b7edeeb25e0f2f1c92b2"></a><!-- doxytag: member="cimg_library::CImg::save_cimg" ref="cff0f7915d75b7edeeb25e0f2f1c92b2" args="(cimg_std::FILE *const file, const unsigned int n0, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0) const " --> |
philpem@5 | 2403 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cff0f7915d75b7edeeb25e0f2f1c92b2">save_cimg</a> (cimg_std::FILE *const file, const unsigned int n0, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0) const </td></tr> |
philpem@5 | 2404 | |
philpem@5 | 2405 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert the image into an existing .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file, at specified coordinates. <br></td></tr> |
philpem@5 | 2406 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0626c51e6242464158805cb19b9ccf9a"></a><!-- doxytag: member="cimg_library::CImg::_save_inr" ref="0626c51e6242464158805cb19b9ccf9a" args="(cimg_std::FILE *const file, const char *const filename, const float *const voxsize) const " --> |
philpem@5 | 2407 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_inr</b> (cimg_std::FILE *const file, const char *const filename, const float *const voxsize) const </td></tr> |
philpem@5 | 2408 | |
philpem@5 | 2409 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad7417f32dcb34d8151ecd232b07fbe7"></a><!-- doxytag: member="cimg_library::CImg::save_inr" ref="ad7417f32dcb34d8151ecd232b07fbe7" args="(const char *const filename, const float *const voxsize=0) const " --> |
philpem@5 | 2410 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ad7417f32dcb34d8151ecd232b07fbe7">save_inr</a> (const char *const filename, const float *const voxsize=0) const </td></tr> |
philpem@5 | 2411 | |
philpem@5 | 2412 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as an INRIMAGE-4 file. <br></td></tr> |
philpem@5 | 2413 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="01dc6718c3ab4f86568db6cb88229338"></a><!-- doxytag: member="cimg_library::CImg::save_inr" ref="01dc6718c3ab4f86568db6cb88229338" args="(cimg_std::FILE *const file, const float *const voxsize=0) const " --> |
philpem@5 | 2414 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#01dc6718c3ab4f86568db6cb88229338">save_inr</a> (cimg_std::FILE *const file, const float *const voxsize=0) const </td></tr> |
philpem@5 | 2415 | |
philpem@5 | 2416 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as an INRIMAGE-4 file. <br></td></tr> |
philpem@5 | 2417 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc3aedb15290208fbba6bb15a0a0dc1d"></a><!-- doxytag: member="cimg_library::CImg::_save_pandore_header_length" ref="bc3aedb15290208fbba6bb15a0a0dc1d" args="(unsigned int id, unsigned int *dims, const unsigned int colorspace) const " --> |
philpem@5 | 2418 | unsigned int </td><td class="memItemRight" valign="bottom"><b>_save_pandore_header_length</b> (unsigned int id, unsigned int *dims, const unsigned int colorspace) const </td></tr> |
philpem@5 | 2419 | |
philpem@5 | 2420 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="488af2e6635608e187a173ad5a6946f0"></a><!-- doxytag: member="cimg_library::CImg::_save_pandore" ref="488af2e6635608e187a173ad5a6946f0" args="(cimg_std::FILE *const file, const char *const filename, const unsigned int colorspace) const " --> |
philpem@5 | 2421 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_pandore</b> (cimg_std::FILE *const file, const char *const filename, const unsigned int colorspace) const </td></tr> |
philpem@5 | 2422 | |
philpem@5 | 2423 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c651db37bf02a8558de8052b2a1fe1a9"></a><!-- doxytag: member="cimg_library::CImg::save_pandore" ref="c651db37bf02a8558de8052b2a1fe1a9" args="(const char *const filename, const unsigned int colorspace=0) const " --> |
philpem@5 | 2424 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c651db37bf02a8558de8052b2a1fe1a9">save_pandore</a> (const char *const filename, const unsigned int colorspace=0) const </td></tr> |
philpem@5 | 2425 | |
philpem@5 | 2426 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a PANDORE-5 file. <br></td></tr> |
philpem@5 | 2427 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0d4ce7c8b1ad6b0aed5b33dc226b1dd4"></a><!-- doxytag: member="cimg_library::CImg::save_pandore" ref="0d4ce7c8b1ad6b0aed5b33dc226b1dd4" args="(cimg_std::FILE *const file, const unsigned int colorspace=0) const " --> |
philpem@5 | 2428 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0d4ce7c8b1ad6b0aed5b33dc226b1dd4">save_pandore</a> (cimg_std::FILE *const file, const unsigned int colorspace=0) const </td></tr> |
philpem@5 | 2429 | |
philpem@5 | 2430 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a PANDORE-5 file. <br></td></tr> |
philpem@5 | 2431 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="88c987b2a7367e6ce6f8a0efeed05b4b"></a><!-- doxytag: member="cimg_library::CImg::_save_raw" ref="88c987b2a7367e6ce6f8a0efeed05b4b" args="(cimg_std::FILE *const file, const char *const filename, const bool multiplexed) const " --> |
philpem@5 | 2432 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_save_raw</b> (cimg_std::FILE *const file, const char *const filename, const bool multiplexed) const </td></tr> |
philpem@5 | 2433 | |
philpem@5 | 2434 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40a4739e731f2ebba21beb1d1541e69f"></a><!-- doxytag: member="cimg_library::CImg::save_raw" ref="40a4739e731f2ebba21beb1d1541e69f" args="(const char *const filename, const bool multiplexed=false) const " --> |
philpem@5 | 2435 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#40a4739e731f2ebba21beb1d1541e69f">save_raw</a> (const char *const filename, const bool multiplexed=false) const </td></tr> |
philpem@5 | 2436 | |
philpem@5 | 2437 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a RAW file. <br></td></tr> |
philpem@5 | 2438 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c2526cf0c064dd106a7f06743311709"></a><!-- doxytag: member="cimg_library::CImg::save_raw" ref="1c2526cf0c064dd106a7f06743311709" args="(cimg_std::FILE *const file, const bool multiplexed=false) const " --> |
philpem@5 | 2439 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1c2526cf0c064dd106a7f06743311709">save_raw</a> (cimg_std::FILE *const file, const bool multiplexed=false) const </td></tr> |
philpem@5 | 2440 | |
philpem@5 | 2441 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a RAW file. <br></td></tr> |
philpem@5 | 2442 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5dc466b5a9fd09f386fb4c029122e123"></a><!-- doxytag: member="cimg_library::CImg::save_ffmpeg" ref="5dc466b5a9fd09f386fb4c029122e123" args="(const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int fps=25) const " --> |
philpem@5 | 2443 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5dc466b5a9fd09f386fb4c029122e123">save_ffmpeg</a> (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int fps=25) const </td></tr> |
philpem@5 | 2444 | |
philpem@5 | 2445 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a video sequence file, using FFMPEG library. <br></td></tr> |
philpem@5 | 2446 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02e74b684698a0eaf533869f9e262cbb"></a><!-- doxytag: member="cimg_library::CImg::save_yuv" ref="02e74b684698a0eaf533869f9e262cbb" args="(const char *const filename, const bool rgb2yuv=true) const " --> |
philpem@5 | 2447 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#02e74b684698a0eaf533869f9e262cbb">save_yuv</a> (const char *const filename, const bool rgb2yuv=true) const </td></tr> |
philpem@5 | 2448 | |
philpem@5 | 2449 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a YUV video sequence file. <br></td></tr> |
philpem@5 | 2450 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="374b35cac6e32b43479ae62d48366173"></a><!-- doxytag: member="cimg_library::CImg::save_yuv" ref="374b35cac6e32b43479ae62d48366173" args="(cimg_std::FILE *const file, const bool rgb2yuv=true) const " --> |
philpem@5 | 2451 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#374b35cac6e32b43479ae62d48366173">save_yuv</a> (cimg_std::FILE *const file, const bool rgb2yuv=true) const </td></tr> |
philpem@5 | 2452 | |
philpem@5 | 2453 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a YUV video sequence file. <br></td></tr> |
philpem@5 | 2454 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bbe233fcab1fed08bb3a7c151a6a6a04"></a><!-- doxytag: member="cimg_library::CImg::_save_off" ref="bbe233fcab1fed08bb3a7c151a6a6a04" args="(cimg_std::FILE *const file, const char *const filename, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool invert_faces) const " --> |
philpem@5 | 2455 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2456 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_save_off</b> (cimg_std::FILE *const file, const char *const filename, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces) const </td></tr> |
philpem@5 | 2457 | |
philpem@5 | 2458 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8026d89fd3dd2f58eff90ba7418633c9"></a><!-- doxytag: member="cimg_library::CImg::save_off" ref="8026d89fd3dd2f58eff90ba7418633c9" args="(const char *const filename, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool invert_faces=false) const " --> |
philpem@5 | 2459 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2460 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8026d89fd3dd2f58eff90ba7418633c9">save_off</a> (const char *const filename, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces=false) const </td></tr> |
philpem@5 | 2461 | |
philpem@5 | 2462 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save OFF files. <br></td></tr> |
philpem@5 | 2463 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e0d3125ded23aa559120cbaeb5b96d1c"></a><!-- doxytag: member="cimg_library::CImg::save_off" ref="e0d3125ded23aa559120cbaeb5b96d1c" args="(cimg_std::FILE *const file, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool invert_faces=false) const " --> |
philpem@5 | 2464 | template<typename tf , typename tc > </td></tr> |
philpem@5 | 2465 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e0d3125ded23aa559120cbaeb5b96d1c">save_off</a> (cimg_std::FILE *const file, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool invert_faces=false) const </td></tr> |
philpem@5 | 2466 | |
philpem@5 | 2467 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save OFF files. <br></td></tr> |
philpem@5 | 2468 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6cb891a0f13a1498bf2279568d9c89ef"></a><!-- doxytag: member="cimg_library::CImg::save_ffmpeg_external" ref="6cb891a0f13a1498bf2279568d9c89ef" args="(const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const char *const codec="mpeg2video") const " --> |
philpem@5 | 2469 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6cb891a0f13a1498bf2279568d9c89ef">save_ffmpeg_external</a> (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const char *const codec="mpeg2video") const </td></tr> |
philpem@5 | 2470 | |
philpem@5 | 2471 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image as a video sequence file, using the external tool 'ffmpeg'. <br></td></tr> |
philpem@5 | 2472 | <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fdab21cdc4ef778bfaf4e123b28c9aa0">save_graphicsmagick_external</a> (const char *const filename, const unsigned int quality=100) const </td></tr> |
philpem@5 | 2473 | |
philpem@5 | 2474 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image using GraphicsMagick's gm. <a href="#fdab21cdc4ef778bfaf4e123b28c9aa0"></a><br></td></tr> |
philpem@5 | 2475 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="882ef6fb0c2487da8598e36c45b8eeab"></a><!-- doxytag: member="cimg_library::CImg::save_gzip_external" ref="882ef6fb0c2487da8598e36c45b8eeab" args="(const char *const filename) const " --> |
philpem@5 | 2476 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#882ef6fb0c2487da8598e36c45b8eeab">save_gzip_external</a> (const char *const filename) const </td></tr> |
philpem@5 | 2477 | |
philpem@5 | 2478 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save an image as a gzipped file, using external tool 'gzip'. <br></td></tr> |
philpem@5 | 2479 | <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b0ff4f35fc74d40fda4893b7e2fdbe7b">save_imagemagick_external</a> (const char *const filename, const unsigned int quality=100) const </td></tr> |
philpem@5 | 2480 | |
philpem@5 | 2481 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the image using ImageMagick's convert. <a href="#b0ff4f35fc74d40fda4893b7e2fdbe7b"></a><br></td></tr> |
philpem@5 | 2482 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f3608edc3098e7c850c69cd347d4f9e8"></a><!-- doxytag: member="cimg_library::CImg::save_medcon_external" ref="f3608edc3098e7c850c69cd347d4f9e8" args="(const char *const filename) const " --> |
philpem@5 | 2483 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f3608edc3098e7c850c69cd347d4f9e8">save_medcon_external</a> (const char *const filename) const </td></tr> |
philpem@5 | 2484 | |
philpem@5 | 2485 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save an image as a Dicom file (need '(X)Medcon' : <a href="http://xmedcon.sourceforge.net">http://xmedcon.sourceforge.net</a> ). <br></td></tr> |
philpem@5 | 2486 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c48c6414547b87d5b3dbf17ac84b393"></a><!-- doxytag: member="cimg_library::CImg::save_other" ref="3c48c6414547b87d5b3dbf17ac84b393" args="(const char *const filename, const unsigned int quality=100) const " --> |
philpem@5 | 2487 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>save_other</b> (const char *const filename, const unsigned int quality=100) const </td></tr> |
philpem@5 | 2488 | |
philpem@5 | 2489 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="514edc69c74a31e32f36d3731cbf9503"></a><!-- doxytag: member="cimg_library::CImg::save_empty_cimg" ref="514edc69c74a31e32f36d3731cbf9503" args="(const char *const filename, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)" --> |
philpem@5 | 2490 | static void </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#514edc69c74a31e32f36d3731cbf9503">save_empty_cimg</a> (const char *const filename, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)</td></tr> |
philpem@5 | 2491 | |
philpem@5 | 2492 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save an empty .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file with specified dimensions. <br></td></tr> |
philpem@5 | 2493 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80a0ba2b540d28d0b20d9a0249d44d5a"></a><!-- doxytag: member="cimg_library::CImg::save_empty_cimg" ref="80a0ba2b540d28d0b20d9a0249d44d5a" args="(cimg_std::FILE *const file, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)" --> |
philpem@5 | 2494 | static void </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#80a0ba2b540d28d0b20d9a0249d44d5a">save_empty_cimg</a> (cimg_std::FILE *const file, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)</td></tr> |
philpem@5 | 2495 | |
philpem@5 | 2496 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save an empty .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file with specified dimensions. <br></td></tr> |
philpem@5 | 2497 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0c1cb65799c88c02a855976b783c248"></a><!-- doxytag: member="cimg_library::CImg::logo40x38" ref="f0c1cb65799c88c02a855976b783c248" args="()" --> |
philpem@5 | 2498 | static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>logo40x38</b> ()</td></tr> |
philpem@5 | 2499 | |
philpem@5 | 2500 | <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> |
philpem@5 | 2501 | <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef T * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#35c955cacac6aacaa1e82874b1628865">iterator</a></td></tr> |
philpem@5 | 2502 | |
philpem@5 | 2503 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Iterator type for CImg<T>. <a href="#35c955cacac6aacaa1e82874b1628865"></a><br></td></tr> |
philpem@5 | 2504 | <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef const T * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2fc97dce62b7053449cc868607540dba">const_iterator</a></td></tr> |
philpem@5 | 2505 | |
philpem@5 | 2506 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Const iterator type for CImg<T>. <a href="#2fc97dce62b7053449cc868607540dba"></a><br></td></tr> |
philpem@5 | 2507 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="265a253612b46abed17c61b0a5e5ce30"></a><!-- doxytag: member="cimg_library::CImg::value_type" ref="265a253612b46abed17c61b0a5e5ce30" args="" --> |
philpem@5 | 2508 | typedef T </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#265a253612b46abed17c61b0a5e5ce30">value_type</a></td></tr> |
philpem@5 | 2509 | |
philpem@5 | 2510 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get value type. <br></td></tr> |
philpem@5 | 2511 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
philpem@5 | 2512 | <tr><td colspan="2"><div class="groupHeader">Constructors-Destructor-Copy</div></td></tr> |
philpem@5 | 2513 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d71c294580a5307aa31246e4a1ee7866">~CImg</a> ()</td></tr> |
philpem@5 | 2514 | |
philpem@5 | 2515 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#d71c294580a5307aa31246e4a1ee7866"></a><br></td></tr> |
philpem@5 | 2516 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8a31842596268c9fc95810890607762f">CImg</a> ()</td></tr> |
philpem@5 | 2517 | |
philpem@5 | 2518 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#8a31842596268c9fc95810890607762f"></a><br></td></tr> |
philpem@5 | 2519 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f0cf1b66afb42bbb4750895fe66bcc69">CImg</a> (const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)</td></tr> |
philpem@5 | 2520 | |
philpem@5 | 2521 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new image with given size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>). <a href="#f0cf1b66afb42bbb4750895fe66bcc69"></a><br></td></tr> |
philpem@5 | 2522 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a1909d94c489ed7ba0bbc82ee47855c2">CImg</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const T val)</td></tr> |
philpem@5 | 2523 | |
philpem@5 | 2524 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image with given size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) and with pixel having a default value <code>val</code>. <a href="#a1909d94c489ed7ba0bbc82ee47855c2"></a><br></td></tr> |
philpem@5 | 2525 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0fb70d9de40880b2f5449a8caa4f4e92"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="0fb70d9de40880b2f5449a8caa4f4e92" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const int val0, const int val1,...)" --> |
philpem@5 | 2526 | </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0fb70d9de40880b2f5449a8caa4f4e92">CImg</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const int val0, const int val1,...)</td></tr> |
philpem@5 | 2527 | |
philpem@5 | 2528 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image with given size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) and with specified pixel values (int version). <br></td></tr> |
philpem@5 | 2529 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7a3b720681feaf5a473af0cdd7c65ed"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="f7a3b720681feaf5a473af0cdd7c65ed" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const double val0, const double val1,...)" --> |
philpem@5 | 2530 | </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f7a3b720681feaf5a473af0cdd7c65ed">CImg</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const double val0, const double val1,...)</td></tr> |
philpem@5 | 2531 | |
philpem@5 | 2532 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image with given size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) and with specified pixel values (double version). <br></td></tr> |
philpem@5 | 2533 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="deb4efd29d413691efc7eb84ac4016f1"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="deb4efd29d413691efc7eb84ac4016f1" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const char *const values, const bool repeat_pattern)" --> |
philpem@5 | 2534 | </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#deb4efd29d413691efc7eb84ac4016f1">CImg</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const char *const values, const bool repeat_pattern)</td></tr> |
philpem@5 | 2535 | |
philpem@5 | 2536 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image with given size and with specified values given in a string. <br></td></tr> |
philpem@5 | 2537 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 2538 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6ae6194b89742eb1578795312556bfbd">CImg</a> (const t *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1, const bool shared=false)</td></tr> |
philpem@5 | 2539 | |
philpem@5 | 2540 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image from a raw memory buffer. <a href="#6ae6194b89742eb1578795312556bfbd"></a><br></td></tr> |
philpem@5 | 2541 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b7ef52093de968546ba52735f0846633"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="b7ef52093de968546ba52735f0846633" args="(const T *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1, const bool shared=false)" --> |
philpem@5 | 2542 | </td><td class="memItemRight" valign="bottom"><b>CImg</b> (const T *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1, const bool shared=false)</td></tr> |
philpem@5 | 2543 | |
philpem@5 | 2544 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 2545 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8479cd0cf615e3131efcabac1e3ff004">CImg</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2546 | |
philpem@5 | 2547 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default copy constructor. <a href="#8479cd0cf615e3131efcabac1e3ff004"></a><br></td></tr> |
philpem@5 | 2548 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae1d70bef944e9263b73d0d318b42d7f"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="ae1d70bef944e9263b73d0d318b42d7f" args="(const CImg< T > &img)" --> |
philpem@5 | 2549 | </td><td class="memItemRight" valign="bottom"><b>CImg</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &img)</td></tr> |
philpem@5 | 2550 | |
philpem@5 | 2551 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 2552 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8dfaf8ddcc86f17442f8eeb3102d0662">CImg</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img, const bool shared)</td></tr> |
philpem@5 | 2553 | |
philpem@5 | 2554 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Advanced copy constructor. <a href="#8dfaf8ddcc86f17442f8eeb3102d0662"></a><br></td></tr> |
philpem@5 | 2555 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aecfca2842e450a766dd71a220a1b9a6"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="aecfca2842e450a766dd71a220a1b9a6" args="(const CImg< T > &img, const bool shared)" --> |
philpem@5 | 2556 | </td><td class="memItemRight" valign="bottom"><b>CImg</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &img, const bool shared)</td></tr> |
philpem@5 | 2557 | |
philpem@5 | 2558 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f31fbb19630af0ddbee182d31e41093c"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="f31fbb19630af0ddbee182d31e41093c" args="(const CImg< t > &img, const char *const dimensions)" --> |
philpem@5 | 2559 | template<typename t > </td></tr> |
philpem@5 | 2560 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f31fbb19630af0ddbee182d31e41093c">CImg</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img, const char *const dimensions)</td></tr> |
philpem@5 | 2561 | |
philpem@5 | 2562 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image using dimensions of another image. <br></td></tr> |
philpem@5 | 2563 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="86a2b8265b0feda01e0537b10a70a4b6"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="86a2b8265b0feda01e0537b10a70a4b6" args="(const CImg< t > &img, const char *const dimensions, const T val)" --> |
philpem@5 | 2564 | template<typename t > </td></tr> |
philpem@5 | 2565 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#86a2b8265b0feda01e0537b10a70a4b6">CImg</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img, const char *const dimensions, const T val)</td></tr> |
philpem@5 | 2566 | |
philpem@5 | 2567 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image using dimensions of another image, and fill it with a default value. <br></td></tr> |
philpem@5 | 2568 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ade5358c8a81825b86e6c654194b33d2">CImg</a> (const char *const filename)</td></tr> |
philpem@5 | 2569 | |
philpem@5 | 2570 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image from an image file. <a href="#ade5358c8a81825b86e6c654194b33d2"></a><br></td></tr> |
philpem@5 | 2571 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ceaeb1e13cdb9e681ddc4341807f6fac"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="ceaeb1e13cdb9e681ddc4341807f6fac" args="(const CImgDisplay &disp)" --> |
philpem@5 | 2572 | </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ceaeb1e13cdb9e681ddc4341807f6fac">CImg</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp)</td></tr> |
philpem@5 | 2573 | |
philpem@5 | 2574 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an image from the content of a <a class="el" href="structcimg__library_1_1CImgDisplay.html" title="This class represents a window which can display CImg images and handles mouse and...">CImgDisplay</a> instance. <br></td></tr> |
philpem@5 | 2575 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#65018fb0cbdbd9e8d1404321cd69bfe5">assign</a> ()</td></tr> |
philpem@5 | 2576 | |
philpem@5 | 2577 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the default constructor/destructor. <a href="#65018fb0cbdbd9e8d1404321cd69bfe5"></a><br></td></tr> |
philpem@5 | 2578 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b5cdf8f13cc7065fef4da8214ff36d5d">clear</a> ()</td></tr> |
philpem@5 | 2579 | |
philpem@5 | 2580 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the default constructor. <a href="#b5cdf8f13cc7065fef4da8214ff36d5d"></a><br></td></tr> |
philpem@5 | 2581 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#55e2f2335ea8060148c59ec4f57846e2">assign</a> (const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)</td></tr> |
philpem@5 | 2582 | |
philpem@5 | 2583 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <a href="#55e2f2335ea8060148c59ec4f57846e2"></a><br></td></tr> |
philpem@5 | 2584 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#14047abcb2a67ba0dadc92e34b456111">assign</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const T val)</td></tr> |
philpem@5 | 2585 | |
philpem@5 | 2586 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <a href="#14047abcb2a67ba0dadc92e34b456111"></a><br></td></tr> |
philpem@5 | 2587 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8a8cf42230f48cfaf80c96fe040926c9"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="8a8cf42230f48cfaf80c96fe040926c9" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const int val0, const int val1,...)" --> |
philpem@5 | 2588 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8a8cf42230f48cfaf80c96fe040926c9">assign</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const int val0, const int val1,...)</td></tr> |
philpem@5 | 2589 | |
philpem@5 | 2590 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr> |
philpem@5 | 2591 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18e8003d8101d51963e0eea3a86b8f47"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="18e8003d8101d51963e0eea3a86b8f47" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const double val0, const double val1,...)" --> |
philpem@5 | 2592 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#18e8003d8101d51963e0eea3a86b8f47">assign</a> (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const double val0, const double val1,...)</td></tr> |
philpem@5 | 2593 | |
philpem@5 | 2594 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr> |
philpem@5 | 2595 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6afdd52b55027273b836655fcf64d74d"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="6afdd52b55027273b836655fcf64d74d" args="(const t *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)" --> |
philpem@5 | 2596 | template<typename t > </td></tr> |
philpem@5 | 2597 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6afdd52b55027273b836655fcf64d74d">assign</a> (const t *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)</td></tr> |
philpem@5 | 2598 | |
philpem@5 | 2599 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr> |
philpem@5 | 2600 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f88f874fd5a12bd792bde0d36d3c9cfa"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="f88f874fd5a12bd792bde0d36d3c9cfa" args="(const T *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)" --> |
philpem@5 | 2601 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>assign</b> (const T *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)</td></tr> |
philpem@5 | 2602 | |
philpem@5 | 2603 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f8906ce66ef0cdb44c37c7c26b1208ab"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="f8906ce66ef0cdb44c37c7c26b1208ab" args="(const t *const data_buffer, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const bool shared)" --> |
philpem@5 | 2604 | template<typename t > </td></tr> |
philpem@5 | 2605 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f8906ce66ef0cdb44c37c7c26b1208ab">assign</a> (const t *const data_buffer, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const bool shared)</td></tr> |
philpem@5 | 2606 | |
philpem@5 | 2607 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor, allowing to force the shared state of the instance image. <br></td></tr> |
philpem@5 | 2608 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="512dca5945c08a2daaed3d78ceee33a5"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="512dca5945c08a2daaed3d78ceee33a5" args="(const T *const data_buffer, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const bool shared)" --> |
philpem@5 | 2609 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>assign</b> (const T *const data_buffer, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const bool shared)</td></tr> |
philpem@5 | 2610 | |
philpem@5 | 2611 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 2612 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0fb4ca12616b7a1a05a9b3cc62878df4">assign</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2613 | |
philpem@5 | 2614 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the default copy constructor. <a href="#0fb4ca12616b7a1a05a9b3cc62878df4"></a><br></td></tr> |
philpem@5 | 2615 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 2616 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#934bab7595fd98de5131d5d2394e4a81">assign</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img, const bool shared)</td></tr> |
philpem@5 | 2617 | |
philpem@5 | 2618 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the advanced constructor. <a href="#934bab7595fd98de5131d5d2394e4a81"></a><br></td></tr> |
philpem@5 | 2619 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a5a08c14d01a530e5bc9549db77144f7"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="a5a08c14d01a530e5bc9549db77144f7" args="(const CImg< t > &img, const char *const dimensions)" --> |
philpem@5 | 2620 | template<typename t > </td></tr> |
philpem@5 | 2621 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a5a08c14d01a530e5bc9549db77144f7">assign</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img, const char *const dimensions)</td></tr> |
philpem@5 | 2622 | |
philpem@5 | 2623 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr> |
philpem@5 | 2624 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="42e17fa9823170992210022cc0646684"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="42e17fa9823170992210022cc0646684" args="(const CImg< t > &img, const char *const dimensions, const T val)" --> |
philpem@5 | 2625 | template<typename t > </td></tr> |
philpem@5 | 2626 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#42e17fa9823170992210022cc0646684">assign</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img, const char *const dimensions, const T val)</td></tr> |
philpem@5 | 2627 | |
philpem@5 | 2628 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr> |
philpem@5 | 2629 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#78c78d152f5012d2e8fdcc35235c62a4">assign</a> (const char *const filename)</td></tr> |
philpem@5 | 2630 | |
philpem@5 | 2631 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <a href="#78c78d152f5012d2e8fdcc35235c62a4"></a><br></td></tr> |
philpem@5 | 2632 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48123f96bfb3eff6ba15dc4b40a8f81a"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="48123f96bfb3eff6ba15dc4b40a8f81a" args="(const CImgDisplay &disp)" --> |
philpem@5 | 2633 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#48123f96bfb3eff6ba15dc4b40a8f81a">assign</a> (const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp)</td></tr> |
philpem@5 | 2634 | |
philpem@5 | 2635 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place version of the previous constructor. <br></td></tr> |
philpem@5 | 2636 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 2637 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b3b0efc40be1da20da1fbddfad758568">transfer_to</a> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2638 | |
philpem@5 | 2639 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Transfer the content of the instance image into another one in a way that memory copies are avoided if possible. <a href="#b3b0efc40be1da20da1fbddfad758568"></a><br></td></tr> |
philpem@5 | 2640 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f58d866e0fde4d02e8bdf9c5de801582"></a><!-- doxytag: member="cimg_library::CImg::transfer_to" ref="f58d866e0fde4d02e8bdf9c5de801582" args="(CImg< T > &img)" --> |
philpem@5 | 2641 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>transfer_to</b> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &img)</td></tr> |
philpem@5 | 2642 | |
philpem@5 | 2643 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4e00c35b15007593513f64c7ee7fb7f7"></a><!-- doxytag: member="cimg_library::CImg::swap" ref="4e00c35b15007593513f64c7ee7fb7f7" args="(CImg< T > &img)" --> |
philpem@5 | 2644 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4e00c35b15007593513f64c7ee7fb7f7">swap</a> (<a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &img)</td></tr> |
philpem@5 | 2645 | |
philpem@5 | 2646 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Swap all fields of two images. Use with care ! <br></td></tr> |
philpem@5 | 2647 | <tr><td colspan="2"><div class="groupHeader">Arithmetic and Boolean Operators</div></td></tr> |
philpem@5 | 2648 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 2649 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b8993b2170b87343f86f3e07fe0b7348">operator=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2650 | |
philpem@5 | 2651 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#b8993b2170b87343f86f3e07fe0b7348"></a><br></td></tr> |
philpem@5 | 2652 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0b4012f3f99e34ac922a481d13e182f"></a><!-- doxytag: member="cimg_library::CImg::operator=" ref="a0b4012f3f99e34ac922a481d13e182f" args="(const CImg< T > &img)" --> |
philpem@5 | 2653 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &img)</td></tr> |
philpem@5 | 2654 | |
philpem@5 | 2655 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#372633e285ab4266465e4101e72e74aa">operator=</a> (const T *buf)</td></tr> |
philpem@5 | 2656 | |
philpem@5 | 2657 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign values of a C-array to the instance image. <a href="#372633e285ab4266465e4101e72e74aa"></a><br></td></tr> |
philpem@5 | 2658 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ab78af35f2f570dafec8e449652e539"></a><!-- doxytag: member="cimg_library::CImg::operator=" ref="4ab78af35f2f570dafec8e449652e539" args="(const T val)" --> |
philpem@5 | 2659 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4ab78af35f2f570dafec8e449652e539">operator=</a> (const T val)</td></tr> |
philpem@5 | 2660 | |
philpem@5 | 2661 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign a value to each image pixel of the instance image. <br></td></tr> |
philpem@5 | 2662 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#637e0346bd7e4426d32e32aab42bd3f6">operator+</a> () const </td></tr> |
philpem@5 | 2663 | |
philpem@5 | 2664 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator+. <a href="#637e0346bd7e4426d32e32aab42bd3f6"></a><br></td></tr> |
philpem@5 | 2665 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f953b216980f8519642514380f3bfdba"></a><!-- doxytag: member="cimg_library::CImg::operator+=" ref="f953b216980f8519642514380f3bfdba" args="(const t val)" --> |
philpem@5 | 2666 | template<typename t > </td></tr> |
philpem@5 | 2667 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f953b216980f8519642514380f3bfdba">operator+=</a> (const t val)</td></tr> |
philpem@5 | 2668 | |
philpem@5 | 2669 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator+=;. <br></td></tr> |
philpem@5 | 2670 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8ad4dd16205403c4bde19d8982dba57e"></a><!-- doxytag: member="cimg_library::CImg::operator+=" ref="8ad4dd16205403c4bde19d8982dba57e" args="(const CImg< t > &img)" --> |
philpem@5 | 2671 | template<typename t > </td></tr> |
philpem@5 | 2672 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8ad4dd16205403c4bde19d8982dba57e">operator+=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2673 | |
philpem@5 | 2674 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator+=. <br></td></tr> |
philpem@5 | 2675 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed696f4e890e8da6f6ebaa3171aa2dd7"></a><!-- doxytag: member="cimg_library::CImg::operator++" ref="ed696f4e890e8da6f6ebaa3171aa2dd7" args="()" --> |
philpem@5 | 2676 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ed696f4e890e8da6f6ebaa3171aa2dd7">operator++</a> ()</td></tr> |
philpem@5 | 2677 | |
philpem@5 | 2678 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator++ (prefix). <br></td></tr> |
philpem@5 | 2679 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="694b492d0726df1797d5d6e4da74dfb4"></a><!-- doxytag: member="cimg_library::CImg::operator++" ref="694b492d0726df1797d5d6e4da74dfb4" args="(int)" --> |
philpem@5 | 2680 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#694b492d0726df1797d5d6e4da74dfb4">operator++</a> (int)</td></tr> |
philpem@5 | 2681 | |
philpem@5 | 2682 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator++ (postfix). <br></td></tr> |
philpem@5 | 2683 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8c181b212c22dbee4ee228cac4c00d4"></a><!-- doxytag: member="cimg_library::CImg::operator-" ref="e8c181b212c22dbee4ee228cac4c00d4" args="() const " --> |
philpem@5 | 2684 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e8c181b212c22dbee4ee228cac4c00d4">operator-</a> () const </td></tr> |
philpem@5 | 2685 | |
philpem@5 | 2686 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator-. <br></td></tr> |
philpem@5 | 2687 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f18d9bcb5010cdea4c3f6496dd36ccb4"></a><!-- doxytag: member="cimg_library::CImg::operator-=" ref="f18d9bcb5010cdea4c3f6496dd36ccb4" args="(const t val)" --> |
philpem@5 | 2688 | template<typename t > </td></tr> |
philpem@5 | 2689 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f18d9bcb5010cdea4c3f6496dd36ccb4">operator-=</a> (const t val)</td></tr> |
philpem@5 | 2690 | |
philpem@5 | 2691 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator-=. <br></td></tr> |
philpem@5 | 2692 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ff89b226a15e536f2d23b590ed9ba4de"></a><!-- doxytag: member="cimg_library::CImg::operator-=" ref="ff89b226a15e536f2d23b590ed9ba4de" args="(const CImg< t > &img)" --> |
philpem@5 | 2693 | template<typename t > </td></tr> |
philpem@5 | 2694 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ff89b226a15e536f2d23b590ed9ba4de">operator-=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2695 | |
philpem@5 | 2696 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator-=. <br></td></tr> |
philpem@5 | 2697 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8d71ada97bd3d54d3f4265f0059273cf"></a><!-- doxytag: member="cimg_library::CImg::operator--" ref="8d71ada97bd3d54d3f4265f0059273cf" args="()" --> |
philpem@5 | 2698 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8d71ada97bd3d54d3f4265f0059273cf">operator--</a> ()</td></tr> |
philpem@5 | 2699 | |
philpem@5 | 2700 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator-- (prefix). <br></td></tr> |
philpem@5 | 2701 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0aa6fe646ae580b616d26b154205f84"></a><!-- doxytag: member="cimg_library::CImg::operator--" ref="d0aa6fe646ae580b616d26b154205f84" args="(int)" --> |
philpem@5 | 2702 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d0aa6fe646ae580b616d26b154205f84">operator--</a> (int)</td></tr> |
philpem@5 | 2703 | |
philpem@5 | 2704 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator-- (postfix). <br></td></tr> |
philpem@5 | 2705 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="df7285a98afaa0cbfeff5b35ef939111"></a><!-- doxytag: member="cimg_library::CImg::operator*=" ref="df7285a98afaa0cbfeff5b35ef939111" args="(const t val)" --> |
philpem@5 | 2706 | template<typename t > </td></tr> |
philpem@5 | 2707 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#df7285a98afaa0cbfeff5b35ef939111">operator*=</a> (const t val)</td></tr> |
philpem@5 | 2708 | |
philpem@5 | 2709 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator*=. <br></td></tr> |
philpem@5 | 2710 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="770aafd607168611eace12d46d5f2bfd"></a><!-- doxytag: member="cimg_library::CImg::operator*=" ref="770aafd607168611eace12d46d5f2bfd" args="(const CImg< t > &img)" --> |
philpem@5 | 2711 | template<typename t > </td></tr> |
philpem@5 | 2712 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#770aafd607168611eace12d46d5f2bfd">operator*=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2713 | |
philpem@5 | 2714 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator*=. <br></td></tr> |
philpem@5 | 2715 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9a6123b197ed6406eda560863bbe4cc1"></a><!-- doxytag: member="cimg_library::CImg::operator/=" ref="9a6123b197ed6406eda560863bbe4cc1" args="(const t val)" --> |
philpem@5 | 2716 | template<typename t > </td></tr> |
philpem@5 | 2717 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9a6123b197ed6406eda560863bbe4cc1">operator/=</a> (const t val)</td></tr> |
philpem@5 | 2718 | |
philpem@5 | 2719 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator/=. <br></td></tr> |
philpem@5 | 2720 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="961e682342f88bf0a0cfbd497bf548d4"></a><!-- doxytag: member="cimg_library::CImg::operator/=" ref="961e682342f88bf0a0cfbd497bf548d4" args="(const CImg< t > &img)" --> |
philpem@5 | 2721 | template<typename t > </td></tr> |
philpem@5 | 2722 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#961e682342f88bf0a0cfbd497bf548d4">operator/=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2723 | |
philpem@5 | 2724 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operator/=. <br></td></tr> |
philpem@5 | 2725 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="248f258fd888937bd3ff1bfd6262cf86"></a><!-- doxytag: member="cimg_library::CImg::operator%" ref="248f258fd888937bd3ff1bfd6262cf86" args="(const CImg< t > &img) const " --> |
philpem@5 | 2726 | template<typename t > </td></tr> |
philpem@5 | 2727 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2728 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#248f258fd888937bd3ff1bfd6262cf86">operator%</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2729 | |
philpem@5 | 2730 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Modulo. <br></td></tr> |
philpem@5 | 2731 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3112ecd7208e5689a264d8178d1a56c4"></a><!-- doxytag: member="cimg_library::CImg::operator%" ref="3112ecd7208e5689a264d8178d1a56c4" args="(const T val) const " --> |
philpem@5 | 2732 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3112ecd7208e5689a264d8178d1a56c4">operator%</a> (const T val) const </td></tr> |
philpem@5 | 2733 | |
philpem@5 | 2734 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Modulo. <br></td></tr> |
philpem@5 | 2735 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc3ca29103dd08337dd5b314fc739e8f"></a><!-- doxytag: member="cimg_library::CImg::operator%=" ref="dc3ca29103dd08337dd5b314fc739e8f" args="(const T val)" --> |
philpem@5 | 2736 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dc3ca29103dd08337dd5b314fc739e8f">operator%=</a> (const T val)</td></tr> |
philpem@5 | 2737 | |
philpem@5 | 2738 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place modulo. <br></td></tr> |
philpem@5 | 2739 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b3adc19f97c3db91bb48c0f9c284c250"></a><!-- doxytag: member="cimg_library::CImg::operator%=" ref="b3adc19f97c3db91bb48c0f9c284c250" args="(const CImg< t > &img)" --> |
philpem@5 | 2740 | template<typename t > </td></tr> |
philpem@5 | 2741 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b3adc19f97c3db91bb48c0f9c284c250">operator%=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2742 | |
philpem@5 | 2743 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place modulo. <br></td></tr> |
philpem@5 | 2744 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="63777d8b423f5bf16a60be4466ec70d4"></a><!-- doxytag: member="cimg_library::CImg::operator&" ref="63777d8b423f5bf16a60be4466ec70d4" args="(const CImg< t > &img) const " --> |
philpem@5 | 2745 | template<typename t > </td></tr> |
philpem@5 | 2746 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2747 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#63777d8b423f5bf16a60be4466ec70d4">operator&</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2748 | |
philpem@5 | 2749 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise AND. <br></td></tr> |
philpem@5 | 2750 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5d1491a7cb2e98e810bf0edaa471f883"></a><!-- doxytag: member="cimg_library::CImg::operator&" ref="5d1491a7cb2e98e810bf0edaa471f883" args="(const T val) const " --> |
philpem@5 | 2751 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5d1491a7cb2e98e810bf0edaa471f883">operator&</a> (const T val) const </td></tr> |
philpem@5 | 2752 | |
philpem@5 | 2753 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise AND. <br></td></tr> |
philpem@5 | 2754 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="788c26161bb12c4fed30b2a8edf05126"></a><!-- doxytag: member="cimg_library::CImg::operator&=" ref="788c26161bb12c4fed30b2a8edf05126" args="(const CImg< t > &img)" --> |
philpem@5 | 2755 | template<typename t > </td></tr> |
philpem@5 | 2756 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#788c26161bb12c4fed30b2a8edf05126">operator&=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2757 | |
philpem@5 | 2758 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place bitwise AND. <br></td></tr> |
philpem@5 | 2759 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="99982b0c06528a9d8472c88a05bb0336"></a><!-- doxytag: member="cimg_library::CImg::operator&=" ref="99982b0c06528a9d8472c88a05bb0336" args="(const T val)" --> |
philpem@5 | 2760 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#99982b0c06528a9d8472c88a05bb0336">operator&=</a> (const T val)</td></tr> |
philpem@5 | 2761 | |
philpem@5 | 2762 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place bitwise AND. <br></td></tr> |
philpem@5 | 2763 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d83a9f46be07bf5a9b24a6b1253c4ed1"></a><!-- doxytag: member="cimg_library::CImg::operator|" ref="d83a9f46be07bf5a9b24a6b1253c4ed1" args="(const CImg< t > &img) const " --> |
philpem@5 | 2764 | template<typename t > </td></tr> |
philpem@5 | 2765 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2766 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d83a9f46be07bf5a9b24a6b1253c4ed1">operator|</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2767 | |
philpem@5 | 2768 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise OR. <br></td></tr> |
philpem@5 | 2769 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8a9d727ce82153f4df2fe8e1292bad0"></a><!-- doxytag: member="cimg_library::CImg::operator|" ref="a8a9d727ce82153f4df2fe8e1292bad0" args="(const T val) const " --> |
philpem@5 | 2770 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a8a9d727ce82153f4df2fe8e1292bad0">operator|</a> (const T val) const </td></tr> |
philpem@5 | 2771 | |
philpem@5 | 2772 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise OR. <br></td></tr> |
philpem@5 | 2773 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6306b063ce03ecf392a03cac541375af"></a><!-- doxytag: member="cimg_library::CImg::operator|=" ref="6306b063ce03ecf392a03cac541375af" args="(const CImg< t > &img)" --> |
philpem@5 | 2774 | template<typename t > </td></tr> |
philpem@5 | 2775 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6306b063ce03ecf392a03cac541375af">operator|=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2776 | |
philpem@5 | 2777 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place bitwise OR. <br></td></tr> |
philpem@5 | 2778 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="baa1bd39411a23a524c6baf0c55745d3"></a><!-- doxytag: member="cimg_library::CImg::operator|=" ref="baa1bd39411a23a524c6baf0c55745d3" args="(const T val)" --> |
philpem@5 | 2779 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#baa1bd39411a23a524c6baf0c55745d3">operator|=</a> (const T val)</td></tr> |
philpem@5 | 2780 | |
philpem@5 | 2781 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place bitwise OR. <br></td></tr> |
philpem@5 | 2782 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8d14021427e1899d7422a839972154c3"></a><!-- doxytag: member="cimg_library::CImg::operator^" ref="8d14021427e1899d7422a839972154c3" args="(const CImg< t > &img) const " --> |
philpem@5 | 2783 | template<typename t > </td></tr> |
philpem@5 | 2784 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2785 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8d14021427e1899d7422a839972154c3">operator^</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2786 | |
philpem@5 | 2787 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise XOR. <br></td></tr> |
philpem@5 | 2788 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d39b04a4a00a4c4a058872a235380"></a><!-- doxytag: member="cimg_library::CImg::operator^" ref="ff2d39b04a4a00a4c4a058872a235380" args="(const T val) const " --> |
philpem@5 | 2789 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ff2d39b04a4a00a4c4a058872a235380">operator^</a> (const T val) const </td></tr> |
philpem@5 | 2790 | |
philpem@5 | 2791 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise XOR. <br></td></tr> |
philpem@5 | 2792 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c51bdadcbdffee3dfda3914ec6dfdbfd"></a><!-- doxytag: member="cimg_library::CImg::operator^=" ref="c51bdadcbdffee3dfda3914ec6dfdbfd" args="(const CImg< t > &img)" --> |
philpem@5 | 2793 | template<typename t > </td></tr> |
philpem@5 | 2794 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c51bdadcbdffee3dfda3914ec6dfdbfd">operator^=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2795 | |
philpem@5 | 2796 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place bitwise XOR. <br></td></tr> |
philpem@5 | 2797 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d9cc07bba21ba1df87cee6208e83e95"></a><!-- doxytag: member="cimg_library::CImg::operator^=" ref="9d9cc07bba21ba1df87cee6208e83e95" args="(const T val)" --> |
philpem@5 | 2798 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9d9cc07bba21ba1df87cee6208e83e95">operator^=</a> (const T val)</td></tr> |
philpem@5 | 2799 | |
philpem@5 | 2800 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place bitwise XOR. <br></td></tr> |
philpem@5 | 2801 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0752b44324e973aed012d79bc9a2d3fd"></a><!-- doxytag: member="cimg_library::CImg::operator~" ref="0752b44324e973aed012d79bc9a2d3fd" args="() const " --> |
philpem@5 | 2802 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0752b44324e973aed012d79bc9a2d3fd">operator~</a> () const </td></tr> |
philpem@5 | 2803 | |
philpem@5 | 2804 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise NOT. <br></td></tr> |
philpem@5 | 2805 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02dd49d59f77aa41446ce028f9771151"></a><!-- doxytag: member="cimg_library::CImg::operator<<=" ref="02dd49d59f77aa41446ce028f9771151" args="(const int n)" --> |
philpem@5 | 2806 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#02dd49d59f77aa41446ce028f9771151">operator<<=</a> (const int n)</td></tr> |
philpem@5 | 2807 | |
philpem@5 | 2808 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise left shift. <br></td></tr> |
philpem@5 | 2809 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86bcd22cc3a9c6dcec264766e66f849f"></a><!-- doxytag: member="cimg_library::CImg::operator<<" ref="86bcd22cc3a9c6dcec264766e66f849f" args="(const int n) const " --> |
philpem@5 | 2810 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#86bcd22cc3a9c6dcec264766e66f849f">operator<<</a> (const int n) const </td></tr> |
philpem@5 | 2811 | |
philpem@5 | 2812 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise left shift. <br></td></tr> |
philpem@5 | 2813 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ecc6f016d1358b12e010dbe75e4d576"></a><!-- doxytag: member="cimg_library::CImg::operator>>=" ref="2ecc6f016d1358b12e010dbe75e4d576" args="(const int n)" --> |
philpem@5 | 2814 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2ecc6f016d1358b12e010dbe75e4d576">operator>>=</a> (const int n)</td></tr> |
philpem@5 | 2815 | |
philpem@5 | 2816 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise right shift. <br></td></tr> |
philpem@5 | 2817 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="622413644789d18b3cfff7ff309c95fd"></a><!-- doxytag: member="cimg_library::CImg::operator>>" ref="622413644789d18b3cfff7ff309c95fd" args="(const int n) const " --> |
philpem@5 | 2818 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#622413644789d18b3cfff7ff309c95fd">operator>></a> (const int n) const </td></tr> |
philpem@5 | 2819 | |
philpem@5 | 2820 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bitwise right shift. <br></td></tr> |
philpem@5 | 2821 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0ad220d8708e61416b9b9255aa612740"></a><!-- doxytag: member="cimg_library::CImg::operator==" ref="0ad220d8708e61416b9b9255aa612740" args="(const CImg< t > &img) const " --> |
philpem@5 | 2822 | template<typename t > </td></tr> |
philpem@5 | 2823 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0ad220d8708e61416b9b9255aa612740">operator==</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2824 | |
philpem@5 | 2825 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Boolean equality. <br></td></tr> |
philpem@5 | 2826 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="826e9d8fbbc121776b306f8c2ad13e22"></a><!-- doxytag: member="cimg_library::CImg::operator!=" ref="826e9d8fbbc121776b306f8c2ad13e22" args="(const CImg< t > &img) const " --> |
philpem@5 | 2827 | template<typename t > </td></tr> |
philpem@5 | 2828 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#826e9d8fbbc121776b306f8c2ad13e22">operator!=</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2829 | |
philpem@5 | 2830 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Boolean difference. <br></td></tr> |
philpem@5 | 2831 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9ae2c81016de21b85487cb678a43afb8"></a><!-- doxytag: member="cimg_library::CImg::operator<<" ref="9ae2c81016de21b85487cb678a43afb8" args="(const CImg< t > &img) const " --> |
philpem@5 | 2832 | template<typename t > </td></tr> |
philpem@5 | 2833 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< typename <br class="typebreak"> |
philpem@5 | 2834 | cimg::superset< T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9ae2c81016de21b85487cb678a43afb8">operator<<</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2835 | |
philpem@5 | 2836 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a list of two images { *this, img }. <br></td></tr> |
philpem@5 | 2837 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="52e8e42e7d7f88266dc5cc3e8e98922f"></a><!-- doxytag: member="cimg_library::CImg::operator<<" ref="52e8e42e7d7f88266dc5cc3e8e98922f" args="(const CImgList< t > &list) const " --> |
philpem@5 | 2838 | template<typename t > </td></tr> |
philpem@5 | 2839 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< typename <br class="typebreak"> |
philpem@5 | 2840 | cimg::superset< T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#52e8e42e7d7f88266dc5cc3e8e98922f">operator<<</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &list) const </td></tr> |
philpem@5 | 2841 | |
philpem@5 | 2842 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a copy of <code>list</code>, where image *this has been inserted at first position. <br></td></tr> |
philpem@5 | 2843 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5fd695f21801e47ea5b859b881c2937a"></a><!-- doxytag: member="cimg_library::CImg::operator>>" ref="5fd695f21801e47ea5b859b881c2937a" args="(const CImg< t > &img) const " --> |
philpem@5 | 2844 | template<typename t > </td></tr> |
philpem@5 | 2845 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< typename <br class="typebreak"> |
philpem@5 | 2846 | cimg::superset< T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5fd695f21801e47ea5b859b881c2937a">operator>></a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2847 | |
philpem@5 | 2848 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a list of two images { *this, img }. <br></td></tr> |
philpem@5 | 2849 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e19055c7e5c2e3b8999bab17d2bbfba1"></a><!-- doxytag: member="cimg_library::CImg::operator>>" ref="e19055c7e5c2e3b8999bab17d2bbfba1" args="(const CImgList< t > &list) const " --> |
philpem@5 | 2850 | template<typename t > </td></tr> |
philpem@5 | 2851 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e19055c7e5c2e3b8999bab17d2bbfba1">operator>></a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &list) const </td></tr> |
philpem@5 | 2852 | |
philpem@5 | 2853 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert an image into the begining of an image list. <br></td></tr> |
philpem@5 | 2854 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c303f7b3fa995df885954b37b4f09775"></a><!-- doxytag: member="cimg_library::CImg::operator>>" ref="c303f7b3fa995df885954b37b4f09775" args="(CImgDisplay &disp) const " --> |
philpem@5 | 2855 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c303f7b3fa995df885954b37b4f09775">operator>></a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp) const </td></tr> |
philpem@5 | 2856 | |
philpem@5 | 2857 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Display an image into a <a class="el" href="structcimg__library_1_1CImgDisplay.html" title="This class represents a window which can display CImg images and handles mouse and...">CImgDisplay</a>. <br></td></tr> |
philpem@5 | 2858 | <tr><td colspan="2"><div class="groupHeader">Usual Mathematics Functions</div></td></tr> |
philpem@5 | 2859 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ecd1394048b7fef2eb30ea3985600614"></a><!-- doxytag: member="cimg_library::CImg::apply" ref="ecd1394048b7fef2eb30ea3985600614" args="(t &func)" --> |
philpem@5 | 2860 | template<typename t > </td></tr> |
philpem@5 | 2861 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ecd1394048b7fef2eb30ea3985600614">apply</a> (t &func)</td></tr> |
philpem@5 | 2862 | |
philpem@5 | 2863 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Apply a R->R function on all pixel values. <br></td></tr> |
philpem@5 | 2864 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="49e5dea6567fc954c5a0630afd36fe57"></a><!-- doxytag: member="cimg_library::CImg::get_apply" ref="49e5dea6567fc954c5a0630afd36fe57" args="(t &func) const " --> |
philpem@5 | 2865 | template<typename t > </td></tr> |
philpem@5 | 2866 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_apply</b> (t &func) const </td></tr> |
philpem@5 | 2867 | |
philpem@5 | 2868 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c026a207188625e845af7abf60a31a7b"></a><!-- doxytag: member="cimg_library::CImg::mul" ref="c026a207188625e845af7abf60a31a7b" args="(const CImg< t > &img)" --> |
philpem@5 | 2869 | template<typename t > </td></tr> |
philpem@5 | 2870 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c026a207188625e845af7abf60a31a7b">mul</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2871 | |
philpem@5 | 2872 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointwise multiplication between two images. <br></td></tr> |
philpem@5 | 2873 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="fda2b06cf10e1bb91b8dfb3cb8b19cbf"></a><!-- doxytag: member="cimg_library::CImg::get_mul" ref="fda2b06cf10e1bb91b8dfb3cb8b19cbf" args="(const CImg< t > &img) const " --> |
philpem@5 | 2874 | template<typename t > </td></tr> |
philpem@5 | 2875 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2876 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_mul</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2877 | |
philpem@5 | 2878 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="df1a8f5e809741e70edd3b6a454c8689"></a><!-- doxytag: member="cimg_library::CImg::div" ref="df1a8f5e809741e70edd3b6a454c8689" args="(const CImg< t > &img)" --> |
philpem@5 | 2879 | template<typename t > </td></tr> |
philpem@5 | 2880 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#df1a8f5e809741e70edd3b6a454c8689">div</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2881 | |
philpem@5 | 2882 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointwise division between two images. <br></td></tr> |
philpem@5 | 2883 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bde0916b423d76a23e8490c0d2879bba"></a><!-- doxytag: member="cimg_library::CImg::get_div" ref="bde0916b423d76a23e8490c0d2879bba" args="(const CImg< t > &img) const " --> |
philpem@5 | 2884 | template<typename t > </td></tr> |
philpem@5 | 2885 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2886 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_div</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2887 | |
philpem@5 | 2888 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bbbf6afa836f43dd613d680e9920d858"></a><!-- doxytag: member="cimg_library::CImg::max" ref="bbbf6afa836f43dd613d680e9920d858" args="(const CImg< t > &img)" --> |
philpem@5 | 2889 | template<typename t > </td></tr> |
philpem@5 | 2890 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bbbf6afa836f43dd613d680e9920d858">max</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2891 | |
philpem@5 | 2892 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointwise max operator between two images. <br></td></tr> |
philpem@5 | 2893 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="22a3fc9212e53e12a7f7014f539ec039"></a><!-- doxytag: member="cimg_library::CImg::get_max" ref="22a3fc9212e53e12a7f7014f539ec039" args="(const CImg< t > &img) const " --> |
philpem@5 | 2894 | template<typename t > </td></tr> |
philpem@5 | 2895 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2896 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_max</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2897 | |
philpem@5 | 2898 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="88c9c06c49658060a2766f865e14c0eb"></a><!-- doxytag: member="cimg_library::CImg::max" ref="88c9c06c49658060a2766f865e14c0eb" args="(const T val)" --> |
philpem@5 | 2899 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#88c9c06c49658060a2766f865e14c0eb">max</a> (const T val)</td></tr> |
philpem@5 | 2900 | |
philpem@5 | 2901 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointwise max operator between an image and a value. <br></td></tr> |
philpem@5 | 2902 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8fdf90232d0442414467e5253c5cb663"></a><!-- doxytag: member="cimg_library::CImg::get_max" ref="8fdf90232d0442414467e5253c5cb663" args="(const T val) const " --> |
philpem@5 | 2903 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_max</b> (const T val) const </td></tr> |
philpem@5 | 2904 | |
philpem@5 | 2905 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="54fa8ab955fc28675dd0d0f4fbb9b7ad"></a><!-- doxytag: member="cimg_library::CImg::min" ref="54fa8ab955fc28675dd0d0f4fbb9b7ad" args="(const CImg< t > &img)" --> |
philpem@5 | 2906 | template<typename t > </td></tr> |
philpem@5 | 2907 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#54fa8ab955fc28675dd0d0f4fbb9b7ad">min</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2908 | |
philpem@5 | 2909 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointwise min operator between two images. <br></td></tr> |
philpem@5 | 2910 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="695c703c119c838716d7b10a4dc0d394"></a><!-- doxytag: member="cimg_library::CImg::get_min" ref="695c703c119c838716d7b10a4dc0d394" args="(const CImg< t > &img) const " --> |
philpem@5 | 2911 | template<typename t > </td></tr> |
philpem@5 | 2912 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 2913 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_min</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2914 | |
philpem@5 | 2915 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24f04a40c39adc99e49ca7c5d3f3d322"></a><!-- doxytag: member="cimg_library::CImg::min" ref="24f04a40c39adc99e49ca7c5d3f3d322" args="(const T val)" --> |
philpem@5 | 2916 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#24f04a40c39adc99e49ca7c5d3f3d322">min</a> (const T val)</td></tr> |
philpem@5 | 2917 | |
philpem@5 | 2918 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointwise min operator between an image and a value. <br></td></tr> |
philpem@5 | 2919 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73bba3d7f4cce95bdfe3988a53951444"></a><!-- doxytag: member="cimg_library::CImg::get_min" ref="73bba3d7f4cce95bdfe3988a53951444" args="(const T val) const " --> |
philpem@5 | 2920 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_min</b> (const T val) const </td></tr> |
philpem@5 | 2921 | |
philpem@5 | 2922 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="19ebb696e513b9246864e5b0cdd884f5"></a><!-- doxytag: member="cimg_library::CImg::sqr" ref="19ebb696e513b9246864e5b0cdd884f5" args="()" --> |
philpem@5 | 2923 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#19ebb696e513b9246864e5b0cdd884f5">sqr</a> ()</td></tr> |
philpem@5 | 2924 | |
philpem@5 | 2925 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the square value of each pixel. <br></td></tr> |
philpem@5 | 2926 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e89b55c8ad61aafa8e43dadbeccd1cea"></a><!-- doxytag: member="cimg_library::CImg::get_sqr" ref="e89b55c8ad61aafa8e43dadbeccd1cea" args="() const " --> |
philpem@5 | 2927 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_sqr</b> () const </td></tr> |
philpem@5 | 2928 | |
philpem@5 | 2929 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c11d16e75e931e9e28d44171e7038d3"></a><!-- doxytag: member="cimg_library::CImg::sqrt" ref="8c11d16e75e931e9e28d44171e7038d3" args="()" --> |
philpem@5 | 2930 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8c11d16e75e931e9e28d44171e7038d3">sqrt</a> ()</td></tr> |
philpem@5 | 2931 | |
philpem@5 | 2932 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the square root of each pixel value. <br></td></tr> |
philpem@5 | 2933 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd59f6d3b8557b7025bb778505d9028f"></a><!-- doxytag: member="cimg_library::CImg::get_sqrt" ref="dd59f6d3b8557b7025bb778505d9028f" args="() const " --> |
philpem@5 | 2934 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_sqrt</b> () const </td></tr> |
philpem@5 | 2935 | |
philpem@5 | 2936 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="63fc5244a596810f4bba36a46787c6f2"></a><!-- doxytag: member="cimg_library::CImg::exp" ref="63fc5244a596810f4bba36a46787c6f2" args="()" --> |
philpem@5 | 2937 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#63fc5244a596810f4bba36a46787c6f2">exp</a> ()</td></tr> |
philpem@5 | 2938 | |
philpem@5 | 2939 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the exponential of each pixel value. <br></td></tr> |
philpem@5 | 2940 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e129c419df5ecb2d37803c41e87b8b27"></a><!-- doxytag: member="cimg_library::CImg::get_exp" ref="e129c419df5ecb2d37803c41e87b8b27" args="() const " --> |
philpem@5 | 2941 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_exp</b> () const </td></tr> |
philpem@5 | 2942 | |
philpem@5 | 2943 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74c5faaf4a41aa0aa470a164897d6ec6"></a><!-- doxytag: member="cimg_library::CImg::log" ref="74c5faaf4a41aa0aa470a164897d6ec6" args="()" --> |
philpem@5 | 2944 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#74c5faaf4a41aa0aa470a164897d6ec6">log</a> ()</td></tr> |
philpem@5 | 2945 | |
philpem@5 | 2946 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the log of each each pixel value. <br></td></tr> |
philpem@5 | 2947 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d2943c90d7b5faaa71c758a0d153560"></a><!-- doxytag: member="cimg_library::CImg::get_log" ref="3d2943c90d7b5faaa71c758a0d153560" args="() const " --> |
philpem@5 | 2948 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_log</b> () const </td></tr> |
philpem@5 | 2949 | |
philpem@5 | 2950 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="199c3d150c895179a609ee3b172b332e"></a><!-- doxytag: member="cimg_library::CImg::log10" ref="199c3d150c895179a609ee3b172b332e" args="()" --> |
philpem@5 | 2951 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#199c3d150c895179a609ee3b172b332e">log10</a> ()</td></tr> |
philpem@5 | 2952 | |
philpem@5 | 2953 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the log10 of each each pixel value. <br></td></tr> |
philpem@5 | 2954 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ddd3de58ea5fc9185f216e6e8c59010"></a><!-- doxytag: member="cimg_library::CImg::get_log10" ref="3ddd3de58ea5fc9185f216e6e8c59010" args="() const " --> |
philpem@5 | 2955 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_log10</b> () const </td></tr> |
philpem@5 | 2956 | |
philpem@5 | 2957 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2f27aee992cf2189c56fdbaaf72ef76"></a><!-- doxytag: member="cimg_library::CImg::pow" ref="e2f27aee992cf2189c56fdbaaf72ef76" args="(const double p)" --> |
philpem@5 | 2958 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e2f27aee992cf2189c56fdbaaf72ef76">pow</a> (const double p)</td></tr> |
philpem@5 | 2959 | |
philpem@5 | 2960 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the power by p of each pixel value. <br></td></tr> |
philpem@5 | 2961 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd8d4f2be601a42c61217a6d0bf7576b"></a><!-- doxytag: member="cimg_library::CImg::get_pow" ref="dd8d4f2be601a42c61217a6d0bf7576b" args="(const double p) const " --> |
philpem@5 | 2962 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_pow</b> (const double p) const </td></tr> |
philpem@5 | 2963 | |
philpem@5 | 2964 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f80272ba663ef935914c34d24171abb8"></a><!-- doxytag: member="cimg_library::CImg::pow" ref="f80272ba663ef935914c34d24171abb8" args="(const CImg< t > &img)" --> |
philpem@5 | 2965 | template<typename t > </td></tr> |
philpem@5 | 2966 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f80272ba663ef935914c34d24171abb8">pow</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img)</td></tr> |
philpem@5 | 2967 | |
philpem@5 | 2968 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the power of each pixel value. <br></td></tr> |
philpem@5 | 2969 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6fd928c435c48e5d9ee019aa7e1ba37f"></a><!-- doxytag: member="cimg_library::CImg::get_pow" ref="6fd928c435c48e5d9ee019aa7e1ba37f" args="(const CImg< t > &img) const " --> |
philpem@5 | 2970 | template<typename t > </td></tr> |
philpem@5 | 2971 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memTemplItemRight" valign="bottom"><b>get_pow</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &img) const </td></tr> |
philpem@5 | 2972 | |
philpem@5 | 2973 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ae2e5f7990e1ec59876b1c1f8484ea0"></a><!-- doxytag: member="cimg_library::CImg::abs" ref="9ae2e5f7990e1ec59876b1c1f8484ea0" args="()" --> |
philpem@5 | 2974 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9ae2e5f7990e1ec59876b1c1f8484ea0">abs</a> ()</td></tr> |
philpem@5 | 2975 | |
philpem@5 | 2976 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the absolute value of each pixel value. <br></td></tr> |
philpem@5 | 2977 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="42309833a3b65cbef9bd1f7e97de4ab0"></a><!-- doxytag: member="cimg_library::CImg::get_abs" ref="42309833a3b65cbef9bd1f7e97de4ab0" args="() const " --> |
philpem@5 | 2978 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_abs</b> () const </td></tr> |
philpem@5 | 2979 | |
philpem@5 | 2980 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fd20e16deff4c21aab145b028de1e2ac"></a><!-- doxytag: member="cimg_library::CImg::cos" ref="fd20e16deff4c21aab145b028de1e2ac" args="()" --> |
philpem@5 | 2981 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fd20e16deff4c21aab145b028de1e2ac">cos</a> ()</td></tr> |
philpem@5 | 2982 | |
philpem@5 | 2983 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the cosinus of each pixel value. <br></td></tr> |
philpem@5 | 2984 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b42d865499ba41609ea43d53a062cd2f"></a><!-- doxytag: member="cimg_library::CImg::get_cos" ref="b42d865499ba41609ea43d53a062cd2f" args="() const " --> |
philpem@5 | 2985 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_cos</b> () const </td></tr> |
philpem@5 | 2986 | |
philpem@5 | 2987 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cc4f6c8febaeecd694d43645c527888c"></a><!-- doxytag: member="cimg_library::CImg::sin" ref="cc4f6c8febaeecd694d43645c527888c" args="()" --> |
philpem@5 | 2988 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cc4f6c8febaeecd694d43645c527888c">sin</a> ()</td></tr> |
philpem@5 | 2989 | |
philpem@5 | 2990 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the sinus of each pixel value. <br></td></tr> |
philpem@5 | 2991 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c5c1b92e02d4286b19fd6ea054ba0e8"></a><!-- doxytag: member="cimg_library::CImg::get_sin" ref="7c5c1b92e02d4286b19fd6ea054ba0e8" args="() const " --> |
philpem@5 | 2992 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_sin</b> () const </td></tr> |
philpem@5 | 2993 | |
philpem@5 | 2994 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8bd7410cfef580410cfb9d6702a56149"></a><!-- doxytag: member="cimg_library::CImg::tan" ref="8bd7410cfef580410cfb9d6702a56149" args="()" --> |
philpem@5 | 2995 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8bd7410cfef580410cfb9d6702a56149">tan</a> ()</td></tr> |
philpem@5 | 2996 | |
philpem@5 | 2997 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the tangent of each pixel. <br></td></tr> |
philpem@5 | 2998 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26a45d43dc184a55aaa3ee2978fc1f7f"></a><!-- doxytag: member="cimg_library::CImg::get_tan" ref="26a45d43dc184a55aaa3ee2978fc1f7f" args="() const " --> |
philpem@5 | 2999 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_tan</b> () const </td></tr> |
philpem@5 | 3000 | |
philpem@5 | 3001 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec748ded5bb19d52f564ef7a6ae2652d"></a><!-- doxytag: member="cimg_library::CImg::acos" ref="ec748ded5bb19d52f564ef7a6ae2652d" args="()" --> |
philpem@5 | 3002 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ec748ded5bb19d52f564ef7a6ae2652d">acos</a> ()</td></tr> |
philpem@5 | 3003 | |
philpem@5 | 3004 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the arc-cosine of each pixel value. <br></td></tr> |
philpem@5 | 3005 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80972e1b6fd55bf970cbb07d56c39335"></a><!-- doxytag: member="cimg_library::CImg::get_acos" ref="80972e1b6fd55bf970cbb07d56c39335" args="() const " --> |
philpem@5 | 3006 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_acos</b> () const </td></tr> |
philpem@5 | 3007 | |
philpem@5 | 3008 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c23ecd49999eedf62c9142fe1559bdd6"></a><!-- doxytag: member="cimg_library::CImg::asin" ref="c23ecd49999eedf62c9142fe1559bdd6" args="()" --> |
philpem@5 | 3009 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c23ecd49999eedf62c9142fe1559bdd6">asin</a> ()</td></tr> |
philpem@5 | 3010 | |
philpem@5 | 3011 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the arc-sinus of each pixel value. <br></td></tr> |
philpem@5 | 3012 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ff91920cd29bdfe6c8a04c9fb9a5f45"></a><!-- doxytag: member="cimg_library::CImg::get_asin" ref="4ff91920cd29bdfe6c8a04c9fb9a5f45" args="() const " --> |
philpem@5 | 3013 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_asin</b> () const </td></tr> |
philpem@5 | 3014 | |
philpem@5 | 3015 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1de850b33bf304ba192bd84b7197426d"></a><!-- doxytag: member="cimg_library::CImg::atan" ref="1de850b33bf304ba192bd84b7197426d" args="()" --> |
philpem@5 | 3016 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1de850b33bf304ba192bd84b7197426d">atan</a> ()</td></tr> |
philpem@5 | 3017 | |
philpem@5 | 3018 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the arc-tangent of each pixel. <br></td></tr> |
philpem@5 | 3019 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e34fafc7bd6868ac7dcfbe2d8e9bf3b4"></a><!-- doxytag: member="cimg_library::CImg::get_atan" ref="e34fafc7bd6868ac7dcfbe2d8e9bf3b4" args="() const " --> |
philpem@5 | 3020 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_atan</b> () const </td></tr> |
philpem@5 | 3021 | |
philpem@5 | 3022 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3619f9d2043ebaa67d21eb373ab4d22e">round</a> (const float x, const int rounding_type=0)</td></tr> |
philpem@5 | 3023 | |
philpem@5 | 3024 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute image with rounded pixel values. <a href="#3619f9d2043ebaa67d21eb373ab4d22e"></a><br></td></tr> |
philpem@5 | 3025 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cef0556272f540ce0dc656b34bad4826"></a><!-- doxytag: member="cimg_library::CImg::get_round" ref="cef0556272f540ce0dc656b34bad4826" args="(const float x, const unsigned int rounding_type=0) const " --> |
philpem@5 | 3026 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_round</b> (const float x, const unsigned int rounding_type=0) const </td></tr> |
philpem@5 | 3027 | |
philpem@5 | 3028 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc7e3023df86263a49a224317c819779"></a><!-- doxytag: member="cimg_library::CImg::rand" ref="bc7e3023df86263a49a224317c819779" args="(const T val_min, const T val_max)" --> |
philpem@5 | 3029 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bc7e3023df86263a49a224317c819779">rand</a> (const T val_min, const T val_max)</td></tr> |
philpem@5 | 3030 | |
philpem@5 | 3031 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Fill the instance image with random values between specified range. <br></td></tr> |
philpem@5 | 3032 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a495c3b165a377b91f0da3483d19177f"></a><!-- doxytag: member="cimg_library::CImg::get_rand" ref="a495c3b165a377b91f0da3483d19177f" args="(const T val_min, const T val_max) const " --> |
philpem@5 | 3033 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_rand</b> (const T val_min, const T val_max) const </td></tr> |
philpem@5 | 3034 | |
philpem@5 | 3035 | <tr><td colspan="2"><div class="groupHeader">Drawing</div></td></tr> |
philpem@5 | 3036 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e5549d31447aa0b42b8e3670e78d1536"></a><!-- doxytag: member="cimg_library::CImg::_draw_scanline" ref="e5549d31447aa0b42b8e3670e78d1536" args="(const int x0, const int x1, const int y, const tc *const color, const float opacity=1, const float brightness=1, const bool init=false)" --> |
philpem@5 | 3037 | template<typename tc > </td></tr> |
philpem@5 | 3038 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_scanline</b> (const int x0, const int x1, const int y, const tc *const color, const float opacity=1, const float brightness=1, const bool init=false)</td></tr> |
philpem@5 | 3039 | |
philpem@5 | 3040 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="cb061f55d4c6e79bc7cfad703575b2e0"></a><!-- doxytag: member="cimg_library::CImg::_draw_scanline" ref="cb061f55d4c6e79bc7cfad703575b2e0" args="(const tc *const color, const float opacity=1)" --> |
philpem@5 | 3041 | template<typename tc > </td></tr> |
philpem@5 | 3042 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_scanline</b> (const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3043 | |
philpem@5 | 3044 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3045 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#07751cdf418fc2120b971bc0f7e0da8c">draw_point</a> (const int x0, const int y0, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3046 | |
philpem@5 | 3047 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D colored point (pixel). <a href="#07751cdf418fc2120b971bc0f7e0da8c"></a><br></td></tr> |
philpem@5 | 3048 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bdc5b08ed8a3bec659e84d54fb041c78"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="bdc5b08ed8a3bec659e84d54fb041c78" args="(const int x0, const int y0, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3049 | template<typename tc > </td></tr> |
philpem@5 | 3050 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bdc5b08ed8a3bec659e84d54fb041c78">draw_point</a> (const int x0, const int y0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3051 | |
philpem@5 | 3052 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D colored point (pixel). <br></td></tr> |
philpem@5 | 3053 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a852838a5f54966b700093f45d60330f"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="a852838a5f54966b700093f45d60330f" args="(const int x0, const int y0, const int z0, const tc *const color, const float opacity=1)" --> |
philpem@5 | 3054 | template<typename tc > </td></tr> |
philpem@5 | 3055 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a852838a5f54966b700093f45d60330f">draw_point</a> (const int x0, const int y0, const int z0, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3056 | |
philpem@5 | 3057 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D colored point (voxel). <br></td></tr> |
philpem@5 | 3058 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f2aa779e22226993667e065c53783e97"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="f2aa779e22226993667e065c53783e97" args="(const int x0, const int y0, const int z0, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3059 | template<typename tc > </td></tr> |
philpem@5 | 3060 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f2aa779e22226993667e065c53783e97">draw_point</a> (const int x0, const int y0, const int z0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3061 | |
philpem@5 | 3062 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D colored point (voxel). <br></td></tr> |
philpem@5 | 3063 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3c09e57ecd0a7dab60f6e3cf2620930d"></a><!-- doxytag: member="cimg_library::CImg::_draw_point" ref="3c09e57ecd0a7dab60f6e3cf2620930d" args="(const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity)" --> |
philpem@5 | 3064 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3065 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_point</b> (const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity)</td></tr> |
philpem@5 | 3066 | |
philpem@5 | 3067 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3068 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d2f49716a6d07d5521f3c81bd411284c">draw_point</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3069 | |
philpem@5 | 3070 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cloud of colored points. <a href="#d2f49716a6d07d5521f3c81bd411284c"></a><br></td></tr> |
philpem@5 | 3071 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a4ed5eb040a7dec8932cef5e9d90579e"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="a4ed5eb040a7dec8932cef5e9d90579e" args="(const CImgList< t > &points, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3072 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3073 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a4ed5eb040a7dec8932cef5e9d90579e">draw_point</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3074 | |
philpem@5 | 3075 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cloud of colored points. <br></td></tr> |
philpem@5 | 3076 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3077 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#52c224fa79b1d5ab1c1e8d619c8944b3">draw_point</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3078 | |
philpem@5 | 3079 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cloud of colored points. <a href="#52c224fa79b1d5ab1c1e8d619c8944b3"></a><br></td></tr> |
philpem@5 | 3080 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="2c9edd992d1019c23cd9580040bf8a75"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="2c9edd992d1019c23cd9580040bf8a75" args="(const CImg< t > &points, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3081 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3082 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2c9edd992d1019c23cd9580040bf8a75">draw_point</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3083 | |
philpem@5 | 3084 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cloud of colored points. <br></td></tr> |
philpem@5 | 3085 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3086 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#88ccbeac12af8b83cd17f9b72bbfe73b">draw_line</a> (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3087 | |
philpem@5 | 3088 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D colored line. <a href="#88ccbeac12af8b83cd17f9b72bbfe73b"></a><br></td></tr> |
philpem@5 | 3089 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3dfef1459d307d841e1924af205d25fe"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="3dfef1459d307d841e1924af205d25fe" args="(const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3090 | template<typename tc > </td></tr> |
philpem@5 | 3091 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3dfef1459d307d841e1924af205d25fe">draw_line</a> (const int x0, const int y0, const int x1, const int y1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3092 | |
philpem@5 | 3093 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D colored line. <br></td></tr> |
philpem@5 | 3094 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="2674d799e0d1c36b3b39c5d20a128987"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="2674d799e0d1c36b3b39c5d20a128987" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3095 | template<typename tc > </td></tr> |
philpem@5 | 3096 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2674d799e0d1c36b3b39c5d20a128987">draw_line</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3097 | |
philpem@5 | 3098 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D colored line, with z-buffering. <br></td></tr> |
philpem@5 | 3099 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e344fb5fa8ae5589f48bf7eb189a2686"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="e344fb5fa8ae5589f48bf7eb189a2686" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3100 | template<typename tc > </td></tr> |
philpem@5 | 3101 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e344fb5fa8ae5589f48bf7eb189a2686">draw_line</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3102 | |
philpem@5 | 3103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D colored line, with z-buffering. <br></td></tr> |
philpem@5 | 3104 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="676f12df45eea349a5423abd587d2698"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="676f12df45eea349a5423abd587d2698" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3105 | template<typename tc > </td></tr> |
philpem@5 | 3106 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#676f12df45eea349a5423abd587d2698">draw_line</a> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3107 | |
philpem@5 | 3108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D colored line. <br></td></tr> |
philpem@5 | 3109 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0b7d2f14ccea6db91516a7f890f7ab8e"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="0b7d2f14ccea6db91516a7f890f7ab8e" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3110 | template<typename tc > </td></tr> |
philpem@5 | 3111 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0b7d2f14ccea6db91516a7f890f7ab8e">draw_line</a> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3112 | |
philpem@5 | 3113 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D colored line. <br></td></tr> |
philpem@5 | 3114 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3115 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b98fc42096d2a5a075be384b1f37094c">draw_line</a> (const int x0, const int y0, const int x1, const int y1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3116 | |
philpem@5 | 3117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D textured line. <a href="#b98fc42096d2a5a075be384b1f37094c"></a><br></td></tr> |
philpem@5 | 3118 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5d92088c6338270d5c9e4aadf02c0228"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="5d92088c6338270d5c9e4aadf02c0228" args="(const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3119 | template<typename tc > </td></tr> |
philpem@5 | 3120 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5d92088c6338270d5c9e4aadf02c0228">draw_line</a> (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3121 | |
philpem@5 | 3122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D textured line, with perspective correction. <br></td></tr> |
philpem@5 | 3123 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="75103a31192d751b311a6aa69e4a5fb9"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="75103a31192d751b311a6aa69e4a5fb9" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3124 | template<typename tc > </td></tr> |
philpem@5 | 3125 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#75103a31192d751b311a6aa69e4a5fb9">draw_line</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3126 | |
philpem@5 | 3127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D textured line, with z-buffering and perspective correction. <br></td></tr> |
philpem@5 | 3128 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a389af461060f4c5d31932a01cdda6b6"></a><!-- doxytag: member="cimg_library::CImg::_draw_line" ref="a389af461060f4c5d31932a01cdda6b6" args="(const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const unsigned int pattern, const bool init_hatch)" --> |
philpem@5 | 3129 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3130 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_line</b> (const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const unsigned int pattern, const bool init_hatch)</td></tr> |
philpem@5 | 3131 | |
philpem@5 | 3132 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3133 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#91e810ebf4b600b461bbfe42708f3cd6">draw_line</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3134 | |
philpem@5 | 3135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored lines in the instance image. <a href="#91e810ebf4b600b461bbfe42708f3cd6"></a><br></td></tr> |
philpem@5 | 3136 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="94d3acfe105994944faf1b8e7e7b34fa"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="94d3acfe105994944faf1b8e7e7b34fa" args="(const CImgList< t > &points, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3137 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3138 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#94d3acfe105994944faf1b8e7e7b34fa">draw_line</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3139 | |
philpem@5 | 3140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored lines in the instance image. <br></td></tr> |
philpem@5 | 3141 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3142 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f42f741d0f579a78f9f58d0d6499bc53">draw_line</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3143 | |
philpem@5 | 3144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored lines in the instance image. <a href="#f42f741d0f579a78f9f58d0d6499bc53"></a><br></td></tr> |
philpem@5 | 3145 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f1a1144e6b4553d410b1e61e6c746641"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="f1a1144e6b4553d410b1e61e6c746641" args="(const CImg< t > &points, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3146 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3147 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f1a1144e6b4553d410b1e61e6c746641">draw_line</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3148 | |
philpem@5 | 3149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored lines in the instance image. <br></td></tr> |
philpem@5 | 3150 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="32e77cb31570ac1f4f85af76d11835c4"></a><!-- doxytag: member="cimg_library::CImg::_draw_polygon" ref="32e77cb31570ac1f4f85af76d11835c4" args="(const t &points, const unsigned int N, const tc *const color, const float opacity)" --> |
philpem@5 | 3151 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3152 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_polygon</b> (const t &points, const unsigned int N, const tc *const color, const float opacity)</td></tr> |
philpem@5 | 3153 | |
philpem@5 | 3154 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="50811d8b24d4065b088a2629d535b44d"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="50811d8b24d4065b088a2629d535b44d" args="(const CImgList< t > &points, const tc *const color, const float opacity=1)" --> |
philpem@5 | 3155 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3156 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#50811d8b24d4065b088a2629d535b44d">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3157 | |
philpem@5 | 3158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled polygon in the instance image. <br></td></tr> |
philpem@5 | 3159 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="923b11ba707a754f07c5f12d41d24f31"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="923b11ba707a754f07c5f12d41d24f31" args="(const CImgList< t > &points, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3160 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3161 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#923b11ba707a754f07c5f12d41d24f31">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3162 | |
philpem@5 | 3163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled polygon in the instance image. <br></td></tr> |
philpem@5 | 3164 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6e7c38c9a71a887da0bc3e4f0c4fdd40"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="6e7c38c9a71a887da0bc3e4f0c4fdd40" args="(const CImg< t > &points, const tc *const color, const float opacity=1)" --> |
philpem@5 | 3165 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3166 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6e7c38c9a71a887da0bc3e4f0c4fdd40">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3167 | |
philpem@5 | 3168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled polygon in the instance image. <br></td></tr> |
philpem@5 | 3169 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8353827651e7356f9ed0bbd4f182573d"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="8353827651e7356f9ed0bbd4f182573d" args="(const CImg< t > &points, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3170 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3171 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8353827651e7356f9ed0bbd4f182573d">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3172 | |
philpem@5 | 3173 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled polygon in the instance image. <br></td></tr> |
philpem@5 | 3174 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1f30364d23132ae25f83921c5de9c0e9"></a><!-- doxytag: member="cimg_library::CImg::_draw_polygon" ref="1f30364d23132ae25f83921c5de9c0e9" args="(const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3175 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3176 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_polygon</b> (const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3177 | |
philpem@5 | 3178 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c2d302275fb03846256a2fbcd162c9be"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="c2d302275fb03846256a2fbcd162c9be" args="(const CImgList< t > &points, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3179 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3180 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c2d302275fb03846256a2fbcd162c9be">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3181 | |
philpem@5 | 3182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a polygon outline. <br></td></tr> |
philpem@5 | 3183 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0256c61a5637568f562e2eb92bff420a"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="0256c61a5637568f562e2eb92bff420a" args="(const CImgList< t > &points, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3184 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3185 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0256c61a5637568f562e2eb92bff420a">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3186 | |
philpem@5 | 3187 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a polygon outline. <br></td></tr> |
philpem@5 | 3188 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4800e4fe339084fe88380a0aa86e3339"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="4800e4fe339084fe88380a0aa86e3339" args="(const CImg< t > &points, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3189 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3190 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4800e4fe339084fe88380a0aa86e3339">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3191 | |
philpem@5 | 3192 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a polygon outline. <br></td></tr> |
philpem@5 | 3193 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="2f854f8ac771ed738b3211f169b71a52"></a><!-- doxytag: member="cimg_library::CImg::draw_polygon" ref="2f854f8ac771ed738b3211f169b71a52" args="(const CImg< t > &points, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3194 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3195 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2f854f8ac771ed738b3211f169b71a52">draw_polygon</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3196 | |
philpem@5 | 3197 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a polygon outline. <br></td></tr> |
philpem@5 | 3198 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3199 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1633f28b9b0646cff390b0e060cce47b">draw_spline</a> (const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const tc *const color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3200 | |
philpem@5 | 3201 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cubic spline curve in the instance image. <a href="#1633f28b9b0646cff390b0e060cce47b"></a><br></td></tr> |
philpem@5 | 3202 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="902e2ced32ddbe6918ec94962419dbe2"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="902e2ced32ddbe6918ec94962419dbe2" args="(const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const CImg< tc > &color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3203 | template<typename tc > </td></tr> |
philpem@5 | 3204 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#902e2ced32ddbe6918ec94962419dbe2">draw_spline</a> (const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3205 | |
philpem@5 | 3206 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cubic spline curve in the instance image. <br></td></tr> |
philpem@5 | 3207 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3208 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#111ec303273ffc87a1be739275957c92">draw_spline</a> (const int x0, const int y0, const int z0, const float u0, const float v0, const float w0, const int x1, const int y1, const int z1, const float u1, const float v1, const float w1, const tc *const color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3209 | |
philpem@5 | 3210 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cubic spline curve in the instance image (for volumetric images). <a href="#111ec303273ffc87a1be739275957c92"></a><br></td></tr> |
philpem@5 | 3211 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6dca7e2c634a87f9abe89b354ed1dc0c"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="6dca7e2c634a87f9abe89b354ed1dc0c" args="(const int x0, const int y0, const int z0, const float u0, const float v0, const float w0, const int x1, const int y1, const int z1, const float u1, const float v1, const float w1, const CImg< tc > &color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3212 | template<typename tc > </td></tr> |
philpem@5 | 3213 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6dca7e2c634a87f9abe89b354ed1dc0c">draw_spline</a> (const int x0, const int y0, const int z0, const float u0, const float v0, const float w0, const int x1, const int y1, const int z1, const float u1, const float v1, const float w1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3214 | |
philpem@5 | 3215 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cubic spline curve in the instance image (for volumetric images). <br></td></tr> |
philpem@5 | 3216 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 3217 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9a80dade828f83f301f1470a6d0d474d">draw_spline</a> (const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3218 | |
philpem@5 | 3219 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a cubic spline curve in the instance image. <a href="#9a80dade828f83f301f1470a6d0d474d"></a><br></td></tr> |
philpem@5 | 3220 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d58605399accf4014e3682201e1d3dc5"></a><!-- doxytag: member="cimg_library::CImg::_draw_spline" ref="d58605399accf4014e3682201e1d3dc5" args="(const tp &points, const tt &tangents, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const bool close_set, const float precision, const unsigned int pattern, const bool init_hatch)" --> |
philpem@5 | 3221 | template<typename tp , typename tt , typename tc > </td></tr> |
philpem@5 | 3222 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_spline</b> (const tp &points, const tt &tangents, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const bool close_set, const float precision, const unsigned int pattern, const bool init_hatch)</td></tr> |
philpem@5 | 3223 | |
philpem@5 | 3224 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0efba314ef59ada31f6273ee8d6f744e"></a><!-- doxytag: member="cimg_library::CImg::_draw_spline" ref="0efba314ef59ada31f6273ee8d6f744e" args="(const tp &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const bool close_set, const float precision, const unsigned int pattern, const bool init_hatch)" --> |
philpem@5 | 3225 | template<typename tp , typename tc > </td></tr> |
philpem@5 | 3226 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_spline</b> (const tp &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const bool close_set, const float precision, const unsigned int pattern, const bool init_hatch)</td></tr> |
philpem@5 | 3227 | |
philpem@5 | 3228 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9b4650fc045f7640b023dfc7d8012bb8"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="9b4650fc045f7640b023dfc7d8012bb8" args="(const CImgList< tp > &points, const CImgList< tt > &tangents, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3229 | template<typename tp , typename tt , typename tc > </td></tr> |
philpem@5 | 3230 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9b4650fc045f7640b023dfc7d8012bb8">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tt > &tangents, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3231 | |
philpem@5 | 3232 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored splines in the instance image. <br></td></tr> |
philpem@5 | 3233 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6e2dfc74104f3fd669d898c88264edd2"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="6e2dfc74104f3fd669d898c88264edd2" args="(const CImgList< tp > &points, const CImgList< tt > &tangents, const CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3234 | template<typename tp , typename tt , typename tc > </td></tr> |
philpem@5 | 3235 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6e2dfc74104f3fd669d898c88264edd2">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tt > &tangents, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3236 | |
philpem@5 | 3237 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored splines in the instance image. <br></td></tr> |
philpem@5 | 3238 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b6580bbd06443cd05ad8ff63c157a8e9"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="b6580bbd06443cd05ad8ff63c157a8e9" args="(const CImg< tp > &points, const CImg< tt > &tangents, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3239 | template<typename tp , typename tt , typename tc > </td></tr> |
philpem@5 | 3240 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b6580bbd06443cd05ad8ff63c157a8e9">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tt > &tangents, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3241 | |
philpem@5 | 3242 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored splines in the instance image. <br></td></tr> |
philpem@5 | 3243 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5dd5581868a21e8c1283d93e8b5c9e11"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="5dd5581868a21e8c1283d93e8b5c9e11" args="(const CImg< tp > &points, const CImg< tt > &tangents, const CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3244 | template<typename tp , typename tt , typename tc > </td></tr> |
philpem@5 | 3245 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5dd5581868a21e8c1283d93e8b5c9e11">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tt > &tangents, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3246 | |
philpem@5 | 3247 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored splines in the instance image. <br></td></tr> |
philpem@5 | 3248 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b3e8fbcaff7bb939a201c913b1ab7b29"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="b3e8fbcaff7bb939a201c913b1ab7b29" args="(const CImgList< t > &points, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3249 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3250 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b3e8fbcaff7bb939a201c913b1ab7b29">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3251 | |
philpem@5 | 3252 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored splines in the instance image. <br></td></tr> |
philpem@5 | 3253 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ebc37255f4345bd45f99ced17afbea1b"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="ebc37255f4345bd45f99ced17afbea1b" args="(const CImgList< t > &points, CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3254 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3255 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ebc37255f4345bd45f99ced17afbea1b">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &points, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3256 | |
philpem@5 | 3257 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored splines in the instance image. <br></td></tr> |
philpem@5 | 3258 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4958f637ae985f9c2be3b010a909be74"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="4958f637ae985f9c2be3b010a909be74" args="(const CImg< t > &points, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3259 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3260 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4958f637ae985f9c2be3b010a909be74">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3261 | |
philpem@5 | 3262 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored lines in the instance image. <br></td></tr> |
philpem@5 | 3263 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ef31953ecc727eaa99d0d1b11c6d14a0"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="ef31953ecc727eaa99d0d1b11c6d14a0" args="(const CImg< t > &points, const CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 3264 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3265 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ef31953ecc727eaa99d0d1b11c6d14a0">draw_spline</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &points, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)</td></tr> |
philpem@5 | 3266 | |
philpem@5 | 3267 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a set of consecutive colored lines in the instance image. <br></td></tr> |
philpem@5 | 3268 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3269 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4955c7a5a132072f634ed9832b783f83">draw_arrow</a> (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1, const float angle=30, const float length=-10, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3270 | |
philpem@5 | 3271 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a colored arrow in the instance image. <a href="#4955c7a5a132072f634ed9832b783f83"></a><br></td></tr> |
philpem@5 | 3272 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="398a8fa3580f9e572b3f6f0b7e0bd41c"></a><!-- doxytag: member="cimg_library::CImg::draw_arrow" ref="398a8fa3580f9e572b3f6f0b7e0bd41c" args="(const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity=1, const float angle=30, const float length=-10, const unsigned int pattern=~0U)" --> |
philpem@5 | 3273 | template<typename tc > </td></tr> |
philpem@5 | 3274 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#398a8fa3580f9e572b3f6f0b7e0bd41c">draw_arrow</a> (const int x0, const int y0, const int x1, const int y1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const float angle=30, const float length=-10, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3275 | |
philpem@5 | 3276 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a colored arrow in the instance image. <br></td></tr> |
philpem@5 | 3277 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 3278 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2262bc9cfece26084c7223bf74ad63d5">draw_image</a> (const int x0, const int y0, const int z0, const int v0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &sprite, const float opacity=1)</td></tr> |
philpem@5 | 3279 | |
philpem@5 | 3280 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <a href="#2262bc9cfece26084c7223bf74ad63d5"></a><br></td></tr> |
philpem@5 | 3281 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c034e961493c11db6fa5398827a42672"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="c034e961493c11db6fa5398827a42672" args="(const int x0, const int y0, const int z0, const int v0, const CImg< T > &sprite, const float opacity=1)" --> |
philpem@5 | 3282 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>draw_image</b> (const int x0, const int y0, const int z0, const int v0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &sprite, const float opacity=1)</td></tr> |
philpem@5 | 3283 | |
philpem@5 | 3284 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b612f62cc2081eb707585af01a041db1"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="b612f62cc2081eb707585af01a041db1" args="(const int x0, const int y0, const int z0, const CImg< t > &sprite, const float opacity=1)" --> |
philpem@5 | 3285 | template<typename t > </td></tr> |
philpem@5 | 3286 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b612f62cc2081eb707585af01a041db1">draw_image</a> (const int x0, const int y0, const int z0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &sprite, const float opacity=1)</td></tr> |
philpem@5 | 3287 | |
philpem@5 | 3288 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3289 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4968cf39a15c8e55a089a1c136e331aa"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="4968cf39a15c8e55a089a1c136e331aa" args="(const int x0, const int y0, const CImg< t > &sprite, const float opacity=1)" --> |
philpem@5 | 3290 | template<typename t > </td></tr> |
philpem@5 | 3291 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4968cf39a15c8e55a089a1c136e331aa">draw_image</a> (const int x0, const int y0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &sprite, const float opacity=1)</td></tr> |
philpem@5 | 3292 | |
philpem@5 | 3293 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3294 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e6fa4bcf0793823ae70d4e67be2d26a3"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="e6fa4bcf0793823ae70d4e67be2d26a3" args="(const int x0, const CImg< t > &sprite, const float opacity=1)" --> |
philpem@5 | 3295 | template<typename t > </td></tr> |
philpem@5 | 3296 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e6fa4bcf0793823ae70d4e67be2d26a3">draw_image</a> (const int x0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &sprite, const float opacity=1)</td></tr> |
philpem@5 | 3297 | |
philpem@5 | 3298 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3299 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d847e4b64a114e26dd34cea062b8c6a7"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="d847e4b64a114e26dd34cea062b8c6a7" args="(const CImg< t > &sprite, const float opacity=1)" --> |
philpem@5 | 3300 | template<typename t > </td></tr> |
philpem@5 | 3301 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d847e4b64a114e26dd34cea062b8c6a7">draw_image</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &sprite, const float opacity=1)</td></tr> |
philpem@5 | 3302 | |
philpem@5 | 3303 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3304 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename ti , typename tm > </td></tr> |
philpem@5 | 3305 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#140588221208998117e0681720183517">draw_image</a> (const int x0, const int y0, const int z0, const int v0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ti > &sprite, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > &mask, const float opacity=1, const float mask_valmax=1)</td></tr> |
philpem@5 | 3306 | |
philpem@5 | 3307 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a sprite image in the instance image (masked version). <a href="#140588221208998117e0681720183517"></a><br></td></tr> |
philpem@5 | 3308 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6bc3dd141f888d66aafbacbd6c2b57cb"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="6bc3dd141f888d66aafbacbd6c2b57cb" args="(const int x0, const int y0, const int z0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1)" --> |
philpem@5 | 3309 | template<typename ti , typename tm > </td></tr> |
philpem@5 | 3310 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6bc3dd141f888d66aafbacbd6c2b57cb">draw_image</a> (const int x0, const int y0, const int z0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ti > &sprite, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > &mask, const float opacity=1, const float mask_valmax=1)</td></tr> |
philpem@5 | 3311 | |
philpem@5 | 3312 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3313 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="77017d588585db4fb4149a0ddd09538b"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="77017d588585db4fb4149a0ddd09538b" args="(const int x0, const int y0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1)" --> |
philpem@5 | 3314 | template<typename ti , typename tm > </td></tr> |
philpem@5 | 3315 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#77017d588585db4fb4149a0ddd09538b">draw_image</a> (const int x0, const int y0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ti > &sprite, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > &mask, const float opacity=1, const float mask_valmax=1)</td></tr> |
philpem@5 | 3316 | |
philpem@5 | 3317 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3318 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8e324ba8d4367bdcacebc33817fd8e22"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="8e324ba8d4367bdcacebc33817fd8e22" args="(const int x0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1)" --> |
philpem@5 | 3319 | template<typename ti , typename tm > </td></tr> |
philpem@5 | 3320 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8e324ba8d4367bdcacebc33817fd8e22">draw_image</a> (const int x0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ti > &sprite, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > &mask, const float opacity=1, const float mask_valmax=1)</td></tr> |
philpem@5 | 3321 | |
philpem@5 | 3322 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3323 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bb5c6c380e17aa9fc0628c70eb42908a"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="bb5c6c380e17aa9fc0628c70eb42908a" args="(const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1)" --> |
philpem@5 | 3324 | template<typename ti , typename tm > </td></tr> |
philpem@5 | 3325 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bb5c6c380e17aa9fc0628c70eb42908a">draw_image</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ti > &sprite, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > &mask, const float opacity=1, const float mask_valmax=1)</td></tr> |
philpem@5 | 3326 | |
philpem@5 | 3327 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an image. <br></td></tr> |
philpem@5 | 3328 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3a0aacdf713ed19c5efc4a929f73d597">draw_rectangle</a> (const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1, const T val, const float opacity=1)</td></tr> |
philpem@5 | 3329 | |
philpem@5 | 3330 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 4D filled rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>,<code>z0</code>,<code>v0</code>)-(<code>x1</code>,<code>y1</code>,<code>z1</code>,<code>v1</code>). <a href="#3a0aacdf713ed19c5efc4a929f73d597"></a><br></td></tr> |
philpem@5 | 3331 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3332 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#99614589c3d114e81db5eb6efc322e0c">draw_rectangle</a> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3333 | |
philpem@5 | 3334 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D filled colored rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>,<code>z0</code>)-(<code>x1</code>,<code>y1</code>,<code>z1</code>). <a href="#99614589c3d114e81db5eb6efc322e0c"></a><br></td></tr> |
philpem@5 | 3335 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bf37867db8052ced5731873badb3ccc2"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="bf37867db8052ced5731873badb3ccc2" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3336 | template<typename tc > </td></tr> |
philpem@5 | 3337 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bf37867db8052ced5731873badb3ccc2">draw_rectangle</a> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3338 | |
philpem@5 | 3339 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D filled colored rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>,<code>z0</code>)-(<code>x1</code>,<code>y1</code>,<code>z1</code>). <br></td></tr> |
philpem@5 | 3340 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1bf777ba2034fce1fe6a77fef5c236df"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="1bf777ba2034fce1fe6a77fef5c236df" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3341 | template<typename tc > </td></tr> |
philpem@5 | 3342 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1bf777ba2034fce1fe6a77fef5c236df">draw_rectangle</a> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3343 | |
philpem@5 | 3344 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D outlined colored rectangle in the instance image. <br></td></tr> |
philpem@5 | 3345 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1b9ce64ba72d43495206d3e16b1f82f8"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="1b9ce64ba72d43495206d3e16b1f82f8" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3346 | template<typename tc > </td></tr> |
philpem@5 | 3347 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1b9ce64ba72d43495206d3e16b1f82f8">draw_rectangle</a> (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3348 | |
philpem@5 | 3349 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D outlined colored rectangle in the instance image. <br></td></tr> |
philpem@5 | 3350 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3351 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#08ff5543ae717bdbc4ccda3ca9d463ee">draw_rectangle</a> (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3352 | |
philpem@5 | 3353 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled colored rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>)-(<code>x1</code>,<code>y1</code>). <a href="#08ff5543ae717bdbc4ccda3ca9d463ee"></a><br></td></tr> |
philpem@5 | 3354 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d864a53158dc062ac6ab53524a0f9737"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="d864a53158dc062ac6ab53524a0f9737" args="(const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3355 | template<typename tc > </td></tr> |
philpem@5 | 3356 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d864a53158dc062ac6ab53524a0f9737">draw_rectangle</a> (const int x0, const int y0, const int x1, const int y1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3357 | |
philpem@5 | 3358 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled colored rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>)-(<code>x1</code>,<code>y1</code>). <br></td></tr> |
philpem@5 | 3359 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="88b4db9fc3ebcc8bd5134042424f3b8b"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="88b4db9fc3ebcc8bd5134042424f3b8b" args="(const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3360 | template<typename tc > </td></tr> |
philpem@5 | 3361 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#88b4db9fc3ebcc8bd5134042424f3b8b">draw_rectangle</a> (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3362 | |
philpem@5 | 3363 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D outlined colored rectangle. <br></td></tr> |
philpem@5 | 3364 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c832c78b8c8df3af06008ab4193effd7"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="c832c78b8c8df3af06008ab4193effd7" args="(const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3365 | template<typename tc > </td></tr> |
philpem@5 | 3366 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c832c78b8c8df3af06008ab4193effd7">draw_rectangle</a> (const int x0, const int y0, const int x1, const int y1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3367 | |
philpem@5 | 3368 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D outlined colored rectangle. <br></td></tr> |
philpem@5 | 3369 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e522f9b0568d63da675fae520ab4ea4d"></a><!-- doxytag: member="cimg_library::CImg::_draw_triangle" ref="e522f9b0568d63da675fae520ab4ea4d" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity, const float brightness)" --> |
philpem@5 | 3370 | template<typename tc > </td></tr> |
philpem@5 | 3371 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_triangle</b> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity, const float brightness)</td></tr> |
philpem@5 | 3372 | |
philpem@5 | 3373 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="405d83987b7969b9942e4446b5924ec9"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="405d83987b7969b9942e4446b5924ec9" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity=1)" --> |
philpem@5 | 3374 | template<typename tc > </td></tr> |
philpem@5 | 3375 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#405d83987b7969b9942e4446b5924ec9">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3376 | |
philpem@5 | 3377 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled colored triangle. <br></td></tr> |
philpem@5 | 3378 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="910e2dd4476bc5e5279d1143195f03c6"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="910e2dd4476bc5e5279d1143195f03c6" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3379 | template<typename tc > </td></tr> |
philpem@5 | 3380 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#910e2dd4476bc5e5279d1143195f03c6">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3381 | |
philpem@5 | 3382 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled colored triangle. <br></td></tr> |
philpem@5 | 3383 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7c3262c3f6bb593b3ae8ae1751f005b9"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="7c3262c3f6bb593b3ae8ae1751f005b9" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3384 | template<typename tc > </td></tr> |
philpem@5 | 3385 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7c3262c3f6bb593b3ae8ae1751f005b9">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3386 | |
philpem@5 | 3387 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D outlined colored triangle. <br></td></tr> |
philpem@5 | 3388 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="42dcf4158f345564b6909f68df93c223"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="42dcf4158f345564b6909f68df93c223" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3389 | template<typename tc > </td></tr> |
philpem@5 | 3390 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#42dcf4158f345564b6909f68df93c223">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3391 | |
philpem@5 | 3392 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D outlined colored triangle. <br></td></tr> |
philpem@5 | 3393 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a33a56303f49e8f0015f58ccc5b862ad"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="a33a56303f49e8f0015f58ccc5b862ad" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const float opacity=1, const float brightness=1)" --> |
philpem@5 | 3394 | template<typename tc > </td></tr> |
philpem@5 | 3395 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a33a56303f49e8f0015f58ccc5b862ad">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const float opacity=1, const float brightness=1)</td></tr> |
philpem@5 | 3396 | |
philpem@5 | 3397 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled colored triangle, with z-buffering. <br></td></tr> |
philpem@5 | 3398 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="43adff9f66e4023ff902ce2ce51a6c1b"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="43adff9f66e4023ff902ce2ce51a6c1b" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &color, const float opacity=1, const float brightness=1)" --> |
philpem@5 | 3399 | template<typename tc > </td></tr> |
philpem@5 | 3400 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#43adff9f66e4023ff902ce2ce51a6c1b">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const float brightness=1)</td></tr> |
philpem@5 | 3401 | |
philpem@5 | 3402 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled colored triangle, with z-buffering. <br></td></tr> |
philpem@5 | 3403 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3404 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6fedec577cb8971fed8d1f3a039d3aac">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)</td></tr> |
philpem@5 | 3405 | |
philpem@5 | 3406 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Gouraud-shaded colored triangle. <a href="#6fedec577cb8971fed8d1f3a039d3aac"></a><br></td></tr> |
philpem@5 | 3407 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e6e48075b5ddd90019c889e97cfb48f5"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="e6e48075b5ddd90019c889e97cfb48f5" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)" --> |
philpem@5 | 3408 | template<typename tc > </td></tr> |
philpem@5 | 3409 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e6e48075b5ddd90019c889e97cfb48f5">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)</td></tr> |
philpem@5 | 3410 | |
philpem@5 | 3411 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Gouraud-shaded colored triangle. <br></td></tr> |
philpem@5 | 3412 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e8bdb51ba8a62f3f2b7d1f3bf888b5d6"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="e8bdb51ba8a62f3f2b7d1f3bf888b5d6" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)" --> |
philpem@5 | 3413 | template<typename tc > </td></tr> |
philpem@5 | 3414 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e8bdb51ba8a62f3f2b7d1f3bf888b5d6">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)</td></tr> |
philpem@5 | 3415 | |
philpem@5 | 3416 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Gouraud-shaded colored triangle, with z-buffering. <br></td></tr> |
philpem@5 | 3417 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f2d41fad4a3cff1e52ce92a09a0849fb"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="f2d41fad4a3cff1e52ce92a09a0849fb" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)" --> |
philpem@5 | 3418 | template<typename tc > </td></tr> |
philpem@5 | 3419 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f2d41fad4a3cff1e52ce92a09a0849fb">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)</td></tr> |
philpem@5 | 3420 | |
philpem@5 | 3421 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a Gouraud triangle with z-buffer consideration. <br></td></tr> |
philpem@5 | 3422 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3423 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ed9f231a2586832f9e3edbab43dba19f">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1)</td></tr> |
philpem@5 | 3424 | |
philpem@5 | 3425 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D textured triangle. <a href="#ed9f231a2586832f9e3edbab43dba19f"></a><br></td></tr> |
philpem@5 | 3426 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="cbc11ace0f311f4424ab3f9e87b46d49"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="cbc11ace0f311f4424ab3f9e87b46d49" args="(const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1)" --> |
philpem@5 | 3427 | template<typename tc > </td></tr> |
philpem@5 | 3428 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cbc11ace0f311f4424ab3f9e87b46d49">draw_triangle</a> (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1)</td></tr> |
philpem@5 | 3429 | |
philpem@5 | 3430 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D textured triangle, with perspective correction. <br></td></tr> |
philpem@5 | 3431 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="557d6fe66644b08fc216b66f41dc888c"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="557d6fe66644b08fc216b66f41dc888c" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1)" --> |
philpem@5 | 3432 | template<typename tc > </td></tr> |
philpem@5 | 3433 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#557d6fe66644b08fc216b66f41dc888c">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1)</td></tr> |
philpem@5 | 3434 | |
philpem@5 | 3435 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D textured triangle, with z-buffering and perspective correction. <br></td></tr> |
philpem@5 | 3436 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc , typename tl > </td></tr> |
philpem@5 | 3437 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cdcbe236d763eb011eebb30b50c1aef7">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)</td></tr> |
philpem@5 | 3438 | |
philpem@5 | 3439 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Pseudo-Phong-shaded triangle. <a href="#cdcbe236d763eb011eebb30b50c1aef7"></a><br></td></tr> |
philpem@5 | 3440 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f8e9aafc4e909a0c974f322b5dac8297"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="f8e9aafc4e909a0c974f322b5dac8297" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)" --> |
philpem@5 | 3441 | template<typename tc , typename tl > </td></tr> |
philpem@5 | 3442 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f8e9aafc4e909a0c974f322b5dac8297">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)</td></tr> |
philpem@5 | 3443 | |
philpem@5 | 3444 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Pseudo-Phong-shaded triangle. <br></td></tr> |
philpem@5 | 3445 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9d697aed59a348fe49e0d5f24d462261"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="9d697aed59a348fe49e0d5f24d462261" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)" --> |
philpem@5 | 3446 | template<typename tc , typename tl > </td></tr> |
philpem@5 | 3447 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9d697aed59a348fe49e0d5f24d462261">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)</td></tr> |
philpem@5 | 3448 | |
philpem@5 | 3449 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Pseudo-Phong-shaded triangle, with z-buffering. <br></td></tr> |
philpem@5 | 3450 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f62798d8662be7caed865ea2cc9b86af"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="f62798d8662be7caed865ea2cc9b86af" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)" --> |
philpem@5 | 3451 | template<typename tc , typename tl > </td></tr> |
philpem@5 | 3452 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f62798d8662be7caed865ea2cc9b86af">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)</td></tr> |
philpem@5 | 3453 | |
philpem@5 | 3454 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Pseudo-Phong-shaded triangle, with z-buffering. <br></td></tr> |
philpem@5 | 3455 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3456 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#961363e2672c2ae77788dbe27f1eeb96">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)</td></tr> |
philpem@5 | 3457 | |
philpem@5 | 3458 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Gouraud-shaded textured triangle. <a href="#961363e2672c2ae77788dbe27f1eeb96"></a><br></td></tr> |
philpem@5 | 3459 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b8a009041dd95645d02ecc3561d5553f"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="b8a009041dd95645d02ecc3561d5553f" args="(const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)" --> |
philpem@5 | 3460 | template<typename tc > </td></tr> |
philpem@5 | 3461 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b8a009041dd95645d02ecc3561d5553f">draw_triangle</a> (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)</td></tr> |
philpem@5 | 3462 | |
philpem@5 | 3463 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Gouraud-shaded textured triangle, with perspective correction. <br></td></tr> |
philpem@5 | 3464 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7f1e1abea764819de6130650cafa47fe"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="7f1e1abea764819de6130650cafa47fe" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)" --> |
philpem@5 | 3465 | template<typename tc > </td></tr> |
philpem@5 | 3466 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7f1e1abea764819de6130650cafa47fe">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)</td></tr> |
philpem@5 | 3467 | |
philpem@5 | 3468 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Gouraud-shaded textured triangle, with z-buffering and perspective correction. <br></td></tr> |
philpem@5 | 3469 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc , typename tl > </td></tr> |
philpem@5 | 3470 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#261696a882cafea6ec41e43f90ad7d26">draw_triangle</a> (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)</td></tr> |
philpem@5 | 3471 | |
philpem@5 | 3472 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Pseudo-Phong-shaded textured triangle. <a href="#261696a882cafea6ec41e43f90ad7d26"></a><br></td></tr> |
philpem@5 | 3473 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="feb86cbec72b30c58246379a6a94c295"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="feb86cbec72b30c58246379a6a94c295" args="(const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)" --> |
philpem@5 | 3474 | template<typename tc , typename tl > </td></tr> |
philpem@5 | 3475 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#feb86cbec72b30c58246379a6a94c295">draw_triangle</a> (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)</td></tr> |
philpem@5 | 3476 | |
philpem@5 | 3477 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Pseudo-Phong-shaded textured triangle, with perspective correction. <br></td></tr> |
philpem@5 | 3478 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d1caaaa197d77925f7d1f5c44f82ec7c"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="d1caaaa197d77925f7d1f5c44f82ec7c" args="(float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)" --> |
philpem@5 | 3479 | template<typename tc , typename tl > </td></tr> |
philpem@5 | 3480 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d1caaaa197d77925f7d1f5c44f82ec7c">draw_triangle</a> (float *const zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)</td></tr> |
philpem@5 | 3481 | |
philpem@5 | 3482 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D Pseudo-Phong-shaded textured triangle, with z-buffering and perspective correction. <br></td></tr> |
philpem@5 | 3483 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c15d81ab233481b1664babfcf2402404"></a><!-- doxytag: member="cimg_library::CImg::_draw_ellipse" ref="c15d81ab233481b1664babfcf2402404" args="(const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3484 | template<typename tc > </td></tr> |
philpem@5 | 3485 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_ellipse</b> (const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3486 | |
philpem@5 | 3487 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3488 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e0c072c592797cc4d7a3e2918963f65d">draw_ellipse</a> (const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3489 | |
philpem@5 | 3490 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled ellipse. <a href="#e0c072c592797cc4d7a3e2918963f65d"></a><br></td></tr> |
philpem@5 | 3491 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="fef212ef9007ba87665799b002455600"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="fef212ef9007ba87665799b002455600" args="(const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3492 | template<typename tc > </td></tr> |
philpem@5 | 3493 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fef212ef9007ba87665799b002455600">draw_ellipse</a> (const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3494 | |
philpem@5 | 3495 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled ellipse. <br></td></tr> |
philpem@5 | 3496 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3497 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#aee5c65bcb8d1aa53500dd93b70dc206">draw_ellipse</a> (const int x0, const int y0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3498 | |
philpem@5 | 3499 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled ellipse. <a href="#aee5c65bcb8d1aa53500dd93b70dc206"></a><br></td></tr> |
philpem@5 | 3500 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bb8f86c28fe3a89cbd3b8234ebf396db"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="bb8f86c28fe3a89cbd3b8234ebf396db" args="(const int x0, const int y0, const CImg< t > &tensor, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3501 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3502 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bb8f86c28fe3a89cbd3b8234ebf396db">draw_ellipse</a> (const int x0, const int y0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3503 | |
philpem@5 | 3504 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled ellipse. <br></td></tr> |
philpem@5 | 3505 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3506 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d54df0e591142a589847a348fdbfc653">draw_ellipse</a> (const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3507 | |
philpem@5 | 3508 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an outlined ellipse. <a href="#d54df0e591142a589847a348fdbfc653"></a><br></td></tr> |
philpem@5 | 3509 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e3c36e212188fbdfcca6d70de59dc1bd"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="e3c36e212188fbdfcca6d70de59dc1bd" args="(const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3510 | template<typename tc > </td></tr> |
philpem@5 | 3511 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e3c36e212188fbdfcca6d70de59dc1bd">draw_ellipse</a> (const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3512 | |
philpem@5 | 3513 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an outlined ellipse. <br></td></tr> |
philpem@5 | 3514 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3515 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#eae8fb88a9ad0af8f0d8090e7c55ff2e">draw_ellipse</a> (const int x0, const int y0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const tc *const color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3516 | |
philpem@5 | 3517 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an outlined ellipse. <a href="#eae8fb88a9ad0af8f0d8090e7c55ff2e"></a><br></td></tr> |
philpem@5 | 3518 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="dec0a3bd415b0a843b7f6365a7bf2477"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="dec0a3bd415b0a843b7f6365a7bf2477" args="(const int x0, const int y0, const CImg< t > &tensor, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3519 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3520 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dec0a3bd415b0a843b7f6365a7bf2477">draw_ellipse</a> (const int x0, const int y0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3521 | |
philpem@5 | 3522 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an outlined ellipse. <br></td></tr> |
philpem@5 | 3523 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3524 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0fcdceae39ad1bfa32dabc70ab503455">draw_circle</a> (const int x0, const int y0, int radius, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3525 | |
philpem@5 | 3526 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled circle. <a href="#0fcdceae39ad1bfa32dabc70ab503455"></a><br></td></tr> |
philpem@5 | 3527 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5e9d5d9c2375549424cc4db6c015c5b0"></a><!-- doxytag: member="cimg_library::CImg::draw_circle" ref="5e9d5d9c2375549424cc4db6c015c5b0" args="(const int x0, const int y0, int radius, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3528 | template<typename tc > </td></tr> |
philpem@5 | 3529 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5e9d5d9c2375549424cc4db6c015c5b0">draw_circle</a> (const int x0, const int y0, int radius, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3530 | |
philpem@5 | 3531 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a filled circle. <br></td></tr> |
philpem@5 | 3532 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3533 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bc6077a1255326a211f32716fcc416fc">draw_circle</a> (const int x0, const int y0, int radius, const tc *const color, const float opacity, const unsigned int)</td></tr> |
philpem@5 | 3534 | |
philpem@5 | 3535 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an outlined circle. <a href="#bc6077a1255326a211f32716fcc416fc"></a><br></td></tr> |
philpem@5 | 3536 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="345546ed0a8f17554833d2896dd19c4b"></a><!-- doxytag: member="cimg_library::CImg::draw_circle" ref="345546ed0a8f17554833d2896dd19c4b" args="(const int x0, const int y0, int radius, const CImg< tc > &color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 3537 | template<typename tc > </td></tr> |
philpem@5 | 3538 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#345546ed0a8f17554833d2896dd19c4b">draw_circle</a> (const int x0, const int y0, int radius, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const unsigned int pattern)</td></tr> |
philpem@5 | 3539 | |
philpem@5 | 3540 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an outlined circle. <br></td></tr> |
philpem@5 | 3541 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="37d78bde18a3bb0febca9feb4aaefd1b"></a><!-- doxytag: member="cimg_library::CImg::_draw_text" ref="37d78bde18a3bb0febca9feb4aaefd1b" args="(const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity, const CImgList< t > &font)" --> |
philpem@5 | 3542 | template<typename tc1 , typename tc2 , typename t > </td></tr> |
philpem@5 | 3543 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_text</b> (const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &font)</td></tr> |
philpem@5 | 3544 | |
philpem@5 | 3545 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc1 , typename tc2 , typename t > </td></tr> |
philpem@5 | 3546 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#10f19686ec4d22cf112d7d60a00849eb">draw_text</a> (const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &font,...)</td></tr> |
philpem@5 | 3547 | |
philpem@5 | 3548 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <a href="#10f19686ec4d22cf112d7d60a00849eb"></a><br></td></tr> |
philpem@5 | 3549 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="bbc1a17884b7c049aa543d665a02addc"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="bbc1a17884b7c049aa543d665a02addc" args="(const int x0, const int y0, const char *const text, const CImg< tc1 > &foreground_color, const CImg< tc2 > &background_color, const float opacity, const CImgList< t > &font,...)" --> |
philpem@5 | 3550 | template<typename tc1 , typename tc2 , typename t > </td></tr> |
philpem@5 | 3551 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#bbc1a17884b7c049aa543d665a02addc">draw_text</a> (const int x0, const int y0, const char *const text, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc1 > &foreground_color, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc2 > &background_color, const float opacity, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &font,...)</td></tr> |
philpem@5 | 3552 | |
philpem@5 | 3553 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <br></td></tr> |
philpem@5 | 3554 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ecfa50533fb364efab0c49d21885a032"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="ecfa50533fb364efab0c49d21885a032" args="(const int x0, const int y0, const char *const text, const tc *const foreground_color, const int background_color, const float opacity, const CImgList< t > &font,...)" --> |
philpem@5 | 3555 | template<typename tc , typename t > </td></tr> |
philpem@5 | 3556 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ecfa50533fb364efab0c49d21885a032">draw_text</a> (const int x0, const int y0, const char *const text, const tc *const foreground_color, const int background_color, const float opacity, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &font,...)</td></tr> |
philpem@5 | 3557 | |
philpem@5 | 3558 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <br></td></tr> |
philpem@5 | 3559 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="65bc41a87d8e70a6e4e3e7c1e3f3b84d"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="65bc41a87d8e70a6e4e3e7c1e3f3b84d" args="(const int x0, const int y0, const char *const text, const int foreground_color, const tc *const background_color, const float opacity, const CImgList< t > &font,...)" --> |
philpem@5 | 3560 | template<typename tc , typename t > </td></tr> |
philpem@5 | 3561 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#65bc41a87d8e70a6e4e3e7c1e3f3b84d">draw_text</a> (const int x0, const int y0, const char *const text, const int foreground_color, const tc *const background_color, const float opacity, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > &font,...)</td></tr> |
philpem@5 | 3562 | |
philpem@5 | 3563 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <br></td></tr> |
philpem@5 | 3564 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc1 , typename tc2 > </td></tr> |
philpem@5 | 3565 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8a08ffc222f02da3bae41a9cae11133c">draw_text</a> (const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity=1, const unsigned int font_size=11,...)</td></tr> |
philpem@5 | 3566 | |
philpem@5 | 3567 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <a href="#8a08ffc222f02da3bae41a9cae11133c"></a><br></td></tr> |
philpem@5 | 3568 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3391a4bb472d056e8741fb11d2f849b5"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="3391a4bb472d056e8741fb11d2f849b5" args="(const int x0, const int y0, const char *const text, const CImg< tc1 > &foreground_color, const CImg< tc2 > &background_color, const float opacity=1, const unsigned int font_size=11,...)" --> |
philpem@5 | 3569 | template<typename tc1 , typename tc2 > </td></tr> |
philpem@5 | 3570 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3391a4bb472d056e8741fb11d2f849b5">draw_text</a> (const int x0, const int y0, const char *const text, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc1 > &foreground_color, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc2 > &background_color, const float opacity=1, const unsigned int font_size=11,...)</td></tr> |
philpem@5 | 3571 | |
philpem@5 | 3572 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <br></td></tr> |
philpem@5 | 3573 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="18663a5f20b11d8599a628d02eb7f01e"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="18663a5f20b11d8599a628d02eb7f01e" args="(const int x0, const int y0, const char *const text, const tc *const foreground_color, const int background_color=0, const float opacity=1, const unsigned int font_size=11,...)" --> |
philpem@5 | 3574 | template<typename tc > </td></tr> |
philpem@5 | 3575 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#18663a5f20b11d8599a628d02eb7f01e">draw_text</a> (const int x0, const int y0, const char *const text, const tc *const foreground_color, const int background_color=0, const float opacity=1, const unsigned int font_size=11,...)</td></tr> |
philpem@5 | 3576 | |
philpem@5 | 3577 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <br></td></tr> |
philpem@5 | 3578 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="fadf8a78a779782d878025d73ff0a310"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="fadf8a78a779782d878025d73ff0a310" args="(const int x0, const int y0, const char *const text, const int foreground_color, const tc *const background_color, const float opacity=1, const unsigned int font_size=11,...)" --> |
philpem@5 | 3579 | template<typename tc > </td></tr> |
philpem@5 | 3580 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fadf8a78a779782d878025d73ff0a310">draw_text</a> (const int x0, const int y0, const char *const text, const int foreground_color, const tc *const background_color, const float opacity=1, const unsigned int font_size=11,...)</td></tr> |
philpem@5 | 3581 | |
philpem@5 | 3582 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a text. <br></td></tr> |
philpem@5 | 3583 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t1 , typename t2 > </td></tr> |
philpem@5 | 3584 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fa63fe980a96a02650684e9a21a4075b">draw_quiver</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t1 > &flow, const t2 *const color, const float opacity=1, const unsigned int sampling=25, const float factor=-20, const int quiver_type=0, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3585 | |
philpem@5 | 3586 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a vector field in the instance image, using a colormap. <a href="#fa63fe980a96a02650684e9a21a4075b"></a><br></td></tr> |
philpem@5 | 3587 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t1 , typename t2 > </td></tr> |
philpem@5 | 3588 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cf68676d4536ff46ed896648ff08c904">draw_quiver</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t1 > &flow, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t2 > &color, const float opacity=1, const unsigned int sampling=25, const float factor=-20, const int quiver_type=0, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3589 | |
philpem@5 | 3590 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a vector field in the instance image, using a colormap. <a href="#cf68676d4536ff46ed896648ff08c904"></a><br></td></tr> |
philpem@5 | 3591 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3592 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#67e7caaf13995641acfcd5749c39bbc7">draw_graph</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &<a class="el" href="structcimg__library_1_1CImg.html#c88dceffbecaed1137b0e27783adbcc5">data</a>, const tc *const color, const float opacity=1, const unsigned int plot_type=1, const unsigned int vertex_type=1, const double ymin=0, const double ymax=0, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3593 | |
philpem@5 | 3594 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 1D graph on the instance image. <a href="#67e7caaf13995641acfcd5749c39bbc7"></a><br></td></tr> |
philpem@5 | 3595 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3162e7c504181aa99413fc8e3e39b720"></a><!-- doxytag: member="cimg_library::CImg::draw_graph" ref="3162e7c504181aa99413fc8e3e39b720" args="(const CImg< t > &data, const CImg< tc > &color, const float opacity=1, const unsigned int plot_type=1, const unsigned int vertex_type=1, const double ymin=0, const double ymax=0, const unsigned int pattern=~0U)" --> |
philpem@5 | 3596 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3597 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#3162e7c504181aa99413fc8e3e39b720">draw_graph</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &<a class="el" href="structcimg__library_1_1CImg.html#c88dceffbecaed1137b0e27783adbcc5">data</a>, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int plot_type=1, const unsigned int vertex_type=1, const double ymin=0, const double ymax=0, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3598 | |
philpem@5 | 3599 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 1D graph on the instance image. <br></td></tr> |
philpem@5 | 3600 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3601 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#08296af30d35f7d21b5609a674b9b49c">draw_axis</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &xvalues, const int y, const tc *const color, const float opacity=1, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3602 | |
philpem@5 | 3603 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled horizontal axis on the instance image. <a href="#08296af30d35f7d21b5609a674b9b49c"></a><br></td></tr> |
philpem@5 | 3604 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="cdc3d2e7c9f2e2a697f5dc386eb9d81e"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="cdc3d2e7c9f2e2a697f5dc386eb9d81e" args="(const CImg< t > &xvalues, const int y, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U)" --> |
philpem@5 | 3605 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3606 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cdc3d2e7c9f2e2a697f5dc386eb9d81e">draw_axis</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &xvalues, const int y, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3607 | |
philpem@5 | 3608 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled horizontal axis on the instance image. <br></td></tr> |
philpem@5 | 3609 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8bfff0993bc0ed0aa6a20cb9f8c63c28"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="8bfff0993bc0ed0aa6a20cb9f8c63c28" args="(const int x, const CImg< t > &yvalues, const tc *const color, const float opacity=1, const unsigned int pattern=~0U)" --> |
philpem@5 | 3610 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3611 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8bfff0993bc0ed0aa6a20cb9f8c63c28">draw_axis</a> (const int x, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &yvalues, const tc *const color, const float opacity=1, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3612 | |
philpem@5 | 3613 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled vertical axis on the instance image. <br></td></tr> |
philpem@5 | 3614 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f5ea60a7b91f2132156d619ae063b77f"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="f5ea60a7b91f2132156d619ae063b77f" args="(const int x, const CImg< t > &yvalues, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U)" --> |
philpem@5 | 3615 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3616 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f5ea60a7b91f2132156d619ae063b77f">draw_axis</a> (const int x, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &yvalues, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int pattern=~0U)</td></tr> |
philpem@5 | 3617 | |
philpem@5 | 3618 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled vertical axis on the instance image. <br></td></tr> |
philpem@5 | 3619 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f75a727d2d5a31326c5013565080c2c0"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="f75a727d2d5a31326c5013565080c2c0" args="(const CImg< tx > &xvalues, const CImg< ty > &yvalues, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3620 | template<typename tx , typename ty , typename tc > </td></tr> |
philpem@5 | 3621 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f75a727d2d5a31326c5013565080c2c0">draw_axis</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tx > &xvalues, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ty > &yvalues, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3622 | |
philpem@5 | 3623 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled horizontal+vertical axis on the instance image. <br></td></tr> |
philpem@5 | 3624 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f05e0299a5b9116f03d9909f06b41971"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="f05e0299a5b9116f03d9909f06b41971" args="(const CImg< tx > &xvalues, const CImg< ty > &yvalues, const CImg< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3625 | template<typename tx , typename ty , typename tc > </td></tr> |
philpem@5 | 3626 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f05e0299a5b9116f03d9909f06b41971">draw_axis</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tx > &xvalues, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ty > &yvalues, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3627 | |
philpem@5 | 3628 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled horizontal+vertical axis on the instance image. <br></td></tr> |
philpem@5 | 3629 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="cdf77ec979a3457e73707aebcb355232"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="cdf77ec979a3457e73707aebcb355232" args="(const float x0, const float x1, const float y0, const float y1, const tc *const color, const float opacity=1, const int subdivisionx=-60, const int subdivisiony=-60, const float precisionx=0, const float precisiony=0, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3630 | template<typename tc > </td></tr> |
philpem@5 | 3631 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cdf77ec979a3457e73707aebcb355232">draw_axis</a> (const float x0, const float x1, const float y0, const float y1, const tc *const color, const float opacity=1, const int subdivisionx=-60, const int subdivisiony=-60, const float precisionx=0, const float precisiony=0, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3632 | |
philpem@5 | 3633 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled horizontal+vertical axis on the instance image. <br></td></tr> |
philpem@5 | 3634 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="046d5076a8722a542ea3f74ee1628ce6"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="046d5076a8722a542ea3f74ee1628ce6" args="(const float x0, const float x1, const float y0, const float y1, const CImg< tc > &color, const float opacity=1, const int subdivisionx=-60, const int subdivisiony=-60, const float precisionx=0, const float precisiony=0, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3635 | template<typename tc > </td></tr> |
philpem@5 | 3636 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#046d5076a8722a542ea3f74ee1628ce6">draw_axis</a> (const float x0, const float x1, const float y0, const float y1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const int subdivisionx=-60, const int subdivisiony=-60, const float precisionx=0, const float precisiony=0, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3637 | |
philpem@5 | 3638 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a labeled horizontal+vertical axis on the instance image. <br></td></tr> |
philpem@5 | 3639 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6877e63794ccd3e9f8c27cd297ce7521"></a><!-- doxytag: member="cimg_library::CImg::draw_grid" ref="6877e63794ccd3e9f8c27cd297ce7521" args="(const CImg< tx > &xvalues, const CImg< ty > &yvalues, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3640 | template<typename tx , typename ty , typename tc > </td></tr> |
philpem@5 | 3641 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6877e63794ccd3e9f8c27cd297ce7521">draw_grid</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tx > &xvalues, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ty > &yvalues, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3642 | |
philpem@5 | 3643 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw grid. <br></td></tr> |
philpem@5 | 3644 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4f1fe7a9d343d53a390d3f794d7e3b8a"></a><!-- doxytag: member="cimg_library::CImg::draw_grid" ref="4f1fe7a9d343d53a390d3f794d7e3b8a" args="(const CImg< tx > &xvalues, const CImg< ty > &yvalues, const CImg< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3645 | template<typename tx , typename ty , typename tc > </td></tr> |
philpem@5 | 3646 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4f1fe7a9d343d53a390d3f794d7e3b8a">draw_grid</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tx > &xvalues, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ty > &yvalues, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3647 | |
philpem@5 | 3648 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw grid. <br></td></tr> |
philpem@5 | 3649 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="606cde6d7312d1cc49e6b15524e44c6c"></a><!-- doxytag: member="cimg_library::CImg::draw_grid" ref="606cde6d7312d1cc49e6b15524e44c6c" args="(const float deltax, const float deltay, const float offsetx, const float offsety, const bool invertx, const bool inverty, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3650 | template<typename tc > </td></tr> |
philpem@5 | 3651 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#606cde6d7312d1cc49e6b15524e44c6c">draw_grid</a> (const float deltax, const float deltay, const float offsetx, const float offsety, const bool invertx, const bool inverty, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3652 | |
philpem@5 | 3653 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw grid. <br></td></tr> |
philpem@5 | 3654 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f797b2633a89b277544fe1508bd72bfc"></a><!-- doxytag: member="cimg_library::CImg::draw_grid" ref="f797b2633a89b277544fe1508bd72bfc" args="(const float deltax, const float deltay, const float offsetx, const float offsety, const bool invertx, const bool inverty, const CImg< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)" --> |
philpem@5 | 3655 | template<typename tc > </td></tr> |
philpem@5 | 3656 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f797b2633a89b277544fe1508bd72bfc">draw_grid</a> (const float deltax, const float deltay, const float offsetx, const float offsety, const bool invertx, const bool inverty, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U)</td></tr> |
philpem@5 | 3657 | |
philpem@5 | 3658 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw grid. <br></td></tr> |
philpem@5 | 3659 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc , typename t > </td></tr> |
philpem@5 | 3660 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#02af5e263936e2fc27aeaa3771cb31d4">draw_fill</a> (const int x, const int y, const int z, const tc *const color, const float opacity, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &region, const float sigma=0, const bool high_connexity=false)</td></tr> |
philpem@5 | 3661 | |
philpem@5 | 3662 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D filled region starting from a point (<code>x</code>,<code>y</code>,\ z) in the instance image. <a href="#02af5e263936e2fc27aeaa3771cb31d4"></a><br></td></tr> |
philpem@5 | 3663 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="aa61d0211b294c1d89faabd2ad1c0a95"></a><!-- doxytag: member="cimg_library::CImg::draw_fill" ref="aa61d0211b294c1d89faabd2ad1c0a95" args="(const int x, const int y, const int z, const CImg< tc > &color, const float opacity, CImg< t > &region, const float sigma=0, const bool high_connexity=false)" --> |
philpem@5 | 3664 | template<typename tc , typename t > </td></tr> |
philpem@5 | 3665 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#aa61d0211b294c1d89faabd2ad1c0a95">draw_fill</a> (const int x, const int y, const int z, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &region, const float sigma=0, const bool high_connexity=false)</td></tr> |
philpem@5 | 3666 | |
philpem@5 | 3667 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D filled region starting from a point (<code>x</code>,<code>y</code>,\ z) in the instance image. <br></td></tr> |
philpem@5 | 3668 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3669 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f162693c97503ffb9789fcb2f8e16104">draw_fill</a> (const int x, const int y, const int z, const tc *const color, const float opacity=1, const float sigma=0, const bool high_connexity=false)</td></tr> |
philpem@5 | 3670 | |
philpem@5 | 3671 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D filled region starting from a point (<code>x</code>,<code>y</code>,\ z) in the instance image. <a href="#f162693c97503ffb9789fcb2f8e16104"></a><br></td></tr> |
philpem@5 | 3672 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e508814fce1811fefa639d257332973d"></a><!-- doxytag: member="cimg_library::CImg::draw_fill" ref="e508814fce1811fefa639d257332973d" args="(const int x, const int y, const int z, const CImg< tc > &color, const float opacity=1, const float sigma=0, const bool high_connexity=false)" --> |
philpem@5 | 3673 | template<typename tc > </td></tr> |
philpem@5 | 3674 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e508814fce1811fefa639d257332973d">draw_fill</a> (const int x, const int y, const int z, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const float sigma=0, const bool high_connexity=false)</td></tr> |
philpem@5 | 3675 | |
philpem@5 | 3676 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D filled region starting from a point (<code>x</code>,<code>y</code>,\ z) in the instance image. <br></td></tr> |
philpem@5 | 3677 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3678 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5c78c87e946126179b3fd659fd15a90f">draw_fill</a> (const int x, const int y, const tc *const color, const float opacity=1, const float sigma=0, const bool high_connexity=false)</td></tr> |
philpem@5 | 3679 | |
philpem@5 | 3680 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled region starting from a point (<code>x</code>,<code>y</code>) in the instance image. <a href="#5c78c87e946126179b3fd659fd15a90f"></a><br></td></tr> |
philpem@5 | 3681 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="af944facf0ccd44f78f3649e18ad1b5b"></a><!-- doxytag: member="cimg_library::CImg::draw_fill" ref="af944facf0ccd44f78f3649e18ad1b5b" args="(const int x, const int y, const CImg< tc > &color, const float opacity=1, const float sigma=0, const bool high_connexity=false)" --> |
philpem@5 | 3682 | template<typename tc > </td></tr> |
philpem@5 | 3683 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#af944facf0ccd44f78f3649e18ad1b5b">draw_fill</a> (const int x, const int y, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1, const float sigma=0, const bool high_connexity=false)</td></tr> |
philpem@5 | 3684 | |
philpem@5 | 3685 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 2D filled region starting from a point (<code>x</code>,<code>y</code>) in the instance image. <br></td></tr> |
philpem@5 | 3686 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#aaf8df45b2e20d132a28cbdffef77c18">draw_plasma</a> (const int x0, const int y0, const int x1, const int y1, const float alpha=1, const float beta=1, const float opacity=1)</td></tr> |
philpem@5 | 3687 | |
philpem@5 | 3688 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a plasma random texture. <a href="#aaf8df45b2e20d132a28cbdffef77c18"></a><br></td></tr> |
philpem@5 | 3689 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d8b2f5c685dbc7389dfb94217f4db8d2">draw_plasma</a> (const float alpha=1, const float beta=1, const float opacity=1)</td></tr> |
philpem@5 | 3690 | |
philpem@5 | 3691 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a plasma random texture. <a href="#d8b2f5c685dbc7389dfb94217f4db8d2"></a><br></td></tr> |
philpem@5 | 3692 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="692c2ecbd8cbe445b30129ebcc0d6d1c"></a><!-- doxytag: member="cimg_library::CImg::draw_mandelbrot" ref="692c2ecbd8cbe445b30129ebcc0d6d1c" args="(const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color_palette, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int itermax=255, const bool normalized_iteration=false, const bool julia_set=false, const double paramr=0, const double parami=0)" --> |
philpem@5 | 3693 | template<typename tc > </td></tr> |
philpem@5 | 3694 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#692c2ecbd8cbe445b30129ebcc0d6d1c">draw_mandelbrot</a> (const int x0, const int y0, const int x1, const int y1, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color_palette, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int itermax=255, const bool normalized_iteration=false, const bool julia_set=false, const double paramr=0, const double parami=0)</td></tr> |
philpem@5 | 3695 | |
philpem@5 | 3696 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a quadratic Mandelbrot or Julia fractal set, computed using the Escape Time Algorithm. <br></td></tr> |
philpem@5 | 3697 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="62813c326316d1c26e66300ed8e2abd6"></a><!-- doxytag: member="cimg_library::CImg::draw_mandelbrot" ref="62813c326316d1c26e66300ed8e2abd6" args="(const CImg< tc > &color_palette, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int itermax=255, const bool normalized_iteration=false, const bool julia_set=false, const double paramr=0, const double parami=0)" --> |
philpem@5 | 3698 | template<typename tc > </td></tr> |
philpem@5 | 3699 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#62813c326316d1c26e66300ed8e2abd6">draw_mandelbrot</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color_palette, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int itermax=255, const bool normalized_iteration=false, const bool julia_set=false, const double paramr=0, const double parami=0)</td></tr> |
philpem@5 | 3700 | |
philpem@5 | 3701 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a quadratic Mandelbrot or Julia fractal set, computed using the Escape Time Algorithm. <br></td></tr> |
philpem@5 | 3702 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3703 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c27a8c4da38899f60456ea7d3535915b">draw_gaussian</a> (const float xc, const float sigma, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3704 | |
philpem@5 | 3705 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 1D gaussian function in the instance image. <a href="#c27a8c4da38899f60456ea7d3535915b"></a><br></td></tr> |
philpem@5 | 3706 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4c4ad376ea82a0011dfffe348cb2df22"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="4c4ad376ea82a0011dfffe348cb2df22" args="(const float xc, const float sigma, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3707 | template<typename tc > </td></tr> |
philpem@5 | 3708 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4c4ad376ea82a0011dfffe348cb2df22">draw_gaussian</a> (const float xc, const float sigma, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3709 | |
philpem@5 | 3710 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 1D gaussian function in the instance image. <br></td></tr> |
philpem@5 | 3711 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3712 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#a56c60d556b1a888a4e3c6caee5a7f84">draw_gaussian</a> (const float xc, const float yc, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3713 | |
philpem@5 | 3714 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an anisotropic 2D gaussian function. <a href="#a56c60d556b1a888a4e3c6caee5a7f84"></a><br></td></tr> |
philpem@5 | 3715 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b1a88da86ed23cf357116c179ef151db"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="b1a88da86ed23cf357116c179ef151db" args="(const float xc, const float yc, const CImg< t > &tensor, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3716 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3717 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b1a88da86ed23cf357116c179ef151db">draw_gaussian</a> (const float xc, const float yc, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3718 | |
philpem@5 | 3719 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an anisotropic 2D gaussian function. <br></td></tr> |
philpem@5 | 3720 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9e7bd32ea10f9743f841668161162cfd"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="9e7bd32ea10f9743f841668161162cfd" args="(const int xc, const int yc, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity=1)" --> |
philpem@5 | 3721 | template<typename tc > </td></tr> |
philpem@5 | 3722 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#9e7bd32ea10f9743f841668161162cfd">draw_gaussian</a> (const int xc, const int yc, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3723 | |
philpem@5 | 3724 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an anisotropic 2D gaussian function. <br></td></tr> |
philpem@5 | 3725 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="da2517688892529a14e90bccf3134653"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="da2517688892529a14e90bccf3134653" args="(const int xc, const int yc, const float r1, const float r2, const float ru, const float rv, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3726 | template<typename tc > </td></tr> |
philpem@5 | 3727 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#da2517688892529a14e90bccf3134653">draw_gaussian</a> (const int xc, const int yc, const float r1, const float r2, const float ru, const float rv, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3728 | |
philpem@5 | 3729 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an anisotropic 2D gaussian function. <br></td></tr> |
philpem@5 | 3730 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3731 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5176ca43ce93eeaa158f8e3456606752">draw_gaussian</a> (const float xc, const float yc, const float sigma, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3732 | |
philpem@5 | 3733 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an isotropic 2D gaussian function. <a href="#5176ca43ce93eeaa158f8e3456606752"></a><br></td></tr> |
philpem@5 | 3734 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7ae227c9b85d8ede2974161072453165"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="7ae227c9b85d8ede2974161072453165" args="(const float xc, const float yc, const float sigma, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3735 | template<typename tc > </td></tr> |
philpem@5 | 3736 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7ae227c9b85d8ede2974161072453165">draw_gaussian</a> (const float xc, const float yc, const float sigma, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3737 | |
philpem@5 | 3738 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an isotropic 2D gaussian function. <br></td></tr> |
philpem@5 | 3739 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t , typename tc > </td></tr> |
philpem@5 | 3740 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1433a5536718d44e9b42462bdca5fc06">draw_gaussian</a> (const float xc, const float yc, const float zc, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3741 | |
philpem@5 | 3742 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an anisotropic 3D gaussian function. <a href="#1433a5536718d44e9b42462bdca5fc06"></a><br></td></tr> |
philpem@5 | 3743 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0f65bfb77647741ba879af6ca4abf64a"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="0f65bfb77647741ba879af6ca4abf64a" args="(const float xc, const float yc, const float zc, const CImg< t > &tensor, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3744 | template<typename t , typename tc > </td></tr> |
philpem@5 | 3745 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0f65bfb77647741ba879af6ca4abf64a">draw_gaussian</a> (const float xc, const float yc, const float zc, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &tensor, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3746 | |
philpem@5 | 3747 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an anisotropic 3D gaussian function. <br></td></tr> |
philpem@5 | 3748 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tc > </td></tr> |
philpem@5 | 3749 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7a9367d3e05ac8cda34fae2d639c42a6">draw_gaussian</a> (const float xc, const float yc, const float zc, const float sigma, const tc *const color, const float opacity=1)</td></tr> |
philpem@5 | 3750 | |
philpem@5 | 3751 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an isotropic 3D gaussian function. <a href="#7a9367d3e05ac8cda34fae2d639c42a6"></a><br></td></tr> |
philpem@5 | 3752 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="aae6a29e3158b86212e3e0022fd24a29"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="aae6a29e3158b86212e3e0022fd24a29" args="(const float xc, const float yc, const float zc, const float sigma, const CImg< tc > &color, const float opacity=1)" --> |
philpem@5 | 3753 | template<typename tc > </td></tr> |
philpem@5 | 3754 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#aae6a29e3158b86212e3e0022fd24a29">draw_gaussian</a> (const float xc, const float yc, const float zc, const float sigma, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity=1)</td></tr> |
philpem@5 | 3755 | |
philpem@5 | 3756 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw an isotropic 3D gaussian function. <br></td></tr> |
philpem@5 | 3757 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4d83da65e0fe2768209538b8a4abc9cb"></a><!-- doxytag: member="cimg_library::CImg::_draw_object3d_sprite" ref="4d83da65e0fe2768209538b8a4abc9cb" args="(const int x, const int y, const CImg< tc > &color, const CImg< to > &opacity, const CImg< T > &sprite)" --> |
philpem@5 | 3758 | template<typename tc , typename to > </td></tr> |
philpem@5 | 3759 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><b>_draw_object3d_sprite</b> (const int x, const int y, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< to > &opacity, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &sprite)</td></tr> |
philpem@5 | 3760 | |
philpem@5 | 3761 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a4324a764fca527d924c80afa867810e"></a><!-- doxytag: member="cimg_library::CImg::_draw_object3d_sprite" ref="a4324a764fca527d924c80afa867810e" args="(const int x, const int y, const CImg< tc > &color, const float opacity, const CImg< T > &sprite)" --> |
philpem@5 | 3762 | template<typename tc > </td></tr> |
philpem@5 | 3763 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><b>_draw_object3d_sprite</b> (const int x, const int y, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > &color, const float opacity, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &sprite)</td></tr> |
philpem@5 | 3764 | |
philpem@5 | 3765 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f864fee4be9bde0df0f94dc6c98aeac5"></a><!-- doxytag: member="cimg_library::CImg::_draw_object3d" ref="f864fee4be9bde0df0f94dc6c98aeac5" args="(void *const pboard, float *const zbuffer, const float X, const float Y, const float Z, const tp &points, const unsigned int nb_points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const unsigned int nb_opacities, const unsigned int render_type, const bool double_sided, const float focale, const float lightx, const float lighty, const float lightz, const float specular_light, const float specular_shine)" --> |
philpem@5 | 3766 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 3767 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_draw_object3d</b> (void *const pboard, float *const zbuffer, const float X, const float Y, const float Z, const tp &points, const unsigned int nb_points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const to &opacities, const unsigned int nb_opacities, const unsigned int render_type, const bool double_sided, const float focale, const float lightx, const float lighty, const float lightz, const float specular_light, const float specular_shine)</td></tr> |
philpem@5 | 3768 | |
philpem@5 | 3769 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 3770 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#be9e9614682023f314b77913230c373a">draw_object3d</a> (const float x0, const float y0, const float z0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)</td></tr> |
philpem@5 | 3771 | |
philpem@5 | 3772 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D object. <a href="#be9e9614682023f314b77913230c373a"></a><br></td></tr> |
philpem@5 | 3773 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="15bc5f4b0023f184bca2313574cf5a9b"></a><!-- doxytag: member="cimg_library::CImg::draw_object3d" ref="15bc5f4b0023f184bca2313574cf5a9b" args="(const float x0, const float y0, const float z0, const CImgList< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const CImgList< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)" --> |
philpem@5 | 3774 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 3775 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#15bc5f4b0023f184bca2313574cf5a9b">draw_object3d</a> (const float x0, const float y0, const float z0, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)</td></tr> |
philpem@5 | 3776 | |
philpem@5 | 3777 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D object. <br></td></tr> |
philpem@5 | 3778 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="361269687e070fbc2ad563100d8e2b14"></a><!-- doxytag: member="cimg_library::CImg::draw_object3d" ref="361269687e070fbc2ad563100d8e2b14" args="(const float x0, const float y0, const float z0, const CImg< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const CImg< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)" --> |
philpem@5 | 3779 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 3780 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#361269687e070fbc2ad563100d8e2b14">draw_object3d</a> (const float x0, const float y0, const float z0, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)</td></tr> |
philpem@5 | 3781 | |
philpem@5 | 3782 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D object. <br></td></tr> |
philpem@5 | 3783 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6d15e65031e820846b78928aa454baae"></a><!-- doxytag: member="cimg_library::CImg::draw_object3d" ref="6d15e65031e820846b78928aa454baae" args="(const float x0, const float y0, const float z0, const CImgList< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const CImg< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)" --> |
philpem@5 | 3784 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 3785 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6d15e65031e820846b78928aa454baae">draw_object3d</a> (const float x0, const float y0, const float z0, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)</td></tr> |
philpem@5 | 3786 | |
philpem@5 | 3787 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D object. <br></td></tr> |
philpem@5 | 3788 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1db83a74b0de1e81bfd71eaa1bb6ac4f"></a><!-- doxytag: member="cimg_library::CImg::draw_object3d" ref="1db83a74b0de1e81bfd71eaa1bb6ac4f" args="(const float x0, const float y0, const float z0, const tp &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)" --> |
philpem@5 | 3789 | template<typename tp , typename tf , typename tc > </td></tr> |
philpem@5 | 3790 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1db83a74b0de1e81bfd71eaa1bb6ac4f">draw_object3d</a> (const float x0, const float y0, const float z0, const tp &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)</td></tr> |
philpem@5 | 3791 | |
philpem@5 | 3792 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a 3D object. <br></td></tr> |
philpem@5 | 3793 | <tr><td colspan="2"><div class="groupHeader">Image Filtering</div></td></tr> |
philpem@5 | 3794 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 3795 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e42e12627e5a8204d328f84df9976fc8">correlate</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_correl=false)</td></tr> |
philpem@5 | 3796 | |
philpem@5 | 3797 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the correlation of the instance image by a mask. <a href="#e42e12627e5a8204d328f84df9976fc8"></a><br></td></tr> |
philpem@5 | 3798 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="808f71329066b3b28ca499a4b131750e"></a><!-- doxytag: member="cimg_library::CImg::get_correlate" ref="808f71329066b3b28ca499a4b131750e" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_correl=false) const " --> |
philpem@5 | 3799 | template<typename t > </td></tr> |
philpem@5 | 3800 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset2<br class="typebreak"> |
philpem@5 | 3801 | < T, t, float >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_correlate</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_correl=false) const </td></tr> |
philpem@5 | 3802 | |
philpem@5 | 3803 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 3804 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6ad1f71fcaf356a1480b81c55109ca86">convolve</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_convol=false)</td></tr> |
philpem@5 | 3805 | |
philpem@5 | 3806 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the convolution of the image by a mask. <a href="#6ad1f71fcaf356a1480b81c55109ca86"></a><br></td></tr> |
philpem@5 | 3807 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3ee97b3d9f79894fb0403cff6f04934e"></a><!-- doxytag: member="cimg_library::CImg::get_convolve" ref="3ee97b3d9f79894fb0403cff6f04934e" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_convol=false) const " --> |
philpem@5 | 3808 | template<typename t > </td></tr> |
philpem@5 | 3809 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset2<br class="typebreak"> |
philpem@5 | 3810 | < T, t, float >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_convolve</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_convol=false) const </td></tr> |
philpem@5 | 3811 | |
philpem@5 | 3812 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e82e75b5321e8702edcab8d0b8fdcd09"></a><!-- doxytag: member="cimg_library::CImg::erode" ref="e82e75b5321e8702edcab8d0b8fdcd09" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_erosion=false)" --> |
philpem@5 | 3813 | template<typename t > </td></tr> |
philpem@5 | 3814 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e82e75b5321e8702edcab8d0b8fdcd09">erode</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_erosion=false)</td></tr> |
philpem@5 | 3815 | |
philpem@5 | 3816 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the erosion of the image by a structuring element. <br></td></tr> |
philpem@5 | 3817 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="01ead4b927f9590e5084250d3c7e1122"></a><!-- doxytag: member="cimg_library::CImg::get_erode" ref="01ead4b927f9590e5084250d3c7e1122" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_erosion=false) const " --> |
philpem@5 | 3818 | template<typename t > </td></tr> |
philpem@5 | 3819 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 3820 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_erode</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_erosion=false) const </td></tr> |
philpem@5 | 3821 | |
philpem@5 | 3822 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fd7026f4a4063806639cb4cccf8019a7"></a><!-- doxytag: member="cimg_library::CImg::erode" ref="fd7026f4a4063806639cb4cccf8019a7" args="(const unsigned int n, const unsigned int cond=1)" --> |
philpem@5 | 3823 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fd7026f4a4063806639cb4cccf8019a7">erode</a> (const unsigned int n, const unsigned int cond=1)</td></tr> |
philpem@5 | 3824 | |
philpem@5 | 3825 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Erode the image by a square structuring element of size n. <br></td></tr> |
philpem@5 | 3826 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="351d5bc0b09bfff59d5287d277aa6884"></a><!-- doxytag: member="cimg_library::CImg::get_erode" ref="351d5bc0b09bfff59d5287d277aa6884" args="(const unsigned int n, const unsigned int cond=1) const " --> |
philpem@5 | 3827 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_erode</b> (const unsigned int n, const unsigned int cond=1) const </td></tr> |
philpem@5 | 3828 | |
philpem@5 | 3829 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d5da308710b26218600b8254d9e43204"></a><!-- doxytag: member="cimg_library::CImg::dilate" ref="d5da308710b26218600b8254d9e43204" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_dilatation=false)" --> |
philpem@5 | 3830 | template<typename t > </td></tr> |
philpem@5 | 3831 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d5da308710b26218600b8254d9e43204">dilate</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_dilatation=false)</td></tr> |
philpem@5 | 3832 | |
philpem@5 | 3833 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Dilate the image by a structuring element. <br></td></tr> |
philpem@5 | 3834 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1368d42a6b2a4feb2650371308a9ec43"></a><!-- doxytag: member="cimg_library::CImg::get_dilate" ref="1368d42a6b2a4feb2650371308a9ec43" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_dilatation=false) const " --> |
philpem@5 | 3835 | template<typename t > </td></tr> |
philpem@5 | 3836 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< typename cimg::superset<br class="typebreak"> |
philpem@5 | 3837 | < T, t >::type > </td><td class="memTemplItemRight" valign="bottom"><b>get_dilate</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &mask, const unsigned int cond=1, const bool weighted_dilatation=false) const </td></tr> |
philpem@5 | 3838 | |
philpem@5 | 3839 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="25bb84697a1482acd85000e6c41dc881"></a><!-- doxytag: member="cimg_library::CImg::dilate" ref="25bb84697a1482acd85000e6c41dc881" args="(const unsigned int n, const unsigned int cond=1)" --> |
philpem@5 | 3840 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#25bb84697a1482acd85000e6c41dc881">dilate</a> (const unsigned int n, const unsigned int cond=1)</td></tr> |
philpem@5 | 3841 | |
philpem@5 | 3842 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Dilate the image by a square structuring element of size n. <br></td></tr> |
philpem@5 | 3843 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18ae55e40daa190b2b96d51d4118b45e"></a><!-- doxytag: member="cimg_library::CImg::get_dilate" ref="18ae55e40daa190b2b96d51d4118b45e" args="(const unsigned int n, const unsigned int cond=1) const " --> |
philpem@5 | 3844 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_dilate</b> (const unsigned int n, const unsigned int cond=1) const </td></tr> |
philpem@5 | 3845 | |
philpem@5 | 3846 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#caf16c667ccfe861ba7c565537f67a1a">noise</a> (const double sigma, const unsigned int noise_type=0)</td></tr> |
philpem@5 | 3847 | |
philpem@5 | 3848 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add noise to the image. <a href="#caf16c667ccfe861ba7c565537f67a1a"></a><br></td></tr> |
philpem@5 | 3849 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="06964cb644890dcc424cc2ec18057780"></a><!-- doxytag: member="cimg_library::CImg::get_noise" ref="06964cb644890dcc424cc2ec18057780" args="(const double sigma, const unsigned int noise_type=0) const " --> |
philpem@5 | 3850 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_noise</b> (const double sigma, const unsigned int noise_type=0) const </td></tr> |
philpem@5 | 3851 | |
philpem@5 | 3852 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#be44da28a01b5632c9cb59af2ab6dab6">deriche</a> (const float sigma, const int order=0, const char axis='x', const bool cond=true)</td></tr> |
philpem@5 | 3853 | |
philpem@5 | 3854 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the result of the Deriche filter. <a href="#be44da28a01b5632c9cb59af2ab6dab6"></a><br></td></tr> |
philpem@5 | 3855 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78b160ef01bde55188950e5f9ba7ef57"></a><!-- doxytag: member="cimg_library::CImg::get_deriche" ref="78b160ef01bde55188950e5f9ba7ef57" args="(const float sigma, const int order=0, const char axis='x', const bool cond=true) const " --> |
philpem@5 | 3856 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_deriche</b> (const float sigma, const int order=0, const char axis='x', const bool cond=true) const </td></tr> |
philpem@5 | 3857 | |
philpem@5 | 3858 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#fcc7e2db6bcdb9da96698da4ef546678">blur</a> (const float sigmax, const float sigmay, const float sigmaz, const bool cond=true)</td></tr> |
philpem@5 | 3859 | |
philpem@5 | 3860 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a blurred version of the image, using a Canny-Deriche filter. <a href="#fcc7e2db6bcdb9da96698da4ef546678"></a><br></td></tr> |
philpem@5 | 3861 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ceb6caab72b2f7bd94697007d4f4aaf"></a><!-- doxytag: member="cimg_library::CImg::get_blur" ref="0ceb6caab72b2f7bd94697007d4f4aaf" args="(const float sigmax, const float sigmay, const float sigmaz, const bool cond=true) const " --> |
philpem@5 | 3862 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_blur</b> (const float sigmax, const float sigmay, const float sigmaz, const bool cond=true) const </td></tr> |
philpem@5 | 3863 | |
philpem@5 | 3864 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0da5be77c4b3829690661df2561b6c12"></a><!-- doxytag: member="cimg_library::CImg::blur" ref="0da5be77c4b3829690661df2561b6c12" args="(const float sigma, const bool cond=true)" --> |
philpem@5 | 3865 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0da5be77c4b3829690661df2561b6c12">blur</a> (const float sigma, const bool cond=true)</td></tr> |
philpem@5 | 3866 | |
philpem@5 | 3867 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a blurred version of the image, using a Canny-Deriche filter. <br></td></tr> |
philpem@5 | 3868 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c8102579c9f84a38ebea0bfc9f44dd9"></a><!-- doxytag: member="cimg_library::CImg::get_blur" ref="7c8102579c9f84a38ebea0bfc9f44dd9" args="(const float sigma, const bool cond=true) const " --> |
philpem@5 | 3869 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_blur</b> (const float sigma, const bool cond=true) const </td></tr> |
philpem@5 | 3870 | |
philpem@5 | 3871 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename t > </td></tr> |
philpem@5 | 3872 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#8df01b5bf7b7fee8719ac0b261d3f5d8">blur_anisotropic</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &G, const float amplitude=60, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true)</td></tr> |
philpem@5 | 3873 | |
philpem@5 | 3874 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Blur the image anisotropically following a field of diffusion tensors. <a href="#8df01b5bf7b7fee8719ac0b261d3f5d8"></a><br></td></tr> |
philpem@5 | 3875 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a1fda7efcb56f2aae4daa68cd580cb62"></a><!-- doxytag: member="cimg_library::CImg::get_blur_anisotropic" ref="a1fda7efcb56f2aae4daa68cd580cb62" args="(const CImg< t > &G, const float amplitude=60, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true) const " --> |
philpem@5 | 3876 | template<typename t > </td></tr> |
philpem@5 | 3877 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_blur_anisotropic</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > &G, const float amplitude=60, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true) const </td></tr> |
philpem@5 | 3878 | |
philpem@5 | 3879 | <tr><td class="memTemplParams" nowrap colspan="2">template<typename tm > </td></tr> |
philpem@5 | 3880 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2d20cc794442bfdcd9ff8e1a78e76224">blur_anisotropic</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > &mask, const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1)</td></tr> |
philpem@5 | 3881 | |
philpem@5 | 3882 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Blur an image in an anisotropic way. <a href="#2d20cc794442bfdcd9ff8e1a78e76224"></a><br></td></tr> |
philpem@5 | 3883 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="79a5065f9a4a95418c0b437ccb502e17"></a><!-- doxytag: member="cimg_library::CImg::get_blur_anisotropic" ref="79a5065f9a4a95418c0b437ccb502e17" args="(const CImg< tm > &mask, const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1) const " --> |
philpem@5 | 3884 | template<typename tm > </td></tr> |
philpem@5 | 3885 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memTemplItemRight" valign="bottom"><b>get_blur_anisotropic</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > &mask, const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1) const </td></tr> |
philpem@5 | 3886 | |
philpem@5 | 3887 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="96d79e2b965b9fa045c40974ba13b894"></a><!-- doxytag: member="cimg_library::CImg::blur_anisotropic" ref="96d79e2b965b9fa045c40974ba13b894" args="(const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1)" --> |
philpem@5 | 3888 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#96d79e2b965b9fa045c40974ba13b894">blur_anisotropic</a> (const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1)</td></tr> |
philpem@5 | 3889 | |
philpem@5 | 3890 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Blur an image following in an anisotropic way. <br></td></tr> |
philpem@5 | 3891 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ecfb3645d1515680c333b3bcb022bb4"></a><!-- doxytag: member="cimg_library::CImg::get_blur_anisotropic" ref="0ecfb3645d1515680c333b3bcb022bb4" args="(const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1) const " --> |
philpem@5 | 3892 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_blur_anisotropic</b> (const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1) const </td></tr> |
philpem@5 | 3893 | |
philpem@5 | 3894 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5171719110ee9897b557b21f773655b7">blur_bilateral</a> (const float sigmax, const float sigmay, const float sigmaz, const float sigmar, const int bgridx, const int bgridy, const int bgridz, const int bgridr, const bool interpolation_type=true)</td></tr> |
philpem@5 | 3895 | |
philpem@5 | 3896 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Blur an image using the bilateral filter. <a href="#5171719110ee9897b557b21f773655b7"></a><br></td></tr> |
philpem@5 | 3897 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bb11eb4e691efd3ea11d097e88f16e8"></a><!-- doxytag: member="cimg_library::CImg::get_blur_bilateral" ref="3bb11eb4e691efd3ea11d097e88f16e8" args="(const float sigmax, const float sigmay, const float sigmaz, const float sigmar, const int bgridx, const int bgridy, const int bgridz, const int bgridr, const bool interpolation_type=true) const " --> |
philpem@5 | 3898 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_blur_bilateral</b> (const float sigmax, const float sigmay, const float sigmaz, const float sigmar, const int bgridx, const int bgridy, const int bgridz, const int bgridr, const bool interpolation_type=true) const </td></tr> |
philpem@5 | 3899 | |
philpem@5 | 3900 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="904c1b55b3ee2db5b38c9478f30e8000"></a><!-- doxytag: member="cimg_library::CImg::blur_bilateral" ref="904c1b55b3ee2db5b38c9478f30e8000" args="(const float sigmas, const float sigmar, const int bgrids=-33, const int bgridr=32, const bool interpolation_type=true)" --> |
philpem@5 | 3901 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#904c1b55b3ee2db5b38c9478f30e8000">blur_bilateral</a> (const float sigmas, const float sigmar, const int bgrids=-33, const int bgridr=32, const bool interpolation_type=true)</td></tr> |
philpem@5 | 3902 | |
philpem@5 | 3903 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Blur an image using the bilateral filter. <br></td></tr> |
philpem@5 | 3904 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2fba0bad8ddc6a94f1973b1d7a49e357"></a><!-- doxytag: member="cimg_library::CImg::get_blur_bilateral" ref="2fba0bad8ddc6a94f1973b1d7a49e357" args="(const float sigmas, const float sigmar, const int bgrids=-33, const int bgridr=32, const bool interpolation_type=true) const " --> |
philpem@5 | 3905 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_blur_bilateral</b> (const float sigmas, const float sigmar, const int bgrids=-33, const int bgridr=32, const bool interpolation_type=true) const </td></tr> |
philpem@5 | 3906 | |
philpem@5 | 3907 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1f2ed9ee1db1a507c21a1863a3a51d11"></a><!-- doxytag: member="cimg_library::CImg::blur_patch" ref="1f2ed9ee1db1a507c21a1863a3a51d11" args="(const unsigned int patch_size, const float sigma_p, const float sigma_s=10, const unsigned int lookup_size=4, const bool fast_approx=true)" --> |
philpem@5 | 3908 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#1f2ed9ee1db1a507c21a1863a3a51d11">blur_patch</a> (const unsigned int patch_size, const float sigma_p, const float sigma_s=10, const unsigned int lookup_size=4, const bool fast_approx=true)</td></tr> |
philpem@5 | 3909 | |
philpem@5 | 3910 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Blur an image in its patch-based space. <br></td></tr> |
philpem@5 | 3911 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd1e8f7233396537dbfd56cc331dae5c"></a><!-- doxytag: member="cimg_library::CImg::get_blur_patch" ref="dd1e8f7233396537dbfd56cc331dae5c" args="(const unsigned int patch_size, const float sigma_p, const float sigma_s=10, const unsigned int lookup_size=4, const bool fast_approx=true) const " --> |
philpem@5 | 3912 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_blur_patch</b> (const unsigned int patch_size, const float sigma_p, const float sigma_s=10, const unsigned int lookup_size=4, const bool fast_approx=true) const </td></tr> |
philpem@5 | 3913 | |
philpem@5 | 3914 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9e7074da9c9955e37e9eebbd5bd9c22"></a><!-- doxytag: member="cimg_library::CImg::get_FFT" ref="e9e7074da9c9955e37e9eebbd5bd9c22" args="(const char axis, const bool invert=false) const " --> |
philpem@5 | 3915 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e9e7074da9c9955e37e9eebbd5bd9c22">get_FFT</a> (const char axis, const bool invert=false) const </td></tr> |
philpem@5 | 3916 | |
philpem@5 | 3917 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the Fast Fourier Transform of an image (along a specified axis). <br></td></tr> |
philpem@5 | 3918 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="344967c8b6e7bf0aa40039d1ab29efe2"></a><!-- doxytag: member="cimg_library::CImg::get_FFT" ref="344967c8b6e7bf0aa40039d1ab29efe2" args="(const bool invert=false) const " --> |
philpem@5 | 3919 | <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#344967c8b6e7bf0aa40039d1ab29efe2">get_FFT</a> (const bool invert=false) const </td></tr> |
philpem@5 | 3920 | |
philpem@5 | 3921 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the Fast Fourier Transform on an image. <br></td></tr> |
philpem@5 | 3922 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="55c5427152277f80c6cb9a36ae77ddf1"></a><!-- doxytag: member="cimg_library::CImg::blur_median" ref="55c5427152277f80c6cb9a36ae77ddf1" args="(const unsigned int n)" --> |
philpem@5 | 3923 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#55c5427152277f80c6cb9a36ae77ddf1">blur_median</a> (const unsigned int n)</td></tr> |
philpem@5 | 3924 | |
philpem@5 | 3925 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Apply a median filter. <br></td></tr> |
philpem@5 | 3926 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15f4354e553e72e8330a7c0bd0a90a27"></a><!-- doxytag: member="cimg_library::CImg::get_blur_median" ref="15f4354e553e72e8330a7c0bd0a90a27" args="(const unsigned int n)" --> |
philpem@5 | 3927 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_blur_median</b> (const unsigned int n)</td></tr> |
philpem@5 | 3928 | |
philpem@5 | 3929 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ecd4ea634e87995ef1d309b8ffe91de"></a><!-- doxytag: member="cimg_library::CImg::sharpen" ref="4ecd4ea634e87995ef1d309b8ffe91de" args="(const float amplitude, const bool sharpen_type=false, const float edge=1, const float alpha=0, const float sigma=0)" --> |
philpem@5 | 3930 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4ecd4ea634e87995ef1d309b8ffe91de">sharpen</a> (const float amplitude, const bool sharpen_type=false, const float edge=1, const float alpha=0, const float sigma=0)</td></tr> |
philpem@5 | 3931 | |
philpem@5 | 3932 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sharpen image using anisotropic shock filters or inverse diffusion. <br></td></tr> |
philpem@5 | 3933 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c81c77a021a6b97096bc46dbd5b7861a"></a><!-- doxytag: member="cimg_library::CImg::get_sharpen" ref="c81c77a021a6b97096bc46dbd5b7861a" args="(const float amplitude, const bool sharpen_type=false, const float edge=1, const float alpha=0, const float sigma=0) const " --> |
philpem@5 | 3934 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > </td><td class="memItemRight" valign="bottom"><b>get_sharpen</b> (const float amplitude, const bool sharpen_type=false, const float edge=1, const float alpha=0, const float sigma=0) const </td></tr> |
philpem@5 | 3935 | |
philpem@5 | 3936 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#09afff280828c5a8d5a7bef22993dacc">haar</a> (const char axis, const bool invert=false, const unsigned int nb_scales=1)</td></tr> |
philpem@5 | 3937 | |
philpem@5 | 3938 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the Haar multiscale wavelet transform (monodimensional version). <a href="#09afff280828c5a8d5a7bef22993dacc"></a><br></td></tr> |
philpem@5 | 3939 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="adcc510c6d5bd17092150e6024d52383"></a><!-- doxytag: member="cimg_library::CImg::get_haar" ref="adcc510c6d5bd17092150e6024d52383" args="(const char axis, const bool invert=false, const unsigned int nb_scales=1) const " --> |
philpem@5 | 3940 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_haar</b> (const char axis, const bool invert=false, const unsigned int nb_scales=1) const </td></tr> |
philpem@5 | 3941 | |
philpem@5 | 3942 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#dbb11ae1fffb253f45f3d0ff85a6857b">haar</a> (const bool invert=false, const unsigned int nb_scales=1)</td></tr> |
philpem@5 | 3943 | |
philpem@5 | 3944 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the Haar multiscale wavelet transform. <a href="#dbb11ae1fffb253f45f3d0ff85a6857b"></a><br></td></tr> |
philpem@5 | 3945 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2fb58636d47e185c1ab1f18ec4cef03"></a><!-- doxytag: member="cimg_library::CImg::get_haar" ref="e2fb58636d47e185c1ab1f18ec4cef03" args="(const bool invert=false, const unsigned int nb_scales=1) const " --> |
philpem@5 | 3946 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_haar</b> (const bool invert=false, const unsigned int nb_scales=1) const </td></tr> |
philpem@5 | 3947 | |
philpem@5 | 3948 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c5e31ec2d05a869a67705be11ad31c2"></a><!-- doxytag: member="cimg_library::CImg::displacement_field" ref="4c5e31ec2d05a869a67705be11ad31c2" args="(const CImg< T > &target, const float smooth=0.1f, const float precision=0.1f, const unsigned int nb_scales=0, const unsigned int itermax=10000)" --> |
philpem@5 | 3949 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#4c5e31ec2d05a869a67705be11ad31c2">displacement_field</a> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &target, const float smooth=0.1f, const float precision=0.1f, const unsigned int nb_scales=0, const unsigned int itermax=10000)</td></tr> |
philpem@5 | 3950 | |
philpem@5 | 3951 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Estimate a displacement field between instance image and given target image. <br></td></tr> |
philpem@5 | 3952 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="484f842e4772523b890fb115cd2b40f5"></a><!-- doxytag: member="cimg_library::CImg::get_displacement_field" ref="484f842e4772523b890fb115cd2b40f5" args="(const CImg< T > &target, const float smoothness=0.1f, const float precision=0.1f, const unsigned int nb_scales=0, const unsigned int itermax=10000) const " --> |
philpem@5 | 3953 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< Tfloat > </td><td class="memItemRight" valign="bottom"><b>get_displacement_field</b> (const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > &target, const float smoothness=0.1f, const float precision=0.1f, const unsigned int nb_scales=0, const unsigned int itermax=10000) const </td></tr> |
philpem@5 | 3954 | |
philpem@5 | 3955 | <tr><td colspan="2"><div class="groupHeader">Display</div></td></tr> |
philpem@5 | 3956 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ea0592215c6068e617a975a1fe5b7b7b"></a><!-- doxytag: member="cimg_library::CImg::display" ref="ea0592215c6068e617a975a1fe5b7b7b" args="(CImgDisplay &disp) const " --> |
philpem@5 | 3957 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ea0592215c6068e617a975a1fe5b7b7b">display</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp) const </td></tr> |
philpem@5 | 3958 | |
philpem@5 | 3959 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Display an image into a <a class="el" href="structcimg__library_1_1CImgDisplay.html" title="This class represents a window which can display CImg images and handles mouse and...">CImgDisplay</a> window. <br></td></tr> |
philpem@5 | 3960 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7875588dbc9fb83602611b6ae03c73fa"></a><!-- doxytag: member="cimg_library::CImg::display" ref="7875588dbc9fb83602611b6ae03c73fa" args="(CImgDisplay &disp, const bool display_info) const " --> |
philpem@5 | 3961 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7875588dbc9fb83602611b6ae03c73fa">display</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const bool display_info) const </td></tr> |
philpem@5 | 3962 | |
philpem@5 | 3963 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Display an image in a window with a title <code>title</code>, and wait a 'is_closed' or 'keyboard' event.<br> |
philpem@5 | 3964 | . <br></td></tr> |
philpem@5 | 3965 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32ca7381aa7cc3e3b8620024767e8525"></a><!-- doxytag: member="cimg_library::CImg::display" ref="32ca7381aa7cc3e3b8620024767e8525" args="(const char *const title=0, const bool display_info=true) const " --> |
philpem@5 | 3966 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#32ca7381aa7cc3e3b8620024767e8525">display</a> (const char *const title=0, const bool display_info=true) const </td></tr> |
philpem@5 | 3967 | |
philpem@5 | 3968 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Display an image in a window with a title <code>title</code>, and wait a 'is_closed' or 'keyboard' event.<br> |
philpem@5 | 3969 | . <br></td></tr> |
philpem@5 | 3970 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1b0fa3e83defeb353d65e7094b3caa8"></a><!-- doxytag: member="cimg_library::CImg::_display" ref="c1b0fa3e83defeb353d65e7094b3caa8" args="(CImgDisplay &disp, const char *const title, const bool display_info) const " --> |
philpem@5 | 3971 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><b>_display</b> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const char *const title, const bool display_info) const </td></tr> |
philpem@5 | 3972 | |
philpem@5 | 3973 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#0a8ac68afbfb317c60b7554f5cdcbbd5">select</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0)</td></tr> |
philpem@5 | 3974 | |
philpem@5 | 3975 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Simple interface to select a shape from an image. <a href="#0a8ac68afbfb317c60b7554f5cdcbbd5"></a><br></td></tr> |
philpem@5 | 3976 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="261706fc929ade9d440e0eb66b08f843"></a><!-- doxytag: member="cimg_library::CImg::select" ref="261706fc929ade9d440e0eb66b08f843" args="(const char *const title, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0)" --> |
philpem@5 | 3977 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#261706fc929ade9d440e0eb66b08f843">select</a> (const char *const title, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0)</td></tr> |
philpem@5 | 3978 | |
philpem@5 | 3979 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Simple interface to select a shape from an image. <br></td></tr> |
philpem@5 | 3980 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="58b982e2bd8adf8792df5caff7549aa6"></a><!-- doxytag: member="cimg_library::CImg::get_select" ref="58b982e2bd8adf8792df5caff7549aa6" args="(CImgDisplay &disp, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) const " --> |
philpem@5 | 3981 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< intT > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#58b982e2bd8adf8792df5caff7549aa6">get_select</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) const </td></tr> |
philpem@5 | 3982 | |
philpem@5 | 3983 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Simple interface to select a shape from an image. <br></td></tr> |
philpem@5 | 3984 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e64832c20063e4c9bd1dbc6a3ffe3173"></a><!-- doxytag: member="cimg_library::CImg::get_select" ref="e64832c20063e4c9bd1dbc6a3ffe3173" args="(const char *const title, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) const " --> |
philpem@5 | 3985 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< intT > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e64832c20063e4c9bd1dbc6a3ffe3173">get_select</a> (const char *const title, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) const </td></tr> |
philpem@5 | 3986 | |
philpem@5 | 3987 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Simple interface to select a shape from an image. <br></td></tr> |
philpem@5 | 3988 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b470ff84bcac27328430e271067570bd"></a><!-- doxytag: member="cimg_library::CImg::_get_select" ref="b470ff84bcac27328430e271067570bd" args="(CImgDisplay &disp, const char *const title, const int coords_type, unsigned int *const XYZ, const unsigned char *const color, const int origX, const int origY, const int origZ) const " --> |
philpem@5 | 3989 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< intT > </td><td class="memItemRight" valign="bottom"><b>_get_select</b> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const char *const title, const int coords_type, unsigned int *const XYZ, const unsigned char *const color, const int origX, const int origY, const int origZ) const </td></tr> |
philpem@5 | 3990 | |
philpem@5 | 3991 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f3911af4a4d37ca22b6d4c4a91cdced4"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="f3911af4a4d37ca22b6d4c4a91cdced4" args="(CImgDisplay &disp, const CImg< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 3992 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 3993 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f3911af4a4d37ca22b6d4c4a91cdced4">display_object3d</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 3994 | |
philpem@5 | 3995 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 3996 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="efa6a74da889dbd49d102d0c6bf44763"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="efa6a74da889dbd49d102d0c6bf44763" args="(const char *const title, const CImg< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 3997 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 3998 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#efa6a74da889dbd49d102d0c6bf44763">display_object3d</a> (const char *const title, const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 3999 | |
philpem@5 | 4000 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4001 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="691a674d72768e09816066a1e38702a2"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="691a674d72768e09816066a1e38702a2" args="(CImgDisplay &disp, const CImgList< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4002 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 4003 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#691a674d72768e09816066a1e38702a2">display_object3d</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4004 | |
philpem@5 | 4005 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4006 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="6e61e9200f57599bf0824c094eb5a354"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="6e61e9200f57599bf0824c094eb5a354" args="(const char *const title, const CImgList< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4007 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 4008 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#6e61e9200f57599bf0824c094eb5a354">display_object3d</a> (const char *const title, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tp > &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4009 | |
philpem@5 | 4010 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4011 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="35cd00c0ec9c854ce5e39f87088b1db9"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="35cd00c0ec9c854ce5e39f87088b1db9" args="(CImgDisplay &disp, const tp &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4012 | template<typename tp , typename tf , typename tc > </td></tr> |
philpem@5 | 4013 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#35cd00c0ec9c854ce5e39f87088b1db9">display_object3d</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const tp &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4014 | |
philpem@5 | 4015 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4016 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="e49fbebeb4f8c14e0cd9665c3b028f75"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="e49fbebeb4f8c14e0cd9665c3b028f75" args="(const char *const title, const tp &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4017 | template<typename tp , typename tf , typename tc > </td></tr> |
philpem@5 | 4018 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#e49fbebeb4f8c14e0cd9665c3b028f75">display_object3d</a> (const char *const title, const tp &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4019 | |
philpem@5 | 4020 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4021 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="663dbef9833a84680a1e968b2c73898e"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="663dbef9833a84680a1e968b2c73898e" args="(CImgDisplay &disp, const tp &points, const CImgList< tf > &primitives, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4022 | template<typename tp , typename tf > </td></tr> |
philpem@5 | 4023 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#663dbef9833a84680a1e968b2c73898e">display_object3d</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const tp &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4024 | |
philpem@5 | 4025 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4026 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f171ffa62145cddc5d1d8759e32edf06"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="f171ffa62145cddc5d1d8759e32edf06" args="(const char *const title, const tp &points, const CImgList< tf > &primitives, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4027 | template<typename tp , typename tf > </td></tr> |
philpem@5 | 4028 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f171ffa62145cddc5d1d8759e32edf06">display_object3d</a> (const char *const title, const tp &points, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4029 | |
philpem@5 | 4030 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4031 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f5fba60de29f4cb2dec393205cdc0389"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="f5fba60de29f4cb2dec393205cdc0389" args="(CImgDisplay &disp, const tp &points, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4032 | template<typename tp > </td></tr> |
philpem@5 | 4033 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#f5fba60de29f4cb2dec393205cdc0389">display_object3d</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const tp &points, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4034 | |
philpem@5 | 4035 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4036 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="7930edce3dc8213a9f45162165f1ce47"></a><!-- doxytag: member="cimg_library::CImg::display_object3d" ref="7930edce3dc8213a9f45162165f1ce47" args="(const char *const title, const tp &points, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const " --> |
philpem@5 | 4037 | template<typename tp > </td></tr> |
philpem@5 | 4038 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#7930edce3dc8213a9f45162165f1ce47">display_object3d</a> (const char *const title, const tp &points, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=false, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const </td></tr> |
philpem@5 | 4039 | |
philpem@5 | 4040 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a 3d object. <br></td></tr> |
philpem@5 | 4041 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93c06c7c1376bb0728ce011978e3b004"></a><!-- doxytag: member="cimg_library::CImg::_display_object3d_at2" ref="93c06c7c1376bb0728ce011978e3b004" args="(const int i, const int j) const " --> |
philpem@5 | 4042 | T </td><td class="memItemRight" valign="bottom"><b>_display_object3d_at2</b> (const int i, const int j) const </td></tr> |
philpem@5 | 4043 | |
philpem@5 | 4044 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="9e4b5144fdbf2a021ae65cf07b41bc03"></a><!-- doxytag: member="cimg_library::CImg::_display_object3d" ref="9e4b5144fdbf2a021ae65cf07b41bc03" args="(CImgDisplay &disp, const char *const title, const tp &points, const unsigned int Npoints, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering, const int render_static, const int render_motion, const bool double_sided, const float focale, const float specular_light, const float specular_shine, const bool display_axes, float *const pose_matrix) const " --> |
philpem@5 | 4045 | template<typename tp , typename tf , typename tc , typename to > </td></tr> |
philpem@5 | 4046 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>_display_object3d</b> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const char *const title, const tp &points, const unsigned int Npoints, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > &primitives, const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > &colors, const to &opacities, const bool centering, const int render_static, const int render_motion, const bool double_sided, const float focale, const float specular_light, const float specular_shine, const bool display_axes, float *const pose_matrix) const </td></tr> |
philpem@5 | 4047 | |
philpem@5 | 4048 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cacf5a4ef4f35c7a396dc7759928c30b"></a><!-- doxytag: member="cimg_library::CImg::display_graph" ref="cacf5a4ef4f35c7a396dc7759928c30b" args="(CImgDisplay &disp, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const " --> |
philpem@5 | 4049 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#cacf5a4ef4f35c7a396dc7759928c30b">display_graph</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const </td></tr> |
philpem@5 | 4050 | |
philpem@5 | 4051 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a graph. <br></td></tr> |
philpem@5 | 4052 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97baf05869f5a0cc24b3f7c2375570bb"></a><!-- doxytag: member="cimg_library::CImg::display_graph" ref="97baf05869f5a0cc24b3f7c2375570bb" args="(const char *const title=0, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const " --> |
philpem@5 | 4053 | const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#97baf05869f5a0cc24b3f7c2375570bb">display_graph</a> (const char *const title=0, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const </td></tr> |
philpem@5 | 4054 | |
philpem@5 | 4055 | <tr><td class="mdescLeft"> </td><td class="mdescRight">High-level interface for displaying a graph. <br></td></tr> |
philpem@5 | 4056 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2b77e436a48fd24c423e924c2dae4072"></a><!-- doxytag: member="cimg_library::CImg::get_select_graph" ref="2b77e436a48fd24c423e924c2dae4072" args="(CImgDisplay &disp, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const " --> |
philpem@5 | 4057 | <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< intT > </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#2b77e436a48fd24c423e924c2dae4072">get_select_graph</a> (<a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> &disp, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const </td></tr> |
philpem@5 | 4058 | |
philpem@5 | 4059 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Select sub-graph in a graph. <br></td></tr> |
philpem@5 | 4060 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
philpem@5 | 4061 | <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a></td></tr> |
philpem@5 | 4062 | |
philpem@5 | 4063 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Variable representing the width of the instance image (i.e. dimensions along the X-axis). <a href="#ca34d28e3d8bcbcadb8edb4e3af24f8c"></a><br></td></tr> |
philpem@5 | 4064 | <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a></td></tr> |
philpem@5 | 4065 | |
philpem@5 | 4066 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Variable representing the height of the instance image (i.e. dimensions along the Y-axis). <a href="#b2e78c61905b4419fcc7b4cfc500fe85"></a><br></td></tr> |
philpem@5 | 4067 | <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a></td></tr> |
philpem@5 | 4068 | |
philpem@5 | 4069 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Variable representing the depth of the instance image (i.e. dimensions along the Z-axis). <a href="#5081a26baa914156df8541b03d09492e"></a><br></td></tr> |
philpem@5 | 4070 | <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#d335dc2821e58000fb6d0f0ed6ba835f">dim</a></td></tr> |
philpem@5 | 4071 | |
philpem@5 | 4072 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Variable representing the number of channels of the instance image (i.e. dimensions along the V-axis). <a href="#d335dc2821e58000fb6d0f0ed6ba835f"></a><br></td></tr> |
philpem@5 | 4073 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64fc9b1179593151684cfdc86dac7e65"></a><!-- doxytag: member="cimg_library::CImg::is_shared" ref="64fc9b1179593151684cfdc86dac7e65" args="" --> |
philpem@5 | 4074 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#64fc9b1179593151684cfdc86dac7e65">is_shared</a></td></tr> |
philpem@5 | 4075 | |
philpem@5 | 4076 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Variable telling if pixel buffer of the instance image is shared with another one. <br></td></tr> |
philpem@5 | 4077 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c88dceffbecaed1137b0e27783adbcc5"></a><!-- doxytag: member="cimg_library::CImg::data" ref="c88dceffbecaed1137b0e27783adbcc5" args="" --> |
philpem@5 | 4078 | T * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1CImg.html#c88dceffbecaed1137b0e27783adbcc5">data</a></td></tr> |
philpem@5 | 4079 | |
philpem@5 | 4080 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer to the first pixel of the pixel buffer. <br></td></tr> |
philpem@5 | 4081 | </table> |
philpem@5 | 4082 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
philpem@5 | 4083 | <h3>template<typename T><br> |
philpem@5 | 4084 | struct cimg_library::CImg< T ></h3> |
philpem@5 | 4085 | |
philpem@5 | 4086 | Class representing an image (up to 4 dimensions wide), each pixel being of type <code>T</code>. |
philpem@5 | 4087 | <p> |
philpem@5 | 4088 | This is the main class of the CImg Library. It declares and constructs an image, allows access to its pixel values, and is able to perform various image operations.<p> |
philpem@5 | 4089 | <dl class="user" compact><dt><b>Image representation</b></dt><dd></dd></dl> |
philpem@5 | 4090 | A CImg image is defined as an instance of the container <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><<code>T></code>, which contains a regular grid of pixels, each pixel value being of type <code>T</code>. The image grid can have up to 4 dimensions : width, height, depth and number of channels. Usually, the three first dimensions are used to describe spatial coordinates <code>(x,y,z)</code>, while the number of channels is rather used as a vector-valued dimension (it may describe the R,G,B color channels for instance). If you need a fifth dimension, you can use image lists <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a><<code>T></code> rather than simple images <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><<code>T></code>.<p> |
philpem@5 | 4091 | Thus, the <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><<code>T></code> class is able to represent volumetric images of vector-valued pixels, as well as images with less dimensions (1D scalar signal, 2D color images, ...). Most member functions of the class <a class="el" href="structcimg__library_1_1CImg.html" title="Class representing an image (up to 4 dimensions wide), each pixel being of type T...">CImg</a><<code>T></code> are designed to handle this maximum case of (3+1) dimensions.<p> |
philpem@5 | 4092 | Concerning the pixel value type <code>T</code> : fully supported template types are the basic C++ types : <code>unsigned char, char, short, unsigned int, int, unsigned long, long, float, double, ... </code>. Typically, fast image display can be done using <code>CImg<unsigned char></code> images, while complex image processing algorithms may be rather coded using <code>CImg<float></code> or <code>CImg<double></code> images that have floating-point pixel values. The default value for the template T is <code>float</code>. Using your own template types may be possible. However, you will certainly have to define the complete set of arithmetic and logical operators for your class.<p> |
philpem@5 | 4093 | <dl class="user" compact><dt><b>Image structure</b></dt><dd></dd></dl> |
philpem@5 | 4094 | The <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><<code>T></code> structure contains <em>six</em> fields :<ul> |
philpem@5 | 4095 | <li><a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a> defines the number of <em>columns</em> of the image (size along the X-axis).</li><li><a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a> defines the number of <em>rows</em> of the image (size along the Y-axis).</li><li><a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a> defines the number of <em>slices</em> of the image (size along the Z-axis).</li><li><a class="el" href="structcimg__library_1_1CImg.html#d335dc2821e58000fb6d0f0ed6ba835f">dim</a> defines the number of <em>channels</em> of the image (size along the V-axis).</li><li><a class="el" href="structcimg__library_1_1CImg.html#c88dceffbecaed1137b0e27783adbcc5">data</a> defines a <em>pointer</em> to the <em>pixel</em> <em>data</em> (of type <code>T</code>).</li><li><a class="el" href="structcimg__library_1_1CImg.html#64fc9b1179593151684cfdc86dac7e65">is_shared</a> is a boolean that tells if the memory buffer <a class="el" href="structcimg__library_1_1CImg.html#c88dceffbecaed1137b0e27783adbcc5">data</a> is shared with another image.</li></ul> |
philpem@5 | 4096 | <p> |
philpem@5 | 4097 | You can access these fields publicly although it is recommended to use the dedicated functions <a class="el" href="structcimg__library_1_1CImg.html#afae58d5a77ea4190e6f2c818238bd1a" title="Return the number of columns of the instance image (size along the X-axis, i.e image...">dimx()</a>, <a class="el" href="structcimg__library_1_1CImg.html#fc3244815fd1b4cea186b6a63bfb635d" title="Return the number of rows of the instance image (size along the Y-axis, i.e image...">dimy()</a>, <a class="el" href="structcimg__library_1_1CImg.html#b310ef9114198b570d035fd914d5a215" title="Return the number of slices of the instance image (size along the Z-axis).">dimz()</a>, <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> and <a class="el" href="structcimg__library_1_1CImg.html#3295aee3e56bc13ea3aa5d1a5dc6bcda" title="Return a pointer to the pixel buffer.">ptr()</a> to do so. Image dimensions are not limited to a specific range (as long as you got enough available memory). A value of <em>1</em> usually means that the corresponding dimension is <em>flat</em>. If one of the dimensions is <em>0</em>, or if the data pointer is null, the image is considered as <em>empty</em>. Empty images should not contain any pixel data and thus, will not be processed by <a class="el" href="structcimg__library_1_1CImg.html" title="Class representing an image (up to 4 dimensions wide), each pixel being of type T...">CImg</a> member functions (a CImgInstanceException will be thrown instead). Pixel data are stored in memory, in a non interlaced mode (See <a class="el" href="group__cimg__storage.html">How pixel data are stored with CImg.</a>).<p> |
philpem@5 | 4098 | <dl class="user" compact><dt><b>Image declaration and construction</b></dt><dd></dd></dl> |
philpem@5 | 4099 | Declaring an image can be done by using one of the several available constructors. Here is a list of the most used :<p> |
philpem@5 | 4100 | <ul> |
philpem@5 | 4101 | <li>Construct images from arbitrary dimensions :<ul> |
philpem@5 | 4102 | <li><code>CImg<char> img;</code> declares an empty image.</li><li><code>CImg<unsigned char> img(128,128);</code> declares a 128x128 greyscale image with <code>unsigned</code> <code>char</code> pixel values.</li><li><code>CImg<double> img(3,3);</code> declares a 3x3 matrix with <code>double</code> coefficients.</li><li><code>CImg<unsigned char> img(256,256,1,3);</code> declares a 256x256x1x3 (color) image (colors are stored as an image with three channels).</li><li><code>CImg<double> img(128,128,128);</code> declares a 128x128x128 volumetric and greyscale image (with <code>double</code> pixel values).</li><li><code>CImg<> img(128,128,128,3);</code> declares a 128x128x128 volumetric color image (with <code>float</code> pixels, which is the default value of the template parameter <code>T</code>).</li><li><b>Note</b> : images pixels are <b>not automatically initialized to 0</b>. You may use the function <a class="el" href="structcimg__library_1_1CImg.html#494a1e1424510af07e705dfe9b5f78bd">fill()</a> to do it, or use the specific constructor taking 5 parameters like this : <code>CImg<> img(128,128,128,3,0);</code> declares a 128x128x128 volumetric color image with all pixel values to 0.</li></ul> |
philpem@5 | 4103 | </li></ul> |
philpem@5 | 4104 | <p> |
philpem@5 | 4105 | <ul> |
philpem@5 | 4106 | <li>Construct images from filenames :<ul> |
philpem@5 | 4107 | <li><code>CImg<unsigned char> img("image.jpg");</code> reads a JPEG color image from the file "image.jpg".</li><li><code>CImg<float> img("analyze.hdr");</code> reads a volumetric image (ANALYZE7.5 format) from the file "analyze.hdr".</li><li><b>Note</b> : You need to install <a href="http://www.imagemagick.org">ImageMagick</a> to be able to read common compressed image formats (JPG,PNG, ...) (See <a class="el" href="group__cimg__files__io.html">Files IO in CImg.</a>).</li></ul> |
philpem@5 | 4108 | </li></ul> |
philpem@5 | 4109 | <p> |
philpem@5 | 4110 | <ul> |
philpem@5 | 4111 | <li>Construct images from C-style arrays :<ul> |
philpem@5 | 4112 | <li><code>CImg<int> img(data_buffer,256,256);</code> constructs a 256x256 greyscale image from a <code>int*</code> buffer <code>data_buffer</code> (of size 256x256=65536).</li><li><code>CImg<unsigned char> img(data_buffer,256,256,1,3,false);</code> constructs a 256x256 color image from a <code>unsigned</code> <code>char*</code> buffer <code>data_buffer</code> (where R,G,B channels follow each others).</li><li><code>CImg<unsigned char> img(data_buffer,256,256,1,3,true);</code> constructs a 256x256 color image from a <code>unsigned</code> <code>char*</code> buffer <code>data_buffer</code> (where R,G,B channels are multiplexed).</li></ul> |
philpem@5 | 4113 | </li></ul> |
philpem@5 | 4114 | <p> |
philpem@5 | 4115 | The complete list of constructors can be found <a href="#constructors">here</a>.<p> |
philpem@5 | 4116 | <dl class="user" compact><dt><b>Most useful functions</b></dt><dd></dd></dl> |
philpem@5 | 4117 | The <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><<code>T></code> class contains a lot of functions that operates on images. Some of the most useful are :<p> |
philpem@5 | 4118 | <ul> |
philpem@5 | 4119 | <li><a class="el" href="structcimg__library_1_1CImg.html#b8fbc19527504258380aaed12c4bec4b" title="Fast access to pixel value for reading or writing.">operator()()</a>, <a class="el" href="structcimg__library_1_1CImg.html#87f4042f1af3428fa0ad1a9480286abe" title="Fast access to pixel value for reading or writing, using an offset to the image pixel...">operator[]()</a> : allows to access or write pixel values.</li><li><a class="el" href="structcimg__library_1_1CImg.html#ea0592215c6068e617a975a1fe5b7b7b" title="Display an image into a CImgDisplay window.">display()</a> : displays the image in a new window. </li></ul> |
philpem@5 | 4120 | <hr><h2>Member Typedef Documentation</h2> |
philpem@5 | 4121 | <a class="anchor" name="35c955cacac6aacaa1e82874b1628865"></a><!-- doxytag: member="cimg_library::CImg::iterator" ref="35c955cacac6aacaa1e82874b1628865" args="" --> |
philpem@5 | 4122 | <div class="memitem"> |
philpem@5 | 4123 | <div class="memproto"> |
philpem@5 | 4124 | <table class="memname"> |
philpem@5 | 4125 | <tr> |
philpem@5 | 4126 | <td class="memname">typedef T* <a class="el" href="structcimg__library_1_1CImg.html#35c955cacac6aacaa1e82874b1628865">iterator</a> </td> |
philpem@5 | 4127 | </tr> |
philpem@5 | 4128 | </table> |
philpem@5 | 4129 | </div> |
philpem@5 | 4130 | <div class="memdoc"> |
philpem@5 | 4131 | |
philpem@5 | 4132 | <p> |
philpem@5 | 4133 | Iterator type for CImg<T>. |
philpem@5 | 4134 | <p> |
philpem@5 | 4135 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4136 | <li>An <code>iterator</code> is a <code>T*</code> pointer (address of a pixel value in the pixel buffer).</li><li>Iterators are not directly used in CImg functions, they have been introduced for compatibility with the STL. </li></ul> |
philpem@5 | 4137 | </dd></dl> |
philpem@5 | 4138 | |
philpem@5 | 4139 | </div> |
philpem@5 | 4140 | </div><p> |
philpem@5 | 4141 | <a class="anchor" name="2fc97dce62b7053449cc868607540dba"></a><!-- doxytag: member="cimg_library::CImg::const_iterator" ref="2fc97dce62b7053449cc868607540dba" args="" --> |
philpem@5 | 4142 | <div class="memitem"> |
philpem@5 | 4143 | <div class="memproto"> |
philpem@5 | 4144 | <table class="memname"> |
philpem@5 | 4145 | <tr> |
philpem@5 | 4146 | <td class="memname">typedef const T* <a class="el" href="structcimg__library_1_1CImg.html#2fc97dce62b7053449cc868607540dba">const_iterator</a> </td> |
philpem@5 | 4147 | </tr> |
philpem@5 | 4148 | </table> |
philpem@5 | 4149 | </div> |
philpem@5 | 4150 | <div class="memdoc"> |
philpem@5 | 4151 | |
philpem@5 | 4152 | <p> |
philpem@5 | 4153 | Const iterator type for CImg<T>. |
philpem@5 | 4154 | <p> |
philpem@5 | 4155 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4156 | <li>A <code>const_iterator</code> is a <code>const T*</code> pointer (address of a pixel value in the pixel buffer).</li><li>Iterators are not directly used in CImg functions, they have been introduced for compatibility with the STL. </li></ul> |
philpem@5 | 4157 | </dd></dl> |
philpem@5 | 4158 | |
philpem@5 | 4159 | </div> |
philpem@5 | 4160 | </div><p> |
philpem@5 | 4161 | <hr><h2>Constructor & Destructor Documentation</h2> |
philpem@5 | 4162 | <a class="anchor" name="d71c294580a5307aa31246e4a1ee7866"></a><!-- doxytag: member="cimg_library::CImg::~CImg" ref="d71c294580a5307aa31246e4a1ee7866" args="()" --> |
philpem@5 | 4163 | <div class="memitem"> |
philpem@5 | 4164 | <div class="memproto"> |
philpem@5 | 4165 | <table class="memname"> |
philpem@5 | 4166 | <tr> |
philpem@5 | 4167 | <td class="memname">~<a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4168 | <td>(</td> |
philpem@5 | 4169 | <td class="paramname"> </td> |
philpem@5 | 4170 | <td> ) </td> |
philpem@5 | 4171 | <td><code> [inline]</code></td> |
philpem@5 | 4172 | </tr> |
philpem@5 | 4173 | </table> |
philpem@5 | 4174 | </div> |
philpem@5 | 4175 | <div class="memdoc"> |
philpem@5 | 4176 | |
philpem@5 | 4177 | <p> |
philpem@5 | 4178 | Destructor. |
philpem@5 | 4179 | <p> |
philpem@5 | 4180 | The destructor destroys the instance image. <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4181 | <li>Destructing an empty or shared image does nothing.</li><li>Otherwise, all memory used to store the pixel data of the instance image is freed.</li><li>When destroying a non-shared image, be sure that every shared instances of the same image are also destroyed to avoid further access to desallocated memory buffers. </li></ul> |
philpem@5 | 4182 | </dd></dl> |
philpem@5 | 4183 | |
philpem@5 | 4184 | </div> |
philpem@5 | 4185 | </div><p> |
philpem@5 | 4186 | <a class="anchor" name="8a31842596268c9fc95810890607762f"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="8a31842596268c9fc95810890607762f" args="()" --> |
philpem@5 | 4187 | <div class="memitem"> |
philpem@5 | 4188 | <div class="memproto"> |
philpem@5 | 4189 | <table class="memname"> |
philpem@5 | 4190 | <tr> |
philpem@5 | 4191 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4192 | <td>(</td> |
philpem@5 | 4193 | <td class="paramname"> </td> |
philpem@5 | 4194 | <td> ) </td> |
philpem@5 | 4195 | <td><code> [inline]</code></td> |
philpem@5 | 4196 | </tr> |
philpem@5 | 4197 | </table> |
philpem@5 | 4198 | </div> |
philpem@5 | 4199 | <div class="memdoc"> |
philpem@5 | 4200 | |
philpem@5 | 4201 | <p> |
philpem@5 | 4202 | Default constructor. |
philpem@5 | 4203 | <p> |
philpem@5 | 4204 | The default constructor creates an empty instance image. <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4205 | <li>An empty image does not contain any data and has all of its dimensions <a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a>, <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a>, <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a>, <a class="el" href="structcimg__library_1_1CImg.html#d335dc2821e58000fb6d0f0ed6ba835f">dim</a> set to 0 as well as its pointer to the pixel buffer <a class="el" href="structcimg__library_1_1CImg.html#c88dceffbecaed1137b0e27783adbcc5">data</a>.</li><li>An empty image is non-shared. </li></ul> |
philpem@5 | 4206 | </dd></dl> |
philpem@5 | 4207 | |
philpem@5 | 4208 | </div> |
philpem@5 | 4209 | </div><p> |
philpem@5 | 4210 | <a class="anchor" name="f0cf1b66afb42bbb4750895fe66bcc69"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="f0cf1b66afb42bbb4750895fe66bcc69" args="(const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)" --> |
philpem@5 | 4211 | <div class="memitem"> |
philpem@5 | 4212 | <div class="memproto"> |
philpem@5 | 4213 | <table class="memname"> |
philpem@5 | 4214 | <tr> |
philpem@5 | 4215 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4216 | <td>(</td> |
philpem@5 | 4217 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4218 | <td class="paramname"> <em>dx</em>, </td> |
philpem@5 | 4219 | </tr> |
philpem@5 | 4220 | <tr> |
philpem@5 | 4221 | <td class="paramkey"></td> |
philpem@5 | 4222 | <td></td> |
philpem@5 | 4223 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4224 | <td class="paramname"> <em>dy</em> = <code>1</code>, </td> |
philpem@5 | 4225 | </tr> |
philpem@5 | 4226 | <tr> |
philpem@5 | 4227 | <td class="paramkey"></td> |
philpem@5 | 4228 | <td></td> |
philpem@5 | 4229 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4230 | <td class="paramname"> <em>dz</em> = <code>1</code>, </td> |
philpem@5 | 4231 | </tr> |
philpem@5 | 4232 | <tr> |
philpem@5 | 4233 | <td class="paramkey"></td> |
philpem@5 | 4234 | <td></td> |
philpem@5 | 4235 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4236 | <td class="paramname"> <em>dv</em> = <code>1</code></td><td> </td> |
philpem@5 | 4237 | </tr> |
philpem@5 | 4238 | <tr> |
philpem@5 | 4239 | <td></td> |
philpem@5 | 4240 | <td>)</td> |
philpem@5 | 4241 | <td></td><td></td><td><code> [inline, explicit]</code></td> |
philpem@5 | 4242 | </tr> |
philpem@5 | 4243 | </table> |
philpem@5 | 4244 | </div> |
philpem@5 | 4245 | <div class="memdoc"> |
philpem@5 | 4246 | |
philpem@5 | 4247 | <p> |
philpem@5 | 4248 | Constructs a new image with given size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>). |
philpem@5 | 4249 | <p> |
philpem@5 | 4250 | This constructors create an instance image of size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) with pixels of type <code>T</code>. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4251 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4252 | <tr><td valign="top"></td><td valign="top"><em>dx</em> </td><td>Desired size along the X-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a> of the image. </td></tr> |
philpem@5 | 4253 | <tr><td valign="top"></td><td valign="top"><em>dy</em> </td><td>Desired size along the Y-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a> of the image. </td></tr> |
philpem@5 | 4254 | <tr><td valign="top"></td><td valign="top"><em>dz</em> </td><td>Desired size along the Z-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a> of the image. </td></tr> |
philpem@5 | 4255 | <tr><td valign="top"></td><td valign="top"><em>dv</em> </td><td>Desired size along the V-axis, i.e. the number of image channels <a class="el" href="structcimg__library_1_1CImg.html#d335dc2821e58000fb6d0f0ed6ba835f">dim</a>. </td></tr> |
philpem@5 | 4256 | </table> |
philpem@5 | 4257 | </dl> |
philpem@5 | 4258 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4259 | <li>If one of the input dimension <code>dx</code>,<code>dy</code>,<code>dz</code> or <code>dv</code> is set to 0, the created image is empty and all has its dimensions set to 0. No memory for pixel data is then allocated.</li><li>This constructor creates only non-shared images.</li><li>Image pixels allocated by this constructor are <b>not</b> <b>initialized</b>. Use the constructor <a class="el" href="structcimg__library_1_1CImg.html#a1909d94c489ed7ba0bbc82ee47855c2" title="Construct an image with given size (dx,dy,dz,dv) and with pixel having a default...">CImg(const unsigned int,const unsigned int,const unsigned int,const unsigned int,const T)</a> to get an image of desired size with pixels set to a particular value. </li></ul> |
philpem@5 | 4260 | </dd></dl> |
philpem@5 | 4261 | |
philpem@5 | 4262 | </div> |
philpem@5 | 4263 | </div><p> |
philpem@5 | 4264 | <a class="anchor" name="a1909d94c489ed7ba0bbc82ee47855c2"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="a1909d94c489ed7ba0bbc82ee47855c2" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const T val)" --> |
philpem@5 | 4265 | <div class="memitem"> |
philpem@5 | 4266 | <div class="memproto"> |
philpem@5 | 4267 | <table class="memname"> |
philpem@5 | 4268 | <tr> |
philpem@5 | 4269 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4270 | <td>(</td> |
philpem@5 | 4271 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4272 | <td class="paramname"> <em>dx</em>, </td> |
philpem@5 | 4273 | </tr> |
philpem@5 | 4274 | <tr> |
philpem@5 | 4275 | <td class="paramkey"></td> |
philpem@5 | 4276 | <td></td> |
philpem@5 | 4277 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4278 | <td class="paramname"> <em>dy</em>, </td> |
philpem@5 | 4279 | </tr> |
philpem@5 | 4280 | <tr> |
philpem@5 | 4281 | <td class="paramkey"></td> |
philpem@5 | 4282 | <td></td> |
philpem@5 | 4283 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4284 | <td class="paramname"> <em>dz</em>, </td> |
philpem@5 | 4285 | </tr> |
philpem@5 | 4286 | <tr> |
philpem@5 | 4287 | <td class="paramkey"></td> |
philpem@5 | 4288 | <td></td> |
philpem@5 | 4289 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4290 | <td class="paramname"> <em>dv</em>, </td> |
philpem@5 | 4291 | </tr> |
philpem@5 | 4292 | <tr> |
philpem@5 | 4293 | <td class="paramkey"></td> |
philpem@5 | 4294 | <td></td> |
philpem@5 | 4295 | <td class="paramtype">const T </td> |
philpem@5 | 4296 | <td class="paramname"> <em>val</em></td><td> </td> |
philpem@5 | 4297 | </tr> |
philpem@5 | 4298 | <tr> |
philpem@5 | 4299 | <td></td> |
philpem@5 | 4300 | <td>)</td> |
philpem@5 | 4301 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4302 | </tr> |
philpem@5 | 4303 | </table> |
philpem@5 | 4304 | </div> |
philpem@5 | 4305 | <div class="memdoc"> |
philpem@5 | 4306 | |
philpem@5 | 4307 | <p> |
philpem@5 | 4308 | Construct an image with given size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) and with pixel having a default value <code>val</code>. |
philpem@5 | 4309 | <p> |
philpem@5 | 4310 | This constructor creates an instance image of size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) with pixels of type <code>T</code> and sets all pixel values of the created instance image to <code>val</code>. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4311 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4312 | <tr><td valign="top"></td><td valign="top"><em>dx</em> </td><td>Desired size along the X-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a> of the image. </td></tr> |
philpem@5 | 4313 | <tr><td valign="top"></td><td valign="top"><em>dy</em> </td><td>Desired size along the Y-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a> of the image. </td></tr> |
philpem@5 | 4314 | <tr><td valign="top"></td><td valign="top"><em>dz</em> </td><td>Desired size along the Z-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a> of the image. </td></tr> |
philpem@5 | 4315 | <tr><td valign="top"></td><td valign="top"><em>dv</em> </td><td>Desired size along the V-axis, i.e. the number of image channels <code>dim</code>. </td></tr> |
philpem@5 | 4316 | <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>Default value for image pixels. </td></tr> |
philpem@5 | 4317 | </table> |
philpem@5 | 4318 | </dl> |
philpem@5 | 4319 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4320 | <li>This constructor has the same properties as <a class="el" href="structcimg__library_1_1CImg.html#f0cf1b66afb42bbb4750895fe66bcc69" title="Constructs a new image with given size (dx,dy,dz,dv).">CImg(const unsigned int,const unsigned int,const unsigned int,const unsigned int)</a>. </li></ul> |
philpem@5 | 4321 | </dd></dl> |
philpem@5 | 4322 | |
philpem@5 | 4323 | </div> |
philpem@5 | 4324 | </div><p> |
philpem@5 | 4325 | <a class="anchor" name="6ae6194b89742eb1578795312556bfbd"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="6ae6194b89742eb1578795312556bfbd" args="(const t *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1, const bool shared=false)" --> |
philpem@5 | 4326 | <div class="memitem"> |
philpem@5 | 4327 | <div class="memproto"> |
philpem@5 | 4328 | <table class="memname"> |
philpem@5 | 4329 | <tr> |
philpem@5 | 4330 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4331 | <td>(</td> |
philpem@5 | 4332 | <td class="paramtype">const t *const </td> |
philpem@5 | 4333 | <td class="paramname"> <em>data_buffer</em>, </td> |
philpem@5 | 4334 | </tr> |
philpem@5 | 4335 | <tr> |
philpem@5 | 4336 | <td class="paramkey"></td> |
philpem@5 | 4337 | <td></td> |
philpem@5 | 4338 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4339 | <td class="paramname"> <em>dx</em>, </td> |
philpem@5 | 4340 | </tr> |
philpem@5 | 4341 | <tr> |
philpem@5 | 4342 | <td class="paramkey"></td> |
philpem@5 | 4343 | <td></td> |
philpem@5 | 4344 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4345 | <td class="paramname"> <em>dy</em> = <code>1</code>, </td> |
philpem@5 | 4346 | </tr> |
philpem@5 | 4347 | <tr> |
philpem@5 | 4348 | <td class="paramkey"></td> |
philpem@5 | 4349 | <td></td> |
philpem@5 | 4350 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4351 | <td class="paramname"> <em>dz</em> = <code>1</code>, </td> |
philpem@5 | 4352 | </tr> |
philpem@5 | 4353 | <tr> |
philpem@5 | 4354 | <td class="paramkey"></td> |
philpem@5 | 4355 | <td></td> |
philpem@5 | 4356 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4357 | <td class="paramname"> <em>dv</em> = <code>1</code>, </td> |
philpem@5 | 4358 | </tr> |
philpem@5 | 4359 | <tr> |
philpem@5 | 4360 | <td class="paramkey"></td> |
philpem@5 | 4361 | <td></td> |
philpem@5 | 4362 | <td class="paramtype">const bool </td> |
philpem@5 | 4363 | <td class="paramname"> <em>shared</em> = <code>false</code></td><td> </td> |
philpem@5 | 4364 | </tr> |
philpem@5 | 4365 | <tr> |
philpem@5 | 4366 | <td></td> |
philpem@5 | 4367 | <td>)</td> |
philpem@5 | 4368 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4369 | </tr> |
philpem@5 | 4370 | </table> |
philpem@5 | 4371 | </div> |
philpem@5 | 4372 | <div class="memdoc"> |
philpem@5 | 4373 | |
philpem@5 | 4374 | <p> |
philpem@5 | 4375 | Construct an image from a raw memory buffer. |
philpem@5 | 4376 | <p> |
philpem@5 | 4377 | This constructor creates an instance image of size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) and fill its pixel buffer by copying data values from the input raw pixel buffer <code>data_buffer</code>. |
philpem@5 | 4378 | </div> |
philpem@5 | 4379 | </div><p> |
philpem@5 | 4380 | <a class="anchor" name="8479cd0cf615e3131efcabac1e3ff004"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="8479cd0cf615e3131efcabac1e3ff004" args="(const CImg< t > &img)" --> |
philpem@5 | 4381 | <div class="memitem"> |
philpem@5 | 4382 | <div class="memproto"> |
philpem@5 | 4383 | <table class="memname"> |
philpem@5 | 4384 | <tr> |
philpem@5 | 4385 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4386 | <td>(</td> |
philpem@5 | 4387 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 4388 | <td class="paramname"> <em>img</em> </td> |
philpem@5 | 4389 | <td> ) </td> |
philpem@5 | 4390 | <td><code> [inline]</code></td> |
philpem@5 | 4391 | </tr> |
philpem@5 | 4392 | </table> |
philpem@5 | 4393 | </div> |
philpem@5 | 4394 | <div class="memdoc"> |
philpem@5 | 4395 | |
philpem@5 | 4396 | <p> |
philpem@5 | 4397 | Default copy constructor. |
philpem@5 | 4398 | <p> |
philpem@5 | 4399 | The default copy constructor creates a new instance image having same dimensions (<a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a>, <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a>, <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a>, <a class="el" href="structcimg__library_1_1CImg.html#d335dc2821e58000fb6d0f0ed6ba835f">dim</a>) and same pixel values as the input image <code>img</code>. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4400 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4401 | <tr><td valign="top"></td><td valign="top"><em>img</em> </td><td>The input image to copy. </td></tr> |
philpem@5 | 4402 | </table> |
philpem@5 | 4403 | </dl> |
philpem@5 | 4404 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4405 | <li>If the input image <code>img</code> is non-shared or have a different template type <code>t</code> != <code>T</code>, the default copy constructor allocates a new pixel buffer and copy the pixel data of <code>img</code> into it. In this case, the pointers <a class="el" href="structcimg__library_1_1CImg.html#c88dceffbecaed1137b0e27783adbcc5">data</a> to the pixel buffers of the two images are different and the resulting instance image is non-shared.</li><li>If the input image <code>img</code> is shared and has the same template type <code>t</code> == <code>T</code>, the default copy constructor does not allocate a new pixel buffer and the resulting instance image shares its pixel buffer with the input image <code>img</code>, which means that modifying pixels of <code>img</code> also modifies the created instance image.</li><li>Copying an image having a different template type <code>t</code> != <code>T</code> performs a crude static cast conversion of each pixel value from type <code>t</code> to type <code>T</code>.</li><li>Copying an image having the same template type <code>t</code> == <code>T</code> is significantly faster. </li></ul> |
philpem@5 | 4406 | </dd></dl> |
philpem@5 | 4407 | |
philpem@5 | 4408 | </div> |
philpem@5 | 4409 | </div><p> |
philpem@5 | 4410 | <a class="anchor" name="8dfaf8ddcc86f17442f8eeb3102d0662"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="8dfaf8ddcc86f17442f8eeb3102d0662" args="(const CImg< t > &img, const bool shared)" --> |
philpem@5 | 4411 | <div class="memitem"> |
philpem@5 | 4412 | <div class="memproto"> |
philpem@5 | 4413 | <table class="memname"> |
philpem@5 | 4414 | <tr> |
philpem@5 | 4415 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4416 | <td>(</td> |
philpem@5 | 4417 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 4418 | <td class="paramname"> <em>img</em>, </td> |
philpem@5 | 4419 | </tr> |
philpem@5 | 4420 | <tr> |
philpem@5 | 4421 | <td class="paramkey"></td> |
philpem@5 | 4422 | <td></td> |
philpem@5 | 4423 | <td class="paramtype">const bool </td> |
philpem@5 | 4424 | <td class="paramname"> <em>shared</em></td><td> </td> |
philpem@5 | 4425 | </tr> |
philpem@5 | 4426 | <tr> |
philpem@5 | 4427 | <td></td> |
philpem@5 | 4428 | <td>)</td> |
philpem@5 | 4429 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4430 | </tr> |
philpem@5 | 4431 | </table> |
philpem@5 | 4432 | </div> |
philpem@5 | 4433 | <div class="memdoc"> |
philpem@5 | 4434 | |
philpem@5 | 4435 | <p> |
philpem@5 | 4436 | Advanced copy constructor. |
philpem@5 | 4437 | <p> |
philpem@5 | 4438 | The advanced copy constructor - as the default constructor <a class="el" href="structcimg__library_1_1CImg.html#8479cd0cf615e3131efcabac1e3ff004" title="Default copy constructor.">CImg(const CImg< t >&)</a> - creates a new instance image having same dimensions <a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a>, <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a>, <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a>, <a class="el" href="structcimg__library_1_1CImg.html#d335dc2821e58000fb6d0f0ed6ba835f">dim</a> and same pixel values as the input image <code>img</code>. But it also decides if the created instance image shares its memory with the input image <code>img</code> (if the input parameter <code>shared</code> is set to <code>true</code>) or not (if the input parameter <code>shared</code> is set to <code>false</code>). <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4439 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4440 | <tr><td valign="top"></td><td valign="top"><em>img</em> </td><td>The input image to copy. </td></tr> |
philpem@5 | 4441 | <tr><td valign="top"></td><td valign="top"><em>shared</em> </td><td>Boolean flag that decides if the copy is shared on non-shared. </td></tr> |
philpem@5 | 4442 | </table> |
philpem@5 | 4443 | </dl> |
philpem@5 | 4444 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4445 | <li>It is not possible to create a shared copy if the input image <code>img</code> is empty or has a different pixel type <code>t</code> != <code>T</code>.</li><li>If a non-shared copy of the input image <code>img</code> is created, a new memory buffer is allocated for pixel data.</li><li>If a shared copy of the input image <code>img</code> is created, no extra memory is allocated and the pixel buffer of the instance image is the same as the one used by the input image <code>img</code>. </li></ul> |
philpem@5 | 4446 | </dd></dl> |
philpem@5 | 4447 | |
philpem@5 | 4448 | </div> |
philpem@5 | 4449 | </div><p> |
philpem@5 | 4450 | <a class="anchor" name="ade5358c8a81825b86e6c654194b33d2"></a><!-- doxytag: member="cimg_library::CImg::CImg" ref="ade5358c8a81825b86e6c654194b33d2" args="(const char *const filename)" --> |
philpem@5 | 4451 | <div class="memitem"> |
philpem@5 | 4452 | <div class="memproto"> |
philpem@5 | 4453 | <table class="memname"> |
philpem@5 | 4454 | <tr> |
philpem@5 | 4455 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a> </td> |
philpem@5 | 4456 | <td>(</td> |
philpem@5 | 4457 | <td class="paramtype">const char *const </td> |
philpem@5 | 4458 | <td class="paramname"> <em>filename</em> </td> |
philpem@5 | 4459 | <td> ) </td> |
philpem@5 | 4460 | <td><code> [inline]</code></td> |
philpem@5 | 4461 | </tr> |
philpem@5 | 4462 | </table> |
philpem@5 | 4463 | </div> |
philpem@5 | 4464 | <div class="memdoc"> |
philpem@5 | 4465 | |
philpem@5 | 4466 | <p> |
philpem@5 | 4467 | Construct an image from an image file. |
philpem@5 | 4468 | <p> |
philpem@5 | 4469 | This constructor creates an instance image by reading it from a file. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4470 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4471 | <tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td>Filename of the image file. </td></tr> |
philpem@5 | 4472 | </table> |
philpem@5 | 4473 | </dl> |
philpem@5 | 4474 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4475 | <li>The image format is deduced from the filename only by looking for the filename extension i.e. without analyzing the file itself.</li><li>Recognized image formats depend on the tools installed on your system or the external libraries you use to link your code with. More informations on this topic can be found in cimg_files_io.</li><li>If the filename is not found, a CImgIOException is thrown by this constructor. </li></ul> |
philpem@5 | 4476 | </dd></dl> |
philpem@5 | 4477 | |
philpem@5 | 4478 | </div> |
philpem@5 | 4479 | </div><p> |
philpem@5 | 4480 | <hr><h2>Member Function Documentation</h2> |
philpem@5 | 4481 | <a class="anchor" name="65018fb0cbdbd9e8d1404321cd69bfe5"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="65018fb0cbdbd9e8d1404321cd69bfe5" args="()" --> |
philpem@5 | 4482 | <div class="memitem"> |
philpem@5 | 4483 | <div class="memproto"> |
philpem@5 | 4484 | <table class="memname"> |
philpem@5 | 4485 | <tr> |
philpem@5 | 4486 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& assign </td> |
philpem@5 | 4487 | <td>(</td> |
philpem@5 | 4488 | <td class="paramname"> </td> |
philpem@5 | 4489 | <td> ) </td> |
philpem@5 | 4490 | <td><code> [inline]</code></td> |
philpem@5 | 4491 | </tr> |
philpem@5 | 4492 | </table> |
philpem@5 | 4493 | </div> |
philpem@5 | 4494 | <div class="memdoc"> |
philpem@5 | 4495 | |
philpem@5 | 4496 | <p> |
philpem@5 | 4497 | In-place version of the default constructor/destructor. |
philpem@5 | 4498 | <p> |
philpem@5 | 4499 | This function replaces the instance image by an empty image. <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4500 | <li>Memory used by the previous content of the instance image is freed if necessary.</li><li>If the instance image was initially shared, it is replaced by a (non-shared) empty image.</li><li>This function is useful to free memory used by an image that is not of use, but which has been created in the current code scope (i.e. not destroyed yet). </li></ul> |
philpem@5 | 4501 | </dd></dl> |
philpem@5 | 4502 | |
philpem@5 | 4503 | </div> |
philpem@5 | 4504 | </div><p> |
philpem@5 | 4505 | <a class="anchor" name="b5cdf8f13cc7065fef4da8214ff36d5d"></a><!-- doxytag: member="cimg_library::CImg::clear" ref="b5cdf8f13cc7065fef4da8214ff36d5d" args="()" --> |
philpem@5 | 4506 | <div class="memitem"> |
philpem@5 | 4507 | <div class="memproto"> |
philpem@5 | 4508 | <table class="memname"> |
philpem@5 | 4509 | <tr> |
philpem@5 | 4510 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& clear </td> |
philpem@5 | 4511 | <td>(</td> |
philpem@5 | 4512 | <td class="paramname"> </td> |
philpem@5 | 4513 | <td> ) </td> |
philpem@5 | 4514 | <td><code> [inline]</code></td> |
philpem@5 | 4515 | </tr> |
philpem@5 | 4516 | </table> |
philpem@5 | 4517 | </div> |
philpem@5 | 4518 | <div class="memdoc"> |
philpem@5 | 4519 | |
philpem@5 | 4520 | <p> |
philpem@5 | 4521 | In-place version of the default constructor. |
philpem@5 | 4522 | <p> |
philpem@5 | 4523 | This function is strictly equivalent to <a class="el" href="structcimg__library_1_1CImg.html#65018fb0cbdbd9e8d1404321cd69bfe5">assign()</a> and has been introduced for having a STL-compliant function name. |
philpem@5 | 4524 | </div> |
philpem@5 | 4525 | </div><p> |
philpem@5 | 4526 | <a class="anchor" name="55e2f2335ea8060148c59ec4f57846e2"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="55e2f2335ea8060148c59ec4f57846e2" args="(const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)" --> |
philpem@5 | 4527 | <div class="memitem"> |
philpem@5 | 4528 | <div class="memproto"> |
philpem@5 | 4529 | <table class="memname"> |
philpem@5 | 4530 | <tr> |
philpem@5 | 4531 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& assign </td> |
philpem@5 | 4532 | <td>(</td> |
philpem@5 | 4533 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4534 | <td class="paramname"> <em>dx</em>, </td> |
philpem@5 | 4535 | </tr> |
philpem@5 | 4536 | <tr> |
philpem@5 | 4537 | <td class="paramkey"></td> |
philpem@5 | 4538 | <td></td> |
philpem@5 | 4539 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4540 | <td class="paramname"> <em>dy</em> = <code>1</code>, </td> |
philpem@5 | 4541 | </tr> |
philpem@5 | 4542 | <tr> |
philpem@5 | 4543 | <td class="paramkey"></td> |
philpem@5 | 4544 | <td></td> |
philpem@5 | 4545 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4546 | <td class="paramname"> <em>dz</em> = <code>1</code>, </td> |
philpem@5 | 4547 | </tr> |
philpem@5 | 4548 | <tr> |
philpem@5 | 4549 | <td class="paramkey"></td> |
philpem@5 | 4550 | <td></td> |
philpem@5 | 4551 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4552 | <td class="paramname"> <em>dv</em> = <code>1</code></td><td> </td> |
philpem@5 | 4553 | </tr> |
philpem@5 | 4554 | <tr> |
philpem@5 | 4555 | <td></td> |
philpem@5 | 4556 | <td>)</td> |
philpem@5 | 4557 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4558 | </tr> |
philpem@5 | 4559 | </table> |
philpem@5 | 4560 | </div> |
philpem@5 | 4561 | <div class="memdoc"> |
philpem@5 | 4562 | |
philpem@5 | 4563 | <p> |
philpem@5 | 4564 | In-place version of the previous constructor. |
philpem@5 | 4565 | <p> |
philpem@5 | 4566 | This function replaces the instance image by a new image of size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) with pixels of type <code>T</code>. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4567 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4568 | <tr><td valign="top"></td><td valign="top"><em>dx</em> </td><td>Desired size along the X-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a> of the image. </td></tr> |
philpem@5 | 4569 | <tr><td valign="top"></td><td valign="top"><em>dy</em> </td><td>Desired size along the Y-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a> of the image. </td></tr> |
philpem@5 | 4570 | <tr><td valign="top"></td><td valign="top"><em>dz</em> </td><td>Desired size along the Z-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a> of the image. </td></tr> |
philpem@5 | 4571 | <tr><td valign="top"></td><td valign="top"><em>dv</em> </td><td>Desired size along the V-axis, i.e. the number of image channels <code>dim</code>.<ul> |
philpem@5 | 4572 | <li>If one of the input dimension <code>dx</code>,<code>dy</code>,<code>dz</code> or <code>dv</code> is set to 0, the instance image becomes empty and all has its dimensions set to 0. No memory for pixel data is then allocated.</li><li>Memory buffer used to store previous pixel values is freed if necessary.</li><li>If the instance image is shared, this constructor actually does nothing more than verifying that new and old image dimensions fit.</li><li>Image pixels allocated by this function are <b>not</b> <b>initialized</b>. Use the function <a class="el" href="structcimg__library_1_1CImg.html#14047abcb2a67ba0dadc92e34b456111" title="In-place version of the previous constructor.">assign(const unsigned int,const unsigned int,const unsigned int,const unsigned int,const T)</a> to assign an image of desired size with pixels set to a particular value. </li></ul> |
philpem@5 | 4573 | </td></tr> |
philpem@5 | 4574 | </table> |
philpem@5 | 4575 | </dl> |
philpem@5 | 4576 | |
philpem@5 | 4577 | </div> |
philpem@5 | 4578 | </div><p> |
philpem@5 | 4579 | <a class="anchor" name="14047abcb2a67ba0dadc92e34b456111"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="14047abcb2a67ba0dadc92e34b456111" args="(const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const T val)" --> |
philpem@5 | 4580 | <div class="memitem"> |
philpem@5 | 4581 | <div class="memproto"> |
philpem@5 | 4582 | <table class="memname"> |
philpem@5 | 4583 | <tr> |
philpem@5 | 4584 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& assign </td> |
philpem@5 | 4585 | <td>(</td> |
philpem@5 | 4586 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4587 | <td class="paramname"> <em>dx</em>, </td> |
philpem@5 | 4588 | </tr> |
philpem@5 | 4589 | <tr> |
philpem@5 | 4590 | <td class="paramkey"></td> |
philpem@5 | 4591 | <td></td> |
philpem@5 | 4592 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4593 | <td class="paramname"> <em>dy</em>, </td> |
philpem@5 | 4594 | </tr> |
philpem@5 | 4595 | <tr> |
philpem@5 | 4596 | <td class="paramkey"></td> |
philpem@5 | 4597 | <td></td> |
philpem@5 | 4598 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4599 | <td class="paramname"> <em>dz</em>, </td> |
philpem@5 | 4600 | </tr> |
philpem@5 | 4601 | <tr> |
philpem@5 | 4602 | <td class="paramkey"></td> |
philpem@5 | 4603 | <td></td> |
philpem@5 | 4604 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4605 | <td class="paramname"> <em>dv</em>, </td> |
philpem@5 | 4606 | </tr> |
philpem@5 | 4607 | <tr> |
philpem@5 | 4608 | <td class="paramkey"></td> |
philpem@5 | 4609 | <td></td> |
philpem@5 | 4610 | <td class="paramtype">const T </td> |
philpem@5 | 4611 | <td class="paramname"> <em>val</em></td><td> </td> |
philpem@5 | 4612 | </tr> |
philpem@5 | 4613 | <tr> |
philpem@5 | 4614 | <td></td> |
philpem@5 | 4615 | <td>)</td> |
philpem@5 | 4616 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4617 | </tr> |
philpem@5 | 4618 | </table> |
philpem@5 | 4619 | </div> |
philpem@5 | 4620 | <div class="memdoc"> |
philpem@5 | 4621 | |
philpem@5 | 4622 | <p> |
philpem@5 | 4623 | In-place version of the previous constructor. |
philpem@5 | 4624 | <p> |
philpem@5 | 4625 | This function replaces the instance image by a new image of size (<code>dx</code>,<code>dy</code>,<code>dz</code>,<code>dv</code>) with pixels of type <code>T</code> and sets all pixel values of the instance image to <code>val</code>. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4626 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4627 | <tr><td valign="top"></td><td valign="top"><em>dx</em> </td><td>Desired size along the X-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a> of the image. </td></tr> |
philpem@5 | 4628 | <tr><td valign="top"></td><td valign="top"><em>dy</em> </td><td>Desired size along the Y-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a> of the image. </td></tr> |
philpem@5 | 4629 | <tr><td valign="top"></td><td valign="top"><em>dz</em> </td><td>Desired size along the Z-axis, i.e. the <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a> of the image. </td></tr> |
philpem@5 | 4630 | <tr><td valign="top"></td><td valign="top"><em>dv</em> </td><td>Desired size along the V-axis, i.e. the number of image channels <code>dim</code>. </td></tr> |
philpem@5 | 4631 | <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>Default value for image pixels. </td></tr> |
philpem@5 | 4632 | </table> |
philpem@5 | 4633 | </dl> |
philpem@5 | 4634 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4635 | <li>This function has the same properties as <a class="el" href="structcimg__library_1_1CImg.html#55e2f2335ea8060148c59ec4f57846e2" title="In-place version of the previous constructor.">assign(const unsigned int,const unsigned int,const unsigned int,const unsigned int)</a>. </li></ul> |
philpem@5 | 4636 | </dd></dl> |
philpem@5 | 4637 | |
philpem@5 | 4638 | </div> |
philpem@5 | 4639 | </div><p> |
philpem@5 | 4640 | <a class="anchor" name="0fb4ca12616b7a1a05a9b3cc62878df4"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="0fb4ca12616b7a1a05a9b3cc62878df4" args="(const CImg< t > &img)" --> |
philpem@5 | 4641 | <div class="memitem"> |
philpem@5 | 4642 | <div class="memproto"> |
philpem@5 | 4643 | <table class="memname"> |
philpem@5 | 4644 | <tr> |
philpem@5 | 4645 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& assign </td> |
philpem@5 | 4646 | <td>(</td> |
philpem@5 | 4647 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 4648 | <td class="paramname"> <em>img</em> </td> |
philpem@5 | 4649 | <td> ) </td> |
philpem@5 | 4650 | <td><code> [inline]</code></td> |
philpem@5 | 4651 | </tr> |
philpem@5 | 4652 | </table> |
philpem@5 | 4653 | </div> |
philpem@5 | 4654 | <div class="memdoc"> |
philpem@5 | 4655 | |
philpem@5 | 4656 | <p> |
philpem@5 | 4657 | In-place version of the default copy constructor. |
philpem@5 | 4658 | <p> |
philpem@5 | 4659 | This function assigns a copy of the input image <code>img</code> to the current instance image. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4660 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4661 | <tr><td valign="top"></td><td valign="top"><em>img</em> </td><td>The input image to copy. </td></tr> |
philpem@5 | 4662 | </table> |
philpem@5 | 4663 | </dl> |
philpem@5 | 4664 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4665 | <li>If the instance image is not shared, the content of the input image <code>img</code> is copied into a new buffer becoming the new pixel buffer of the instance image, while the old pixel buffer is freed if necessary.</li><li>If the instance image is shared, the content of the input image <code>img</code> is copied into the current (shared) pixel buffer of the instance image, modifying then the image referenced by the shared instance image. The instance image still remains shared. </li></ul> |
philpem@5 | 4666 | </dd></dl> |
philpem@5 | 4667 | |
philpem@5 | 4668 | </div> |
philpem@5 | 4669 | </div><p> |
philpem@5 | 4670 | <a class="anchor" name="934bab7595fd98de5131d5d2394e4a81"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="934bab7595fd98de5131d5d2394e4a81" args="(const CImg< t > &img, const bool shared)" --> |
philpem@5 | 4671 | <div class="memitem"> |
philpem@5 | 4672 | <div class="memproto"> |
philpem@5 | 4673 | <table class="memname"> |
philpem@5 | 4674 | <tr> |
philpem@5 | 4675 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& assign </td> |
philpem@5 | 4676 | <td>(</td> |
philpem@5 | 4677 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 4678 | <td class="paramname"> <em>img</em>, </td> |
philpem@5 | 4679 | </tr> |
philpem@5 | 4680 | <tr> |
philpem@5 | 4681 | <td class="paramkey"></td> |
philpem@5 | 4682 | <td></td> |
philpem@5 | 4683 | <td class="paramtype">const bool </td> |
philpem@5 | 4684 | <td class="paramname"> <em>shared</em></td><td> </td> |
philpem@5 | 4685 | </tr> |
philpem@5 | 4686 | <tr> |
philpem@5 | 4687 | <td></td> |
philpem@5 | 4688 | <td>)</td> |
philpem@5 | 4689 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4690 | </tr> |
philpem@5 | 4691 | </table> |
philpem@5 | 4692 | </div> |
philpem@5 | 4693 | <div class="memdoc"> |
philpem@5 | 4694 | |
philpem@5 | 4695 | <p> |
philpem@5 | 4696 | In-place version of the advanced constructor. |
philpem@5 | 4697 | <p> |
philpem@5 | 4698 | This function - as the simpler function <a class="el" href="structcimg__library_1_1CImg.html#0fb4ca12616b7a1a05a9b3cc62878df4" title="In-place version of the default copy constructor.">assign(const CImg< t >&)</a> - assigns a copy of the input image <code>img</code> to the current instance image. But it also decides if the copy is shared (if the input parameter <code>shared</code> is set to <code>true</code>) or non-shared (if the input parameter <code>shared</code> is set to <code>false</code>). <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4699 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4700 | <tr><td valign="top"></td><td valign="top"><em>img</em> </td><td>The input image to copy. </td></tr> |
philpem@5 | 4701 | <tr><td valign="top"></td><td valign="top"><em>shared</em> </td><td>Boolean flag that decides if the copy is shared or non-shared. </td></tr> |
philpem@5 | 4702 | </table> |
philpem@5 | 4703 | </dl> |
philpem@5 | 4704 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 4705 | <li>It is not possible to assign a shared copy if the input image <code>img</code> is empty or has a different pixel type <code>t</code> != <code>T</code>.</li><li>If a non-shared copy of the input image <code>img</code> is assigned, a new memory buffer is allocated for pixel data.</li><li>If a shared copy of the input image <code>img</code> is assigned, no extra memory is allocated and the pixel buffer of the instance image is the same as the one used by the input image <code>img</code>. </li></ul> |
philpem@5 | 4706 | </dd></dl> |
philpem@5 | 4707 | |
philpem@5 | 4708 | </div> |
philpem@5 | 4709 | </div><p> |
philpem@5 | 4710 | <a class="anchor" name="78c78d152f5012d2e8fdcc35235c62a4"></a><!-- doxytag: member="cimg_library::CImg::assign" ref="78c78d152f5012d2e8fdcc35235c62a4" args="(const char *const filename)" --> |
philpem@5 | 4711 | <div class="memitem"> |
philpem@5 | 4712 | <div class="memproto"> |
philpem@5 | 4713 | <table class="memname"> |
philpem@5 | 4714 | <tr> |
philpem@5 | 4715 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& assign </td> |
philpem@5 | 4716 | <td>(</td> |
philpem@5 | 4717 | <td class="paramtype">const char *const </td> |
philpem@5 | 4718 | <td class="paramname"> <em>filename</em> </td> |
philpem@5 | 4719 | <td> ) </td> |
philpem@5 | 4720 | <td><code> [inline]</code></td> |
philpem@5 | 4721 | </tr> |
philpem@5 | 4722 | </table> |
philpem@5 | 4723 | </div> |
philpem@5 | 4724 | <div class="memdoc"> |
philpem@5 | 4725 | |
philpem@5 | 4726 | <p> |
philpem@5 | 4727 | In-place version of the previous constructor. |
philpem@5 | 4728 | <p> |
philpem@5 | 4729 | This function replaces the instance image by the one that have been read from the given file. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4730 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4731 | <tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td>Filename of the image file.<ul> |
philpem@5 | 4732 | <li>The image format is deduced from the filename only by looking for the filename extension i.e. without analyzing the file itself.</li><li>Recognized image formats depend on the tools installed on your system or the external libraries you use to link your code with. More informations on this topic can be found in cimg_files_io.</li><li>If the filename is not found, a CImgIOException is thrown by this constructor. </li></ul> |
philpem@5 | 4733 | </td></tr> |
philpem@5 | 4734 | </table> |
philpem@5 | 4735 | </dl> |
philpem@5 | 4736 | |
philpem@5 | 4737 | </div> |
philpem@5 | 4738 | </div><p> |
philpem@5 | 4739 | <a class="anchor" name="b3b0efc40be1da20da1fbddfad758568"></a><!-- doxytag: member="cimg_library::CImg::transfer_to" ref="b3b0efc40be1da20da1fbddfad758568" args="(CImg< t > &img)" --> |
philpem@5 | 4740 | <div class="memitem"> |
philpem@5 | 4741 | <div class="memproto"> |
philpem@5 | 4742 | <table class="memname"> |
philpem@5 | 4743 | <tr> |
philpem@5 | 4744 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><t>& transfer_to </td> |
philpem@5 | 4745 | <td>(</td> |
philpem@5 | 4746 | <td class="paramtype"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 4747 | <td class="paramname"> <em>img</em> </td> |
philpem@5 | 4748 | <td> ) </td> |
philpem@5 | 4749 | <td><code> [inline]</code></td> |
philpem@5 | 4750 | </tr> |
philpem@5 | 4751 | </table> |
philpem@5 | 4752 | </div> |
philpem@5 | 4753 | <div class="memdoc"> |
philpem@5 | 4754 | |
philpem@5 | 4755 | <p> |
philpem@5 | 4756 | Transfer the content of the instance image into another one in a way that memory copies are avoided if possible. |
philpem@5 | 4757 | <p> |
philpem@5 | 4758 | The instance image is always empty after a call to this function. |
philpem@5 | 4759 | </div> |
philpem@5 | 4760 | </div><p> |
philpem@5 | 4761 | <a class="anchor" name="b7d3a61366cf906c03af6c8fa13309a7"></a><!-- doxytag: member="cimg_library::CImg::pixel_type" ref="b7d3a61366cf906c03af6c8fa13309a7" args="()" --> |
philpem@5 | 4762 | <div class="memitem"> |
philpem@5 | 4763 | <div class="memproto"> |
philpem@5 | 4764 | <table class="memname"> |
philpem@5 | 4765 | <tr> |
philpem@5 | 4766 | <td class="memname">static const char* pixel_type </td> |
philpem@5 | 4767 | <td>(</td> |
philpem@5 | 4768 | <td class="paramname"> </td> |
philpem@5 | 4769 | <td> ) </td> |
philpem@5 | 4770 | <td><code> [inline, static]</code></td> |
philpem@5 | 4771 | </tr> |
philpem@5 | 4772 | </table> |
philpem@5 | 4773 | </div> |
philpem@5 | 4774 | <div class="memdoc"> |
philpem@5 | 4775 | |
philpem@5 | 4776 | <p> |
philpem@5 | 4777 | Return the type of the pixel values. |
philpem@5 | 4778 | <p> |
philpem@5 | 4779 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>a string describing the type of the image pixels (template parameter <code>T</code>).<ul> |
philpem@5 | 4780 | <li>The string returned may contains spaces (<code>"unsigned char"</code>).</li><li>If the template parameter T does not correspond to a registered type, the string <code>"unknown"</code> is returned. </li></ul> |
philpem@5 | 4781 | </dd></dl> |
philpem@5 | 4782 | |
philpem@5 | 4783 | </div> |
philpem@5 | 4784 | </div><p> |
philpem@5 | 4785 | <a class="anchor" name="3e13243636f944bad8351324f2910e2b"></a><!-- doxytag: member="cimg_library::CImg::size" ref="3e13243636f944bad8351324f2910e2b" args="() const " --> |
philpem@5 | 4786 | <div class="memitem"> |
philpem@5 | 4787 | <div class="memproto"> |
philpem@5 | 4788 | <table class="memname"> |
philpem@5 | 4789 | <tr> |
philpem@5 | 4790 | <td class="memname">unsigned long size </td> |
philpem@5 | 4791 | <td>(</td> |
philpem@5 | 4792 | <td class="paramname"> </td> |
philpem@5 | 4793 | <td> ) </td> |
philpem@5 | 4794 | <td> const<code> [inline]</code></td> |
philpem@5 | 4795 | </tr> |
philpem@5 | 4796 | </table> |
philpem@5 | 4797 | </div> |
philpem@5 | 4798 | <div class="memdoc"> |
philpem@5 | 4799 | |
philpem@5 | 4800 | <p> |
philpem@5 | 4801 | Return the total number of pixel values in an image. |
philpem@5 | 4802 | <p> |
philpem@5 | 4803 | <ul> |
philpem@5 | 4804 | <li>Equivalent to : <a class="el" href="structcimg__library_1_1CImg.html#afae58d5a77ea4190e6f2c818238bd1a" title="Return the number of columns of the instance image (size along the X-axis, i.e image...">dimx()</a> * <a class="el" href="structcimg__library_1_1CImg.html#fc3244815fd1b4cea186b6a63bfb635d" title="Return the number of rows of the instance image (size along the Y-axis, i.e image...">dimy()</a> * <a class="el" href="structcimg__library_1_1CImg.html#b310ef9114198b570d035fd914d5a215" title="Return the number of slices of the instance image (size along the Z-axis).">dimz()</a> * <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a>.</li></ul> |
philpem@5 | 4805 | <p> |
philpem@5 | 4806 | <dl class="user" compact><dt><b>example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<> img(100,100,1,3); |
philpem@5 | 4807 | <span class="keywordflow">if</span> (img.size()==100*100*3) std::fprintf(stderr,<span class="stringliteral">"This statement is true"</span>); |
philpem@5 | 4808 | </pre></div> </dd></dl> |
philpem@5 | 4809 | |
philpem@5 | 4810 | </div> |
philpem@5 | 4811 | </div><p> |
philpem@5 | 4812 | <a class="anchor" name="abc5597643805d6e4f11100eee6b2852"></a><!-- doxytag: member="cimg_library::CImg::ptr" ref="abc5597643805d6e4f11100eee6b2852" args="(const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)" --> |
philpem@5 | 4813 | <div class="memitem"> |
philpem@5 | 4814 | <div class="memproto"> |
philpem@5 | 4815 | <table class="memname"> |
philpem@5 | 4816 | <tr> |
philpem@5 | 4817 | <td class="memname">T* ptr </td> |
philpem@5 | 4818 | <td>(</td> |
philpem@5 | 4819 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4820 | <td class="paramname"> <em>x</em>, </td> |
philpem@5 | 4821 | </tr> |
philpem@5 | 4822 | <tr> |
philpem@5 | 4823 | <td class="paramkey"></td> |
philpem@5 | 4824 | <td></td> |
philpem@5 | 4825 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4826 | <td class="paramname"> <em>y</em> = <code>0</code>, </td> |
philpem@5 | 4827 | </tr> |
philpem@5 | 4828 | <tr> |
philpem@5 | 4829 | <td class="paramkey"></td> |
philpem@5 | 4830 | <td></td> |
philpem@5 | 4831 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4832 | <td class="paramname"> <em>z</em> = <code>0</code>, </td> |
philpem@5 | 4833 | </tr> |
philpem@5 | 4834 | <tr> |
philpem@5 | 4835 | <td class="paramkey"></td> |
philpem@5 | 4836 | <td></td> |
philpem@5 | 4837 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4838 | <td class="paramname"> <em>v</em> = <code>0</code></td><td> </td> |
philpem@5 | 4839 | </tr> |
philpem@5 | 4840 | <tr> |
philpem@5 | 4841 | <td></td> |
philpem@5 | 4842 | <td>)</td> |
philpem@5 | 4843 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4844 | </tr> |
philpem@5 | 4845 | </table> |
philpem@5 | 4846 | </div> |
philpem@5 | 4847 | <div class="memdoc"> |
philpem@5 | 4848 | |
philpem@5 | 4849 | <p> |
philpem@5 | 4850 | Return a pointer to the pixel value located at (<code>x</code>,<code>y</code>,<code>z</code>,<code>v</code>). |
philpem@5 | 4851 | <p> |
philpem@5 | 4852 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4853 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4854 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X-coordinate of the pixel. </td></tr> |
philpem@5 | 4855 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y-coordinate of the pixel. </td></tr> |
philpem@5 | 4856 | <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>Z-coordinate of the pixel. </td></tr> |
philpem@5 | 4857 | <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>V-coordinate of the pixel.</td></tr> |
philpem@5 | 4858 | </table> |
philpem@5 | 4859 | </dl> |
philpem@5 | 4860 | <ul> |
philpem@5 | 4861 | <li>When called without parameters, <a class="el" href="structcimg__library_1_1CImg.html#3295aee3e56bc13ea3aa5d1a5dc6bcda" title="Return a pointer to the pixel buffer.">ptr()</a> returns a pointer to the begining of the pixel buffer.</li><li>If the macro <code>'cimg_debug'>=3</code>, boundary checking is performed and warning messages may appear if given coordinates are outside the image range (but function performances decrease).</li></ul> |
philpem@5 | 4862 | <p> |
philpem@5 | 4863 | <dl class="user" compact><dt><b>example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<float> img(100,100,1,1,0); <span class="comment">// Define a 100x100 greyscale image with float-valued pixels.</span> |
philpem@5 | 4864 | <span class="keywordtype">float</span> *<a class="code" href="structcimg__library_1_1CImg.html#3295aee3e56bc13ea3aa5d1a5dc6bcda" title="Return a pointer to the pixel buffer.">ptr</a> = <a class="code" href="structcimg__library_1_1CImg.html#3295aee3e56bc13ea3aa5d1a5dc6bcda" title="Return a pointer to the pixel buffer.">ptr</a>(10,10); <span class="comment">// Get a pointer to the pixel located at (10,10).</span> |
philpem@5 | 4865 | <span class="keywordtype">float</span> val = *ptr; <span class="comment">// Get the pixel value.</span> |
philpem@5 | 4866 | </pre></div> </dd></dl> |
philpem@5 | 4867 | |
philpem@5 | 4868 | </div> |
philpem@5 | 4869 | </div><p> |
philpem@5 | 4870 | <a class="anchor" name="b37041213cf48faf44debd569ae93127"></a><!-- doxytag: member="cimg_library::CImg::is_overlapped" ref="b37041213cf48faf44debd569ae93127" args="(const CImg< t > &img) const " --> |
philpem@5 | 4871 | <div class="memitem"> |
philpem@5 | 4872 | <div class="memproto"> |
philpem@5 | 4873 | <table class="memname"> |
philpem@5 | 4874 | <tr> |
philpem@5 | 4875 | <td class="memname">bool is_overlapped </td> |
philpem@5 | 4876 | <td>(</td> |
philpem@5 | 4877 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 4878 | <td class="paramname"> <em>img</em> </td> |
philpem@5 | 4879 | <td> ) </td> |
philpem@5 | 4880 | <td> const<code> [inline]</code></td> |
philpem@5 | 4881 | </tr> |
philpem@5 | 4882 | </table> |
philpem@5 | 4883 | </div> |
philpem@5 | 4884 | <div class="memdoc"> |
philpem@5 | 4885 | |
philpem@5 | 4886 | <p> |
philpem@5 | 4887 | Return <code>true</code> if the memory buffers of the two images overlaps. |
philpem@5 | 4888 | <p> |
philpem@5 | 4889 | May happen when using shared images. |
philpem@5 | 4890 | </div> |
philpem@5 | 4891 | </div><p> |
philpem@5 | 4892 | <a class="anchor" name="afc4c62eb956815235bb896a1707f711"></a><!-- doxytag: member="cimg_library::CImg::offset" ref="afc4c62eb956815235bb896a1707f711" args="(const int x, const int y=0, const int z=0, const int v=0) const " --> |
philpem@5 | 4893 | <div class="memitem"> |
philpem@5 | 4894 | <div class="memproto"> |
philpem@5 | 4895 | <table class="memname"> |
philpem@5 | 4896 | <tr> |
philpem@5 | 4897 | <td class="memname">long offset </td> |
philpem@5 | 4898 | <td>(</td> |
philpem@5 | 4899 | <td class="paramtype">const int </td> |
philpem@5 | 4900 | <td class="paramname"> <em>x</em>, </td> |
philpem@5 | 4901 | </tr> |
philpem@5 | 4902 | <tr> |
philpem@5 | 4903 | <td class="paramkey"></td> |
philpem@5 | 4904 | <td></td> |
philpem@5 | 4905 | <td class="paramtype">const int </td> |
philpem@5 | 4906 | <td class="paramname"> <em>y</em> = <code>0</code>, </td> |
philpem@5 | 4907 | </tr> |
philpem@5 | 4908 | <tr> |
philpem@5 | 4909 | <td class="paramkey"></td> |
philpem@5 | 4910 | <td></td> |
philpem@5 | 4911 | <td class="paramtype">const int </td> |
philpem@5 | 4912 | <td class="paramname"> <em>z</em> = <code>0</code>, </td> |
philpem@5 | 4913 | </tr> |
philpem@5 | 4914 | <tr> |
philpem@5 | 4915 | <td class="paramkey"></td> |
philpem@5 | 4916 | <td></td> |
philpem@5 | 4917 | <td class="paramtype">const int </td> |
philpem@5 | 4918 | <td class="paramname"> <em>v</em> = <code>0</code></td><td> </td> |
philpem@5 | 4919 | </tr> |
philpem@5 | 4920 | <tr> |
philpem@5 | 4921 | <td></td> |
philpem@5 | 4922 | <td>)</td> |
philpem@5 | 4923 | <td></td><td></td><td> const<code> [inline]</code></td> |
philpem@5 | 4924 | </tr> |
philpem@5 | 4925 | </table> |
philpem@5 | 4926 | </div> |
philpem@5 | 4927 | <div class="memdoc"> |
philpem@5 | 4928 | |
philpem@5 | 4929 | <p> |
philpem@5 | 4930 | Return the offset of the pixel coordinates (<code>x</code>,<code>y</code>,<code>z</code>,<code>v</code>) with respect to the data pointer <code>data</code>. |
philpem@5 | 4931 | <p> |
philpem@5 | 4932 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4933 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4934 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X-coordinate of the pixel. </td></tr> |
philpem@5 | 4935 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y-coordinate of the pixel. </td></tr> |
philpem@5 | 4936 | <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>Z-coordinate of the pixel. </td></tr> |
philpem@5 | 4937 | <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>V-coordinate of the pixel.</td></tr> |
philpem@5 | 4938 | </table> |
philpem@5 | 4939 | </dl> |
philpem@5 | 4940 | <ul> |
philpem@5 | 4941 | <li>No checking is done on the validity of the given coordinates.</li></ul> |
philpem@5 | 4942 | <p> |
philpem@5 | 4943 | <dl class="user" compact><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<float> img(100,100,1,3,0); <span class="comment">// Define a 100x100 color image with float-valued black pixels.</span> |
philpem@5 | 4944 | <span class="keywordtype">long</span> off = img.offset(10,10,0,2); <span class="comment">// Get the offset of the blue value of the pixel located at (10,10).</span> |
philpem@5 | 4945 | <span class="keywordtype">float</span> val = img[off]; <span class="comment">// Get the blue value of the pixel.</span> |
philpem@5 | 4946 | </pre></div> </dd></dl> |
philpem@5 | 4947 | |
philpem@5 | 4948 | </div> |
philpem@5 | 4949 | </div><p> |
philpem@5 | 4950 | <a class="anchor" name="b8fbc19527504258380aaed12c4bec4b"></a><!-- doxytag: member="cimg_library::CImg::operator()" ref="b8fbc19527504258380aaed12c4bec4b" args="(const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)" --> |
philpem@5 | 4951 | <div class="memitem"> |
philpem@5 | 4952 | <div class="memproto"> |
philpem@5 | 4953 | <table class="memname"> |
philpem@5 | 4954 | <tr> |
philpem@5 | 4955 | <td class="memname">T& operator() </td> |
philpem@5 | 4956 | <td>(</td> |
philpem@5 | 4957 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4958 | <td class="paramname"> <em>x</em>, </td> |
philpem@5 | 4959 | </tr> |
philpem@5 | 4960 | <tr> |
philpem@5 | 4961 | <td class="paramkey"></td> |
philpem@5 | 4962 | <td></td> |
philpem@5 | 4963 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4964 | <td class="paramname"> <em>y</em> = <code>0</code>, </td> |
philpem@5 | 4965 | </tr> |
philpem@5 | 4966 | <tr> |
philpem@5 | 4967 | <td class="paramkey"></td> |
philpem@5 | 4968 | <td></td> |
philpem@5 | 4969 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4970 | <td class="paramname"> <em>z</em> = <code>0</code>, </td> |
philpem@5 | 4971 | </tr> |
philpem@5 | 4972 | <tr> |
philpem@5 | 4973 | <td class="paramkey"></td> |
philpem@5 | 4974 | <td></td> |
philpem@5 | 4975 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 4976 | <td class="paramname"> <em>v</em> = <code>0</code></td><td> </td> |
philpem@5 | 4977 | </tr> |
philpem@5 | 4978 | <tr> |
philpem@5 | 4979 | <td></td> |
philpem@5 | 4980 | <td>)</td> |
philpem@5 | 4981 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 4982 | </tr> |
philpem@5 | 4983 | </table> |
philpem@5 | 4984 | </div> |
philpem@5 | 4985 | <div class="memdoc"> |
philpem@5 | 4986 | |
philpem@5 | 4987 | <p> |
philpem@5 | 4988 | Fast access to pixel value for reading or writing. |
philpem@5 | 4989 | <p> |
philpem@5 | 4990 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 4991 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 4992 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X-coordinate of the pixel. </td></tr> |
philpem@5 | 4993 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y-coordinate of the pixel. </td></tr> |
philpem@5 | 4994 | <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>Z-coordinate of the pixel. </td></tr> |
philpem@5 | 4995 | <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>V-coordinate of the pixel.</td></tr> |
philpem@5 | 4996 | </table> |
philpem@5 | 4997 | </dl> |
philpem@5 | 4998 | <ul> |
philpem@5 | 4999 | <li>If one image dimension is equal to 1, it can be omitted in the coordinate list (see example below).</li><li>If the macro <code>'cimg_debug'>=3</code>, boundary checking is performed and warning messages may appear (but function performances decrease).</li></ul> |
philpem@5 | 5000 | <p> |
philpem@5 | 5001 | <dl class="user" compact><dt><b>example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<float> img(100,100,1,3,0); <span class="comment">// Define a 100x100 color image with float-valued black pixels.</span> |
philpem@5 | 5002 | <span class="keyword">const</span> <span class="keywordtype">float</span> valR = img(10,10,0,0); <span class="comment">// Read the red component at coordinates (10,10).</span> |
philpem@5 | 5003 | <span class="keyword">const</span> <span class="keywordtype">float</span> valG = img(10,10,0,1); <span class="comment">// Read the green component at coordinates (10,10)</span> |
philpem@5 | 5004 | <span class="keyword">const</span> <span class="keywordtype">float</span> valB = img(10,10,2); <span class="comment">// Read the blue component at coordinates (10,10) (Z-coordinate omitted here).</span> |
philpem@5 | 5005 | <span class="keyword">const</span> <span class="keywordtype">float</span> avg = (valR + valG + valB)/3; <span class="comment">// Compute average pixel value.</span> |
philpem@5 | 5006 | img(10,10,0) = img(10,10,1) = img(10,10,2) = avg; <span class="comment">// Replace the pixel (10,10) by the average grey value.</span> |
philpem@5 | 5007 | </pre></div> </dd></dl> |
philpem@5 | 5008 | |
philpem@5 | 5009 | </div> |
philpem@5 | 5010 | </div><p> |
philpem@5 | 5011 | <a class="anchor" name="87f4042f1af3428fa0ad1a9480286abe"></a><!-- doxytag: member="cimg_library::CImg::operator[]" ref="87f4042f1af3428fa0ad1a9480286abe" args="(const unsigned long off)" --> |
philpem@5 | 5012 | <div class="memitem"> |
philpem@5 | 5013 | <div class="memproto"> |
philpem@5 | 5014 | <table class="memname"> |
philpem@5 | 5015 | <tr> |
philpem@5 | 5016 | <td class="memname">T& operator[] </td> |
philpem@5 | 5017 | <td>(</td> |
philpem@5 | 5018 | <td class="paramtype">const unsigned long </td> |
philpem@5 | 5019 | <td class="paramname"> <em>off</em> </td> |
philpem@5 | 5020 | <td> ) </td> |
philpem@5 | 5021 | <td><code> [inline]</code></td> |
philpem@5 | 5022 | </tr> |
philpem@5 | 5023 | </table> |
philpem@5 | 5024 | </div> |
philpem@5 | 5025 | <div class="memdoc"> |
philpem@5 | 5026 | |
philpem@5 | 5027 | <p> |
philpem@5 | 5028 | Fast access to pixel value for reading or writing, using an offset to the image pixel. |
philpem@5 | 5029 | <p> |
philpem@5 | 5030 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5031 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5032 | <tr><td valign="top"></td><td valign="top"><em>off</em> </td><td>Offset of the pixel according to the begining of the pixel buffer, given by <a class="el" href="structcimg__library_1_1CImg.html#3295aee3e56bc13ea3aa5d1a5dc6bcda" title="Return a pointer to the pixel buffer.">ptr()</a>.</td></tr> |
philpem@5 | 5033 | </table> |
philpem@5 | 5034 | </dl> |
philpem@5 | 5035 | <ul> |
philpem@5 | 5036 | <li>If the macro <code>'cimg_debug'>=3</code>, boundary checking is performed and warning messages may appear (but function performances decrease).</li><li>As pixel values are aligned in memory, this operator can sometime useful to access values easier than with <a class="el" href="structcimg__library_1_1CImg.html#b8fbc19527504258380aaed12c4bec4b" title="Fast access to pixel value for reading or writing.">operator()()</a> (see example below).</li></ul> |
philpem@5 | 5037 | <p> |
philpem@5 | 5038 | <dl class="user" compact><dt><b>example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<float> vec(1,10); <span class="comment">// Define a vector of float values (10 lines, 1 row).</span> |
philpem@5 | 5039 | <span class="keyword">const</span> <span class="keywordtype">float</span> val1 = vec(0,4); <span class="comment">// Get the fifth element using operator()().</span> |
philpem@5 | 5040 | <span class="keyword">const</span> <span class="keywordtype">float</span> val2 = vec[4]; <span class="comment">// Get the fifth element using operator[]. Here, val2==val1.</span> |
philpem@5 | 5041 | </pre></div> </dd></dl> |
philpem@5 | 5042 | |
philpem@5 | 5043 | </div> |
philpem@5 | 5044 | </div><p> |
philpem@5 | 5045 | <a class="anchor" name="641a93939e495eec1749bb68197996ac"></a><!-- doxytag: member="cimg_library::CImg::variance" ref="641a93939e495eec1749bb68197996ac" args="(const unsigned int variance_method=1) const " --> |
philpem@5 | 5046 | <div class="memitem"> |
philpem@5 | 5047 | <div class="memproto"> |
philpem@5 | 5048 | <table class="memname"> |
philpem@5 | 5049 | <tr> |
philpem@5 | 5050 | <td class="memname">Tfloat variance </td> |
philpem@5 | 5051 | <td>(</td> |
philpem@5 | 5052 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 5053 | <td class="paramname"> <em>variance_method</em> = <code>1</code> </td> |
philpem@5 | 5054 | <td> ) </td> |
philpem@5 | 5055 | <td> const<code> [inline]</code></td> |
philpem@5 | 5056 | </tr> |
philpem@5 | 5057 | </table> |
philpem@5 | 5058 | </div> |
philpem@5 | 5059 | <div class="memdoc"> |
philpem@5 | 5060 | |
philpem@5 | 5061 | <p> |
philpem@5 | 5062 | Return the variance of the image. |
philpem@5 | 5063 | <p> |
philpem@5 | 5064 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5065 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5066 | <tr><td valign="top"></td><td valign="top"><em>variance_method</em> </td><td>Determines how to calculate the variance <table border="0" cellspacing="3" cellpadding="3"> |
philpem@5 | 5067 | <tr> |
philpem@5 | 5068 | <td>0 </td><td>Second moment: <img class="formulaInl" alt="$ v = 1/N \sum\limits_{k=1}^{N} (x_k - \bar x)^2 = 1/N \left( \sum\limits_{k=1}^N x_k^2 - \left( \sum\limits_{k=1}^N x_k \right)^2 / N \right) $" src="form_0.png"> with <img class="formulaInl" alt="$ \bar x = 1/N \sum\limits_{k=1}^N x_k $" src="form_1.png"> </td></tr> |
philpem@5 | 5069 | <tr> |
philpem@5 | 5070 | <td>1 </td><td>Best unbiased estimator: <img class="formulaInl" alt="$ v = \frac{1}{N-1} \sum\limits_{k=1}^{N} (x_k - \bar x)^2 $" src="form_2.png"> </td></tr> |
philpem@5 | 5071 | <tr> |
philpem@5 | 5072 | <td>2 </td><td>Least median of squares </td></tr> |
philpem@5 | 5073 | <tr> |
philpem@5 | 5074 | <td>3 </td><td>Least trimmed of squares </td></tr> |
philpem@5 | 5075 | </table> |
philpem@5 | 5076 | </td></tr> |
philpem@5 | 5077 | </table> |
philpem@5 | 5078 | </dl> |
philpem@5 | 5079 | |
philpem@5 | 5080 | </div> |
philpem@5 | 5081 | </div><p> |
philpem@5 | 5082 | <a class="anchor" name="6996328dda8169890a02942e19b6d445"></a><!-- doxytag: member="cimg_library::CImg::print" ref="6996328dda8169890a02942e19b6d445" args="(const char *title=0, const bool display_stats=true) const " --> |
philpem@5 | 5083 | <div class="memitem"> |
philpem@5 | 5084 | <div class="memproto"> |
philpem@5 | 5085 | <table class="memname"> |
philpem@5 | 5086 | <tr> |
philpem@5 | 5087 | <td class="memname">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& print </td> |
philpem@5 | 5088 | <td>(</td> |
philpem@5 | 5089 | <td class="paramtype">const char * </td> |
philpem@5 | 5090 | <td class="paramname"> <em>title</em> = <code>0</code>, </td> |
philpem@5 | 5091 | </tr> |
philpem@5 | 5092 | <tr> |
philpem@5 | 5093 | <td class="paramkey"></td> |
philpem@5 | 5094 | <td></td> |
philpem@5 | 5095 | <td class="paramtype">const bool </td> |
philpem@5 | 5096 | <td class="paramname"> <em>display_stats</em> = <code>true</code></td><td> </td> |
philpem@5 | 5097 | </tr> |
philpem@5 | 5098 | <tr> |
philpem@5 | 5099 | <td></td> |
philpem@5 | 5100 | <td>)</td> |
philpem@5 | 5101 | <td></td><td></td><td> const<code> [inline]</code></td> |
philpem@5 | 5102 | </tr> |
philpem@5 | 5103 | </table> |
philpem@5 | 5104 | </div> |
philpem@5 | 5105 | <div class="memdoc"> |
philpem@5 | 5106 | |
philpem@5 | 5107 | <p> |
philpem@5 | 5108 | Display informations about the image on the standard error output. |
philpem@5 | 5109 | <p> |
philpem@5 | 5110 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5111 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5112 | <tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>Name for the considered image (optional). </td></tr> |
philpem@5 | 5113 | <tr><td valign="top"></td><td valign="top"><em>display_stats</em> </td><td>Compute and display image statistics (optional). </td></tr> |
philpem@5 | 5114 | </table> |
philpem@5 | 5115 | </dl> |
philpem@5 | 5116 | |
philpem@5 | 5117 | </div> |
philpem@5 | 5118 | </div><p> |
philpem@5 | 5119 | <a class="anchor" name="b8993b2170b87343f86f3e07fe0b7348"></a><!-- doxytag: member="cimg_library::CImg::operator=" ref="b8993b2170b87343f86f3e07fe0b7348" args="(const CImg< t > &img)" --> |
philpem@5 | 5120 | <div class="memitem"> |
philpem@5 | 5121 | <div class="memproto"> |
philpem@5 | 5122 | <table class="memname"> |
philpem@5 | 5123 | <tr> |
philpem@5 | 5124 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& operator= </td> |
philpem@5 | 5125 | <td>(</td> |
philpem@5 | 5126 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 5127 | <td class="paramname"> <em>img</em> </td> |
philpem@5 | 5128 | <td> ) </td> |
philpem@5 | 5129 | <td><code> [inline]</code></td> |
philpem@5 | 5130 | </tr> |
philpem@5 | 5131 | </table> |
philpem@5 | 5132 | </div> |
philpem@5 | 5133 | <div class="memdoc"> |
philpem@5 | 5134 | |
philpem@5 | 5135 | <p> |
philpem@5 | 5136 | Assignment operator. |
philpem@5 | 5137 | <p> |
philpem@5 | 5138 | This operator assigns a copy of the input image <code>img</code> to the current instance image. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5139 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5140 | <tr><td valign="top"></td><td valign="top"><em>img</em> </td><td>The input image to copy. </td></tr> |
philpem@5 | 5141 | </table> |
philpem@5 | 5142 | </dl> |
philpem@5 | 5143 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 5144 | <li>This operator is strictly equivalent to the function <a class="el" href="structcimg__library_1_1CImg.html#0fb4ca12616b7a1a05a9b3cc62878df4" title="In-place version of the default copy constructor.">assign(const CImg< t >&)</a> and has exactly the same properties. </li></ul> |
philpem@5 | 5145 | </dd></dl> |
philpem@5 | 5146 | |
philpem@5 | 5147 | </div> |
philpem@5 | 5148 | </div><p> |
philpem@5 | 5149 | <a class="anchor" name="372633e285ab4266465e4101e72e74aa"></a><!-- doxytag: member="cimg_library::CImg::operator=" ref="372633e285ab4266465e4101e72e74aa" args="(const T *buf)" --> |
philpem@5 | 5150 | <div class="memitem"> |
philpem@5 | 5151 | <div class="memproto"> |
philpem@5 | 5152 | <table class="memname"> |
philpem@5 | 5153 | <tr> |
philpem@5 | 5154 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& operator= </td> |
philpem@5 | 5155 | <td>(</td> |
philpem@5 | 5156 | <td class="paramtype">const T * </td> |
philpem@5 | 5157 | <td class="paramname"> <em>buf</em> </td> |
philpem@5 | 5158 | <td> ) </td> |
philpem@5 | 5159 | <td><code> [inline]</code></td> |
philpem@5 | 5160 | </tr> |
philpem@5 | 5161 | </table> |
philpem@5 | 5162 | </div> |
philpem@5 | 5163 | <div class="memdoc"> |
philpem@5 | 5164 | |
philpem@5 | 5165 | <p> |
philpem@5 | 5166 | Assign values of a C-array to the instance image. |
philpem@5 | 5167 | <p> |
philpem@5 | 5168 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5169 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5170 | <tr><td valign="top"></td><td valign="top"><em>buf</em> </td><td>Pointer to a C-style array having a size of (at least) <code>this-><a class="el" href="structcimg__library_1_1CImg.html#3e13243636f944bad8351324f2910e2b" title="Return the total number of pixel values in an image.">size()</a></code>.</td></tr> |
philpem@5 | 5171 | </table> |
philpem@5 | 5172 | </dl> |
philpem@5 | 5173 | <ul> |
philpem@5 | 5174 | <li>Replace pixel values by the content of the array <code>buf</code>.</li><li>Warning : the value types in the array and in the image must be the same.</li></ul> |
philpem@5 | 5175 | <p> |
philpem@5 | 5176 | <dl class="user" compact><dt><b>example:</b></dt><dd><div class="fragment"><pre class="fragment"> <span class="keywordtype">float</span> tab[4*4] = { 1,2,3,4, 5,6,7,8, 9,10,11,12, 13,14,15,16 }; <span class="comment">// Define a 4x4 matrix in C-style.</span> |
philpem@5 | 5177 | CImg<float> matrice(4,4); <span class="comment">// Define a 4x4 greyscale image.</span> |
philpem@5 | 5178 | matrice = tab; <span class="comment">// Fill the image by the values in tab.</span> |
philpem@5 | 5179 | </pre></div> </dd></dl> |
philpem@5 | 5180 | |
philpem@5 | 5181 | </div> |
philpem@5 | 5182 | </div><p> |
philpem@5 | 5183 | <a class="anchor" name="637e0346bd7e4426d32e32aab42bd3f6"></a><!-- doxytag: member="cimg_library::CImg::operator+" ref="637e0346bd7e4426d32e32aab42bd3f6" args="() const " --> |
philpem@5 | 5184 | <div class="memitem"> |
philpem@5 | 5185 | <div class="memproto"> |
philpem@5 | 5186 | <table class="memname"> |
philpem@5 | 5187 | <tr> |
philpem@5 | 5188 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T> operator+ </td> |
philpem@5 | 5189 | <td>(</td> |
philpem@5 | 5190 | <td class="paramname"> </td> |
philpem@5 | 5191 | <td> ) </td> |
philpem@5 | 5192 | <td> const<code> [inline]</code></td> |
philpem@5 | 5193 | </tr> |
philpem@5 | 5194 | </table> |
philpem@5 | 5195 | </div> |
philpem@5 | 5196 | <div class="memdoc"> |
philpem@5 | 5197 | |
philpem@5 | 5198 | <p> |
philpem@5 | 5199 | Operator+. |
philpem@5 | 5200 | <p> |
philpem@5 | 5201 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 5202 | <li>This operator can be used to get a non-shared copy of an image. </li></ul> |
philpem@5 | 5203 | </dd></dl> |
philpem@5 | 5204 | |
philpem@5 | 5205 | </div> |
philpem@5 | 5206 | </div><p> |
philpem@5 | 5207 | <a class="anchor" name="3619f9d2043ebaa67d21eb373ab4d22e"></a><!-- doxytag: member="cimg_library::CImg::round" ref="3619f9d2043ebaa67d21eb373ab4d22e" args="(const float x, const int rounding_type=0)" --> |
philpem@5 | 5208 | <div class="memitem"> |
philpem@5 | 5209 | <div class="memproto"> |
philpem@5 | 5210 | <table class="memname"> |
philpem@5 | 5211 | <tr> |
philpem@5 | 5212 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& round </td> |
philpem@5 | 5213 | <td>(</td> |
philpem@5 | 5214 | <td class="paramtype">const float </td> |
philpem@5 | 5215 | <td class="paramname"> <em>x</em>, </td> |
philpem@5 | 5216 | </tr> |
philpem@5 | 5217 | <tr> |
philpem@5 | 5218 | <td class="paramkey"></td> |
philpem@5 | 5219 | <td></td> |
philpem@5 | 5220 | <td class="paramtype">const int </td> |
philpem@5 | 5221 | <td class="paramname"> <em>rounding_type</em> = <code>0</code></td><td> </td> |
philpem@5 | 5222 | </tr> |
philpem@5 | 5223 | <tr> |
philpem@5 | 5224 | <td></td> |
philpem@5 | 5225 | <td>)</td> |
philpem@5 | 5226 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5227 | </tr> |
philpem@5 | 5228 | </table> |
philpem@5 | 5229 | </div> |
philpem@5 | 5230 | <div class="memdoc"> |
philpem@5 | 5231 | |
philpem@5 | 5232 | <p> |
philpem@5 | 5233 | Compute image with rounded pixel values. |
philpem@5 | 5234 | <p> |
philpem@5 | 5235 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5236 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5237 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>Rounding precision. </td></tr> |
philpem@5 | 5238 | <tr><td valign="top"></td><td valign="top"><em>rounding_type</em> </td><td>Roundin type, can be 0 (nearest), 1 (forward), -1(backward). </td></tr> |
philpem@5 | 5239 | </table> |
philpem@5 | 5240 | </dl> |
philpem@5 | 5241 | |
philpem@5 | 5242 | </div> |
philpem@5 | 5243 | </div><p> |
philpem@5 | 5244 | <a class="anchor" name="494a1e1424510af07e705dfe9b5f78bd"></a><!-- doxytag: member="cimg_library::CImg::fill" ref="494a1e1424510af07e705dfe9b5f78bd" args="(const T val)" --> |
philpem@5 | 5245 | <div class="memitem"> |
philpem@5 | 5246 | <div class="memproto"> |
philpem@5 | 5247 | <table class="memname"> |
philpem@5 | 5248 | <tr> |
philpem@5 | 5249 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& fill </td> |
philpem@5 | 5250 | <td>(</td> |
philpem@5 | 5251 | <td class="paramtype">const T </td> |
philpem@5 | 5252 | <td class="paramname"> <em>val</em> </td> |
philpem@5 | 5253 | <td> ) </td> |
philpem@5 | 5254 | <td><code> [inline]</code></td> |
philpem@5 | 5255 | </tr> |
philpem@5 | 5256 | </table> |
philpem@5 | 5257 | </div> |
philpem@5 | 5258 | <div class="memdoc"> |
philpem@5 | 5259 | |
philpem@5 | 5260 | <p> |
philpem@5 | 5261 | Fill an image by a value <code>val</code>. |
philpem@5 | 5262 | <p> |
philpem@5 | 5263 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5264 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5265 | <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>= fill value </td></tr> |
philpem@5 | 5266 | </table> |
philpem@5 | 5267 | </dl> |
philpem@5 | 5268 | <dl class="note" compact><dt><b>Note:</b></dt><dd>All pixel values of the instance image will be initialized by <code>val</code>. </dd></dl> |
philpem@5 | 5269 | |
philpem@5 | 5270 | </div> |
philpem@5 | 5271 | </div><p> |
philpem@5 | 5272 | <a class="anchor" name="411ae06f4b7a9281dbe7ae608e5dadee"></a><!-- doxytag: member="cimg_library::CImg::threshold" ref="411ae06f4b7a9281dbe7ae608e5dadee" args="(const T value, const bool soft=false, const bool strict=false)" --> |
philpem@5 | 5273 | <div class="memitem"> |
philpem@5 | 5274 | <div class="memproto"> |
philpem@5 | 5275 | <table class="memname"> |
philpem@5 | 5276 | <tr> |
philpem@5 | 5277 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& threshold </td> |
philpem@5 | 5278 | <td>(</td> |
philpem@5 | 5279 | <td class="paramtype">const T </td> |
philpem@5 | 5280 | <td class="paramname"> <em>value</em>, </td> |
philpem@5 | 5281 | </tr> |
philpem@5 | 5282 | <tr> |
philpem@5 | 5283 | <td class="paramkey"></td> |
philpem@5 | 5284 | <td></td> |
philpem@5 | 5285 | <td class="paramtype">const bool </td> |
philpem@5 | 5286 | <td class="paramname"> <em>soft</em> = <code>false</code>, </td> |
philpem@5 | 5287 | </tr> |
philpem@5 | 5288 | <tr> |
philpem@5 | 5289 | <td class="paramkey"></td> |
philpem@5 | 5290 | <td></td> |
philpem@5 | 5291 | <td class="paramtype">const bool </td> |
philpem@5 | 5292 | <td class="paramname"> <em>strict</em> = <code>false</code></td><td> </td> |
philpem@5 | 5293 | </tr> |
philpem@5 | 5294 | <tr> |
philpem@5 | 5295 | <td></td> |
philpem@5 | 5296 | <td>)</td> |
philpem@5 | 5297 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5298 | </tr> |
philpem@5 | 5299 | </table> |
philpem@5 | 5300 | </div> |
philpem@5 | 5301 | <div class="memdoc"> |
philpem@5 | 5302 | |
philpem@5 | 5303 | <p> |
philpem@5 | 5304 | Threshold the image. |
philpem@5 | 5305 | <p> |
philpem@5 | 5306 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5307 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5308 | <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>Threshold value. </td></tr> |
philpem@5 | 5309 | <tr><td valign="top"></td><td valign="top"><em>soft</em> </td><td>Enable soft thresholding. </td></tr> |
philpem@5 | 5310 | <tr><td valign="top"></td><td valign="top"><em>strict</em> </td><td>Tells if the threshold is strict. </td></tr> |
philpem@5 | 5311 | </table> |
philpem@5 | 5312 | </dl> |
philpem@5 | 5313 | |
philpem@5 | 5314 | </div> |
philpem@5 | 5315 | </div><p> |
philpem@5 | 5316 | <a class="anchor" name="8e890897305eb5c4d2a5664312633819"></a><!-- doxytag: member="cimg_library::CImg::rotate" ref="8e890897305eb5c4d2a5664312633819" args="(const float angle, const unsigned int border_conditions=3, const unsigned int interpolation=1)" --> |
philpem@5 | 5317 | <div class="memitem"> |
philpem@5 | 5318 | <div class="memproto"> |
philpem@5 | 5319 | <table class="memname"> |
philpem@5 | 5320 | <tr> |
philpem@5 | 5321 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& rotate </td> |
philpem@5 | 5322 | <td>(</td> |
philpem@5 | 5323 | <td class="paramtype">const float </td> |
philpem@5 | 5324 | <td class="paramname"> <em>angle</em>, </td> |
philpem@5 | 5325 | </tr> |
philpem@5 | 5326 | <tr> |
philpem@5 | 5327 | <td class="paramkey"></td> |
philpem@5 | 5328 | <td></td> |
philpem@5 | 5329 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 5330 | <td class="paramname"> <em>border_conditions</em> = <code>3</code>, </td> |
philpem@5 | 5331 | </tr> |
philpem@5 | 5332 | <tr> |
philpem@5 | 5333 | <td class="paramkey"></td> |
philpem@5 | 5334 | <td></td> |
philpem@5 | 5335 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 5336 | <td class="paramname"> <em>interpolation</em> = <code>1</code></td><td> </td> |
philpem@5 | 5337 | </tr> |
philpem@5 | 5338 | <tr> |
philpem@5 | 5339 | <td></td> |
philpem@5 | 5340 | <td>)</td> |
philpem@5 | 5341 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5342 | </tr> |
philpem@5 | 5343 | </table> |
philpem@5 | 5344 | </div> |
philpem@5 | 5345 | <div class="memdoc"> |
philpem@5 | 5346 | |
philpem@5 | 5347 | <p> |
philpem@5 | 5348 | Rotate an image. |
philpem@5 | 5349 | <p> |
philpem@5 | 5350 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5351 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5352 | <tr><td valign="top"></td><td valign="top"><em>angle</em> </td><td>= rotation angle (in degrees). </td></tr> |
philpem@5 | 5353 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>= rotation type. can be :<ul> |
philpem@5 | 5354 | <li>0 = zero-value at borders</li><li>1 = nearest pixel.</li><li>2 = Fourier style. </li></ul> |
philpem@5 | 5355 | </td></tr> |
philpem@5 | 5356 | </table> |
philpem@5 | 5357 | </dl> |
philpem@5 | 5358 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Returned image will probably have a different size than the instance image *this. </dd></dl> |
philpem@5 | 5359 | |
philpem@5 | 5360 | </div> |
philpem@5 | 5361 | </div><p> |
philpem@5 | 5362 | <a class="anchor" name="e4b06ab7123208c764f6fe1de4d29a39"></a><!-- doxytag: member="cimg_library::CImg::rotate" ref="e4b06ab7123208c764f6fe1de4d29a39" args="(const float angle, const float cx, const float cy, const float zoom, const unsigned int border_conditions=3, const unsigned int interpolation=1)" --> |
philpem@5 | 5363 | <div class="memitem"> |
philpem@5 | 5364 | <div class="memproto"> |
philpem@5 | 5365 | <table class="memname"> |
philpem@5 | 5366 | <tr> |
philpem@5 | 5367 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& rotate </td> |
philpem@5 | 5368 | <td>(</td> |
philpem@5 | 5369 | <td class="paramtype">const float </td> |
philpem@5 | 5370 | <td class="paramname"> <em>angle</em>, </td> |
philpem@5 | 5371 | </tr> |
philpem@5 | 5372 | <tr> |
philpem@5 | 5373 | <td class="paramkey"></td> |
philpem@5 | 5374 | <td></td> |
philpem@5 | 5375 | <td class="paramtype">const float </td> |
philpem@5 | 5376 | <td class="paramname"> <em>cx</em>, </td> |
philpem@5 | 5377 | </tr> |
philpem@5 | 5378 | <tr> |
philpem@5 | 5379 | <td class="paramkey"></td> |
philpem@5 | 5380 | <td></td> |
philpem@5 | 5381 | <td class="paramtype">const float </td> |
philpem@5 | 5382 | <td class="paramname"> <em>cy</em>, </td> |
philpem@5 | 5383 | </tr> |
philpem@5 | 5384 | <tr> |
philpem@5 | 5385 | <td class="paramkey"></td> |
philpem@5 | 5386 | <td></td> |
philpem@5 | 5387 | <td class="paramtype">const float </td> |
philpem@5 | 5388 | <td class="paramname"> <em>zoom</em>, </td> |
philpem@5 | 5389 | </tr> |
philpem@5 | 5390 | <tr> |
philpem@5 | 5391 | <td class="paramkey"></td> |
philpem@5 | 5392 | <td></td> |
philpem@5 | 5393 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 5394 | <td class="paramname"> <em>border_conditions</em> = <code>3</code>, </td> |
philpem@5 | 5395 | </tr> |
philpem@5 | 5396 | <tr> |
philpem@5 | 5397 | <td class="paramkey"></td> |
philpem@5 | 5398 | <td></td> |
philpem@5 | 5399 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 5400 | <td class="paramname"> <em>interpolation</em> = <code>1</code></td><td> </td> |
philpem@5 | 5401 | </tr> |
philpem@5 | 5402 | <tr> |
philpem@5 | 5403 | <td></td> |
philpem@5 | 5404 | <td>)</td> |
philpem@5 | 5405 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5406 | </tr> |
philpem@5 | 5407 | </table> |
philpem@5 | 5408 | </div> |
philpem@5 | 5409 | <div class="memdoc"> |
philpem@5 | 5410 | |
philpem@5 | 5411 | <p> |
philpem@5 | 5412 | Rotate an image around a center point (<code>cx</code>,<code>cy</code>). |
philpem@5 | 5413 | <p> |
philpem@5 | 5414 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5415 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5416 | <tr><td valign="top"></td><td valign="top"><em>angle</em> </td><td>= rotation angle (in degrees). </td></tr> |
philpem@5 | 5417 | <tr><td valign="top"></td><td valign="top"><em>cx</em> </td><td>= X-coordinate of the rotation center. </td></tr> |
philpem@5 | 5418 | <tr><td valign="top"></td><td valign="top"><em>cy</em> </td><td>= Y-coordinate of the rotation center. </td></tr> |
philpem@5 | 5419 | <tr><td valign="top"></td><td valign="top"><em>zoom</em> </td><td>= zoom. </td></tr> |
philpem@5 | 5420 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>= rotation type. can be :<ul> |
philpem@5 | 5421 | <li>0 = zero-value at borders</li><li>1 = repeat image at borders</li><li>2 = zero-value at borders and linear interpolation </li></ul> |
philpem@5 | 5422 | </td></tr> |
philpem@5 | 5423 | </table> |
philpem@5 | 5424 | </dl> |
philpem@5 | 5425 | |
philpem@5 | 5426 | </div> |
philpem@5 | 5427 | </div><p> |
philpem@5 | 5428 | <a class="anchor" name="a930a4b0563d7d0794661231310b36c4"></a><!-- doxytag: member="cimg_library::CImg::resize" ref="a930a4b0563d7d0794661231310b36c4" args="(const int pdx, const int pdy=-100, const int pdz=-100, const int pdv=-100, const int interpolation_type=1, const int border_condition=-1, const bool center=false)" --> |
philpem@5 | 5429 | <div class="memitem"> |
philpem@5 | 5430 | <div class="memproto"> |
philpem@5 | 5431 | <table class="memname"> |
philpem@5 | 5432 | <tr> |
philpem@5 | 5433 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& resize </td> |
philpem@5 | 5434 | <td>(</td> |
philpem@5 | 5435 | <td class="paramtype">const int </td> |
philpem@5 | 5436 | <td class="paramname"> <em>pdx</em>, </td> |
philpem@5 | 5437 | </tr> |
philpem@5 | 5438 | <tr> |
philpem@5 | 5439 | <td class="paramkey"></td> |
philpem@5 | 5440 | <td></td> |
philpem@5 | 5441 | <td class="paramtype">const int </td> |
philpem@5 | 5442 | <td class="paramname"> <em>pdy</em> = <code>-100</code>, </td> |
philpem@5 | 5443 | </tr> |
philpem@5 | 5444 | <tr> |
philpem@5 | 5445 | <td class="paramkey"></td> |
philpem@5 | 5446 | <td></td> |
philpem@5 | 5447 | <td class="paramtype">const int </td> |
philpem@5 | 5448 | <td class="paramname"> <em>pdz</em> = <code>-100</code>, </td> |
philpem@5 | 5449 | </tr> |
philpem@5 | 5450 | <tr> |
philpem@5 | 5451 | <td class="paramkey"></td> |
philpem@5 | 5452 | <td></td> |
philpem@5 | 5453 | <td class="paramtype">const int </td> |
philpem@5 | 5454 | <td class="paramname"> <em>pdv</em> = <code>-100</code>, </td> |
philpem@5 | 5455 | </tr> |
philpem@5 | 5456 | <tr> |
philpem@5 | 5457 | <td class="paramkey"></td> |
philpem@5 | 5458 | <td></td> |
philpem@5 | 5459 | <td class="paramtype">const int </td> |
philpem@5 | 5460 | <td class="paramname"> <em>interpolation_type</em> = <code>1</code>, </td> |
philpem@5 | 5461 | </tr> |
philpem@5 | 5462 | <tr> |
philpem@5 | 5463 | <td class="paramkey"></td> |
philpem@5 | 5464 | <td></td> |
philpem@5 | 5465 | <td class="paramtype">const int </td> |
philpem@5 | 5466 | <td class="paramname"> <em>border_condition</em> = <code>-1</code>, </td> |
philpem@5 | 5467 | </tr> |
philpem@5 | 5468 | <tr> |
philpem@5 | 5469 | <td class="paramkey"></td> |
philpem@5 | 5470 | <td></td> |
philpem@5 | 5471 | <td class="paramtype">const bool </td> |
philpem@5 | 5472 | <td class="paramname"> <em>center</em> = <code>false</code></td><td> </td> |
philpem@5 | 5473 | </tr> |
philpem@5 | 5474 | <tr> |
philpem@5 | 5475 | <td></td> |
philpem@5 | 5476 | <td>)</td> |
philpem@5 | 5477 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5478 | </tr> |
philpem@5 | 5479 | </table> |
philpem@5 | 5480 | </div> |
philpem@5 | 5481 | <div class="memdoc"> |
philpem@5 | 5482 | |
philpem@5 | 5483 | <p> |
philpem@5 | 5484 | Resize an image. |
philpem@5 | 5485 | <p> |
philpem@5 | 5486 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5487 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5488 | <tr><td valign="top"></td><td valign="top"><em>pdx</em> </td><td>Number of columns (new size along the X-axis). </td></tr> |
philpem@5 | 5489 | <tr><td valign="top"></td><td valign="top"><em>pdy</em> </td><td>Number of rows (new size along the Y-axis). </td></tr> |
philpem@5 | 5490 | <tr><td valign="top"></td><td valign="top"><em>pdz</em> </td><td>Number of slices (new size along the Z-axis). </td></tr> |
philpem@5 | 5491 | <tr><td valign="top"></td><td valign="top"><em>pdv</em> </td><td>Number of vector-channels (new size along the V-axis). </td></tr> |
philpem@5 | 5492 | <tr><td valign="top"></td><td valign="top"><em>interpolation_type</em> </td><td>Method of interpolation :<ul> |
philpem@5 | 5493 | <li>-1 = no interpolation : raw memory resizing.</li><li>0 = no interpolation : additional space is filled according to <code>border_condition</code>.</li><li>1 = bloc interpolation (nearest point).</li><li>2 = moving average interpolation.</li><li>3 = linear interpolation.</li><li>4 = grid interpolation.</li><li>5 = bi-cubic interpolation. </li></ul> |
philpem@5 | 5494 | </td></tr> |
philpem@5 | 5495 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>Border condition type. </td></tr> |
philpem@5 | 5496 | <tr><td valign="top"></td><td valign="top"><em>center</em> </td><td>Set centering type (only if <code>interpolation_type=0</code>). </td></tr> |
philpem@5 | 5497 | </table> |
philpem@5 | 5498 | </dl> |
philpem@5 | 5499 | <dl class="note" compact><dt><b>Note:</b></dt><dd>If pd[x,y,z,v]<0, it corresponds to a percentage of the original size (the default value is -100). </dd></dl> |
philpem@5 | 5500 | |
philpem@5 | 5501 | </div> |
philpem@5 | 5502 | </div><p> |
philpem@5 | 5503 | <a class="anchor" name="ed8c4bc86e30f3cc55c46f1329e081a1"></a><!-- doxytag: member="cimg_library::CImg::resize" ref="ed8c4bc86e30f3cc55c46f1329e081a1" args="(const CImg< t > &src, const int interpolation_type=1, const int border_condition=-1, const bool center=false)" --> |
philpem@5 | 5504 | <div class="memitem"> |
philpem@5 | 5505 | <div class="memproto"> |
philpem@5 | 5506 | <table class="memname"> |
philpem@5 | 5507 | <tr> |
philpem@5 | 5508 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& resize </td> |
philpem@5 | 5509 | <td>(</td> |
philpem@5 | 5510 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 5511 | <td class="paramname"> <em>src</em>, </td> |
philpem@5 | 5512 | </tr> |
philpem@5 | 5513 | <tr> |
philpem@5 | 5514 | <td class="paramkey"></td> |
philpem@5 | 5515 | <td></td> |
philpem@5 | 5516 | <td class="paramtype">const int </td> |
philpem@5 | 5517 | <td class="paramname"> <em>interpolation_type</em> = <code>1</code>, </td> |
philpem@5 | 5518 | </tr> |
philpem@5 | 5519 | <tr> |
philpem@5 | 5520 | <td class="paramkey"></td> |
philpem@5 | 5521 | <td></td> |
philpem@5 | 5522 | <td class="paramtype">const int </td> |
philpem@5 | 5523 | <td class="paramname"> <em>border_condition</em> = <code>-1</code>, </td> |
philpem@5 | 5524 | </tr> |
philpem@5 | 5525 | <tr> |
philpem@5 | 5526 | <td class="paramkey"></td> |
philpem@5 | 5527 | <td></td> |
philpem@5 | 5528 | <td class="paramtype">const bool </td> |
philpem@5 | 5529 | <td class="paramname"> <em>center</em> = <code>false</code></td><td> </td> |
philpem@5 | 5530 | </tr> |
philpem@5 | 5531 | <tr> |
philpem@5 | 5532 | <td></td> |
philpem@5 | 5533 | <td>)</td> |
philpem@5 | 5534 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5535 | </tr> |
philpem@5 | 5536 | </table> |
philpem@5 | 5537 | </div> |
philpem@5 | 5538 | <div class="memdoc"> |
philpem@5 | 5539 | |
philpem@5 | 5540 | <p> |
philpem@5 | 5541 | Resize an image. |
philpem@5 | 5542 | <p> |
philpem@5 | 5543 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5544 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5545 | <tr><td valign="top"></td><td valign="top"><em>src</em> </td><td>Image giving the geometry of the resize. </td></tr> |
philpem@5 | 5546 | <tr><td valign="top"></td><td valign="top"><em>interpolation_type</em> </td><td>Interpolation method :<ul> |
philpem@5 | 5547 | <li>1 = raw memory</li><li>0 = no interpolation : additional space is filled with 0.</li><li>1 = bloc interpolation (nearest point).</li><li>2 = mosaic : image is repeated if necessary.</li><li>3 = linear interpolation.</li><li>4 = grid interpolation.</li><li>5 = bi-cubic interpolation. </li></ul> |
philpem@5 | 5548 | </td></tr> |
philpem@5 | 5549 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>Border condition type. </td></tr> |
philpem@5 | 5550 | </table> |
philpem@5 | 5551 | </dl> |
philpem@5 | 5552 | <dl class="note" compact><dt><b>Note:</b></dt><dd>If pd[x,y,z,v]<0, it corresponds to a percentage of the original size (the default value is -100). </dd></dl> |
philpem@5 | 5553 | |
philpem@5 | 5554 | </div> |
philpem@5 | 5555 | </div><p> |
philpem@5 | 5556 | <a class="anchor" name="cb7831acf038a036edaa9a1b74779054"></a><!-- doxytag: member="cimg_library::CImg::resize" ref="cb7831acf038a036edaa9a1b74779054" args="(const CImgDisplay &disp, const int interpolation_type=1, const int border_condition=-1, const bool center=false)" --> |
philpem@5 | 5557 | <div class="memitem"> |
philpem@5 | 5558 | <div class="memproto"> |
philpem@5 | 5559 | <table class="memname"> |
philpem@5 | 5560 | <tr> |
philpem@5 | 5561 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& resize </td> |
philpem@5 | 5562 | <td>(</td> |
philpem@5 | 5563 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> & </td> |
philpem@5 | 5564 | <td class="paramname"> <em>disp</em>, </td> |
philpem@5 | 5565 | </tr> |
philpem@5 | 5566 | <tr> |
philpem@5 | 5567 | <td class="paramkey"></td> |
philpem@5 | 5568 | <td></td> |
philpem@5 | 5569 | <td class="paramtype">const int </td> |
philpem@5 | 5570 | <td class="paramname"> <em>interpolation_type</em> = <code>1</code>, </td> |
philpem@5 | 5571 | </tr> |
philpem@5 | 5572 | <tr> |
philpem@5 | 5573 | <td class="paramkey"></td> |
philpem@5 | 5574 | <td></td> |
philpem@5 | 5575 | <td class="paramtype">const int </td> |
philpem@5 | 5576 | <td class="paramname"> <em>border_condition</em> = <code>-1</code>, </td> |
philpem@5 | 5577 | </tr> |
philpem@5 | 5578 | <tr> |
philpem@5 | 5579 | <td class="paramkey"></td> |
philpem@5 | 5580 | <td></td> |
philpem@5 | 5581 | <td class="paramtype">const bool </td> |
philpem@5 | 5582 | <td class="paramname"> <em>center</em> = <code>false</code></td><td> </td> |
philpem@5 | 5583 | </tr> |
philpem@5 | 5584 | <tr> |
philpem@5 | 5585 | <td></td> |
philpem@5 | 5586 | <td>)</td> |
philpem@5 | 5587 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5588 | </tr> |
philpem@5 | 5589 | </table> |
philpem@5 | 5590 | </div> |
philpem@5 | 5591 | <div class="memdoc"> |
philpem@5 | 5592 | |
philpem@5 | 5593 | <p> |
philpem@5 | 5594 | Resize an image. |
philpem@5 | 5595 | <p> |
philpem@5 | 5596 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5597 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5598 | <tr><td valign="top"></td><td valign="top"><em>disp</em> </td><td>= Display giving the geometry of the resize. </td></tr> |
philpem@5 | 5599 | <tr><td valign="top"></td><td valign="top"><em>interpolation_type</em> </td><td>= Resizing type :<ul> |
philpem@5 | 5600 | <li>0 = no interpolation : additional space is filled with 0.</li><li>1 = bloc interpolation (nearest point).</li><li>2 = mosaic : image is repeated if necessary.</li><li>3 = linear interpolation.</li><li>4 = grid interpolation.</li><li>5 = bi-cubic interpolation.</li><li>6 = moving average (best quality for photographs) </li></ul> |
philpem@5 | 5601 | </td></tr> |
philpem@5 | 5602 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>Border condition type. </td></tr> |
philpem@5 | 5603 | </table> |
philpem@5 | 5604 | </dl> |
philpem@5 | 5605 | <dl class="note" compact><dt><b>Note:</b></dt><dd>If pd[x,y,z,v]<0, it corresponds to a percentage of the original size (the default value is -100). </dd></dl> |
philpem@5 | 5606 | |
philpem@5 | 5607 | </div> |
philpem@5 | 5608 | </div><p> |
philpem@5 | 5609 | <a class="anchor" name="a2fa295816582cb2e62d530c54533055"></a><!-- doxytag: member="cimg_library::CImg::resize_doubleXY" ref="a2fa295816582cb2e62d530c54533055" args="()" --> |
philpem@5 | 5610 | <div class="memitem"> |
philpem@5 | 5611 | <div class="memproto"> |
philpem@5 | 5612 | <table class="memname"> |
philpem@5 | 5613 | <tr> |
philpem@5 | 5614 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& resize_doubleXY </td> |
philpem@5 | 5615 | <td>(</td> |
philpem@5 | 5616 | <td class="paramname"> </td> |
philpem@5 | 5617 | <td> ) </td> |
philpem@5 | 5618 | <td><code> [inline]</code></td> |
philpem@5 | 5619 | </tr> |
philpem@5 | 5620 | </table> |
philpem@5 | 5621 | </div> |
philpem@5 | 5622 | <div class="memdoc"> |
philpem@5 | 5623 | |
philpem@5 | 5624 | <p> |
philpem@5 | 5625 | Upscale an image by a factor 2x. |
philpem@5 | 5626 | <p> |
philpem@5 | 5627 | Use anisotropic upscaling algorithm described at <a href="http://scale2x.sourceforge.net/algorithm.html">http://scale2x.sourceforge.net/algorithm.html</a> |
philpem@5 | 5628 | </div> |
philpem@5 | 5629 | </div><p> |
philpem@5 | 5630 | <a class="anchor" name="64f4be91725b57a74d080b848660676c"></a><!-- doxytag: member="cimg_library::CImg::resize_tripleXY" ref="64f4be91725b57a74d080b848660676c" args="()" --> |
philpem@5 | 5631 | <div class="memitem"> |
philpem@5 | 5632 | <div class="memproto"> |
philpem@5 | 5633 | <table class="memname"> |
philpem@5 | 5634 | <tr> |
philpem@5 | 5635 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& resize_tripleXY </td> |
philpem@5 | 5636 | <td>(</td> |
philpem@5 | 5637 | <td class="paramname"> </td> |
philpem@5 | 5638 | <td> ) </td> |
philpem@5 | 5639 | <td><code> [inline]</code></td> |
philpem@5 | 5640 | </tr> |
philpem@5 | 5641 | </table> |
philpem@5 | 5642 | </div> |
philpem@5 | 5643 | <div class="memdoc"> |
philpem@5 | 5644 | |
philpem@5 | 5645 | <p> |
philpem@5 | 5646 | Upscale an image by a factor 3x. |
philpem@5 | 5647 | <p> |
philpem@5 | 5648 | Use anisotropic upscaling algorithm described at <a href="http://scale2x.sourceforge.net/algorithm.html">http://scale2x.sourceforge.net/algorithm.html</a> |
philpem@5 | 5649 | </div> |
philpem@5 | 5650 | </div><p> |
philpem@5 | 5651 | <a class="anchor" name="f5eac37234edfffffe75770e4a492b15"></a><!-- doxytag: member="cimg_library::CImg::permute_axes" ref="f5eac37234edfffffe75770e4a492b15" args="(const char *order)" --> |
philpem@5 | 5652 | <div class="memitem"> |
philpem@5 | 5653 | <div class="memproto"> |
philpem@5 | 5654 | <table class="memname"> |
philpem@5 | 5655 | <tr> |
philpem@5 | 5656 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& permute_axes </td> |
philpem@5 | 5657 | <td>(</td> |
philpem@5 | 5658 | <td class="paramtype">const char * </td> |
philpem@5 | 5659 | <td class="paramname"> <em>order</em> </td> |
philpem@5 | 5660 | <td> ) </td> |
philpem@5 | 5661 | <td><code> [inline]</code></td> |
philpem@5 | 5662 | </tr> |
philpem@5 | 5663 | </table> |
philpem@5 | 5664 | </div> |
philpem@5 | 5665 | <div class="memdoc"> |
philpem@5 | 5666 | |
philpem@5 | 5667 | <p> |
philpem@5 | 5668 | Permute axes order. |
philpem@5 | 5669 | <p> |
philpem@5 | 5670 | This function permutes image axes. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5671 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5672 | <tr><td valign="top"></td><td valign="top"><em>permut</em> </td><td>= String describing the permutation (4 characters). </td></tr> |
philpem@5 | 5673 | </table> |
philpem@5 | 5674 | </dl> |
philpem@5 | 5675 | |
philpem@5 | 5676 | </div> |
philpem@5 | 5677 | </div><p> |
philpem@5 | 5678 | <a class="anchor" name="32ca7979d4a8792f7274ab07b8b80fdd"></a><!-- doxytag: member="cimg_library::CImg::translate" ref="32ca7979d4a8792f7274ab07b8b80fdd" args="(const int deltax, const int deltay=0, const int deltaz=0, const int deltav=0, const int border_condition=0)" --> |
philpem@5 | 5679 | <div class="memitem"> |
philpem@5 | 5680 | <div class="memproto"> |
philpem@5 | 5681 | <table class="memname"> |
philpem@5 | 5682 | <tr> |
philpem@5 | 5683 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& translate </td> |
philpem@5 | 5684 | <td>(</td> |
philpem@5 | 5685 | <td class="paramtype">const int </td> |
philpem@5 | 5686 | <td class="paramname"> <em>deltax</em>, </td> |
philpem@5 | 5687 | </tr> |
philpem@5 | 5688 | <tr> |
philpem@5 | 5689 | <td class="paramkey"></td> |
philpem@5 | 5690 | <td></td> |
philpem@5 | 5691 | <td class="paramtype">const int </td> |
philpem@5 | 5692 | <td class="paramname"> <em>deltay</em> = <code>0</code>, </td> |
philpem@5 | 5693 | </tr> |
philpem@5 | 5694 | <tr> |
philpem@5 | 5695 | <td class="paramkey"></td> |
philpem@5 | 5696 | <td></td> |
philpem@5 | 5697 | <td class="paramtype">const int </td> |
philpem@5 | 5698 | <td class="paramname"> <em>deltaz</em> = <code>0</code>, </td> |
philpem@5 | 5699 | </tr> |
philpem@5 | 5700 | <tr> |
philpem@5 | 5701 | <td class="paramkey"></td> |
philpem@5 | 5702 | <td></td> |
philpem@5 | 5703 | <td class="paramtype">const int </td> |
philpem@5 | 5704 | <td class="paramname"> <em>deltav</em> = <code>0</code>, </td> |
philpem@5 | 5705 | </tr> |
philpem@5 | 5706 | <tr> |
philpem@5 | 5707 | <td class="paramkey"></td> |
philpem@5 | 5708 | <td></td> |
philpem@5 | 5709 | <td class="paramtype">const int </td> |
philpem@5 | 5710 | <td class="paramname"> <em>border_condition</em> = <code>0</code></td><td> </td> |
philpem@5 | 5711 | </tr> |
philpem@5 | 5712 | <tr> |
philpem@5 | 5713 | <td></td> |
philpem@5 | 5714 | <td>)</td> |
philpem@5 | 5715 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5716 | </tr> |
philpem@5 | 5717 | </table> |
philpem@5 | 5718 | </div> |
philpem@5 | 5719 | <div class="memdoc"> |
philpem@5 | 5720 | |
philpem@5 | 5721 | <p> |
philpem@5 | 5722 | Translate the image. |
philpem@5 | 5723 | <p> |
philpem@5 | 5724 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5725 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5726 | <tr><td valign="top"></td><td valign="top"><em>deltax</em> </td><td>Amount of displacement along the X-axis. </td></tr> |
philpem@5 | 5727 | <tr><td valign="top"></td><td valign="top"><em>deltay</em> </td><td>Amount of displacement along the Y-axis. </td></tr> |
philpem@5 | 5728 | <tr><td valign="top"></td><td valign="top"><em>deltaz</em> </td><td>Amount of displacement along the Z-axis. </td></tr> |
philpem@5 | 5729 | <tr><td valign="top"></td><td valign="top"><em>deltav</em> </td><td>Amount of displacement along the V-axis. </td></tr> |
philpem@5 | 5730 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>Border condition.</td></tr> |
philpem@5 | 5731 | </table> |
philpem@5 | 5732 | </dl> |
philpem@5 | 5733 | <ul> |
philpem@5 | 5734 | <li><code>border_condition</code> can be :<ul> |
philpem@5 | 5735 | <li>0 : Zero border condition (Dirichlet).</li><li>1 : Nearest neighbors (Neumann).</li><li>2 : Repeat Pattern (Fourier style). </li></ul> |
philpem@5 | 5736 | </li></ul> |
philpem@5 | 5737 | |
philpem@5 | 5738 | </div> |
philpem@5 | 5739 | </div><p> |
philpem@5 | 5740 | <a class="anchor" name="77085bb4dfa1622ac5de64eb5c6ed9d1"></a><!-- doxytag: member="cimg_library::CImg::crop" ref="77085bb4dfa1622ac5de64eb5c6ed9d1" args="(const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1, const bool border_condition=false)" --> |
philpem@5 | 5741 | <div class="memitem"> |
philpem@5 | 5742 | <div class="memproto"> |
philpem@5 | 5743 | <table class="memname"> |
philpem@5 | 5744 | <tr> |
philpem@5 | 5745 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& crop </td> |
philpem@5 | 5746 | <td>(</td> |
philpem@5 | 5747 | <td class="paramtype">const int </td> |
philpem@5 | 5748 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 5749 | </tr> |
philpem@5 | 5750 | <tr> |
philpem@5 | 5751 | <td class="paramkey"></td> |
philpem@5 | 5752 | <td></td> |
philpem@5 | 5753 | <td class="paramtype">const int </td> |
philpem@5 | 5754 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 5755 | </tr> |
philpem@5 | 5756 | <tr> |
philpem@5 | 5757 | <td class="paramkey"></td> |
philpem@5 | 5758 | <td></td> |
philpem@5 | 5759 | <td class="paramtype">const int </td> |
philpem@5 | 5760 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 5761 | </tr> |
philpem@5 | 5762 | <tr> |
philpem@5 | 5763 | <td class="paramkey"></td> |
philpem@5 | 5764 | <td></td> |
philpem@5 | 5765 | <td class="paramtype">const int </td> |
philpem@5 | 5766 | <td class="paramname"> <em>v0</em>, </td> |
philpem@5 | 5767 | </tr> |
philpem@5 | 5768 | <tr> |
philpem@5 | 5769 | <td class="paramkey"></td> |
philpem@5 | 5770 | <td></td> |
philpem@5 | 5771 | <td class="paramtype">const int </td> |
philpem@5 | 5772 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 5773 | </tr> |
philpem@5 | 5774 | <tr> |
philpem@5 | 5775 | <td class="paramkey"></td> |
philpem@5 | 5776 | <td></td> |
philpem@5 | 5777 | <td class="paramtype">const int </td> |
philpem@5 | 5778 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 5779 | </tr> |
philpem@5 | 5780 | <tr> |
philpem@5 | 5781 | <td class="paramkey"></td> |
philpem@5 | 5782 | <td></td> |
philpem@5 | 5783 | <td class="paramtype">const int </td> |
philpem@5 | 5784 | <td class="paramname"> <em>z1</em>, </td> |
philpem@5 | 5785 | </tr> |
philpem@5 | 5786 | <tr> |
philpem@5 | 5787 | <td class="paramkey"></td> |
philpem@5 | 5788 | <td></td> |
philpem@5 | 5789 | <td class="paramtype">const int </td> |
philpem@5 | 5790 | <td class="paramname"> <em>v1</em>, </td> |
philpem@5 | 5791 | </tr> |
philpem@5 | 5792 | <tr> |
philpem@5 | 5793 | <td class="paramkey"></td> |
philpem@5 | 5794 | <td></td> |
philpem@5 | 5795 | <td class="paramtype">const bool </td> |
philpem@5 | 5796 | <td class="paramname"> <em>border_condition</em> = <code>false</code></td><td> </td> |
philpem@5 | 5797 | </tr> |
philpem@5 | 5798 | <tr> |
philpem@5 | 5799 | <td></td> |
philpem@5 | 5800 | <td>)</td> |
philpem@5 | 5801 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5802 | </tr> |
philpem@5 | 5803 | </table> |
philpem@5 | 5804 | </div> |
philpem@5 | 5805 | <div class="memdoc"> |
philpem@5 | 5806 | |
philpem@5 | 5807 | <p> |
philpem@5 | 5808 | Get a square region of the image. |
philpem@5 | 5809 | <p> |
philpem@5 | 5810 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5811 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5812 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5813 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5814 | <tr><td valign="top"></td><td valign="top"><em>z0</em> </td><td>= Z-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5815 | <tr><td valign="top"></td><td valign="top"><em>v0</em> </td><td>= V-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5816 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5817 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5818 | <tr><td valign="top"></td><td valign="top"><em>z1</em> </td><td>= Z-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5819 | <tr><td valign="top"></td><td valign="top"><em>v1</em> </td><td>= V-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5820 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>= Dirichlet (false) or Neumann border conditions. </td></tr> |
philpem@5 | 5821 | </table> |
philpem@5 | 5822 | </dl> |
philpem@5 | 5823 | |
philpem@5 | 5824 | </div> |
philpem@5 | 5825 | </div><p> |
philpem@5 | 5826 | <a class="anchor" name="0a1400f592a7192b1e6421f5d7045d6a"></a><!-- doxytag: member="cimg_library::CImg::crop" ref="0a1400f592a7192b1e6421f5d7045d6a" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool border_condition=false)" --> |
philpem@5 | 5827 | <div class="memitem"> |
philpem@5 | 5828 | <div class="memproto"> |
philpem@5 | 5829 | <table class="memname"> |
philpem@5 | 5830 | <tr> |
philpem@5 | 5831 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& crop </td> |
philpem@5 | 5832 | <td>(</td> |
philpem@5 | 5833 | <td class="paramtype">const int </td> |
philpem@5 | 5834 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 5835 | </tr> |
philpem@5 | 5836 | <tr> |
philpem@5 | 5837 | <td class="paramkey"></td> |
philpem@5 | 5838 | <td></td> |
philpem@5 | 5839 | <td class="paramtype">const int </td> |
philpem@5 | 5840 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 5841 | </tr> |
philpem@5 | 5842 | <tr> |
philpem@5 | 5843 | <td class="paramkey"></td> |
philpem@5 | 5844 | <td></td> |
philpem@5 | 5845 | <td class="paramtype">const int </td> |
philpem@5 | 5846 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 5847 | </tr> |
philpem@5 | 5848 | <tr> |
philpem@5 | 5849 | <td class="paramkey"></td> |
philpem@5 | 5850 | <td></td> |
philpem@5 | 5851 | <td class="paramtype">const int </td> |
philpem@5 | 5852 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 5853 | </tr> |
philpem@5 | 5854 | <tr> |
philpem@5 | 5855 | <td class="paramkey"></td> |
philpem@5 | 5856 | <td></td> |
philpem@5 | 5857 | <td class="paramtype">const int </td> |
philpem@5 | 5858 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 5859 | </tr> |
philpem@5 | 5860 | <tr> |
philpem@5 | 5861 | <td class="paramkey"></td> |
philpem@5 | 5862 | <td></td> |
philpem@5 | 5863 | <td class="paramtype">const int </td> |
philpem@5 | 5864 | <td class="paramname"> <em>z1</em>, </td> |
philpem@5 | 5865 | </tr> |
philpem@5 | 5866 | <tr> |
philpem@5 | 5867 | <td class="paramkey"></td> |
philpem@5 | 5868 | <td></td> |
philpem@5 | 5869 | <td class="paramtype">const bool </td> |
philpem@5 | 5870 | <td class="paramname"> <em>border_condition</em> = <code>false</code></td><td> </td> |
philpem@5 | 5871 | </tr> |
philpem@5 | 5872 | <tr> |
philpem@5 | 5873 | <td></td> |
philpem@5 | 5874 | <td>)</td> |
philpem@5 | 5875 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5876 | </tr> |
philpem@5 | 5877 | </table> |
philpem@5 | 5878 | </div> |
philpem@5 | 5879 | <div class="memdoc"> |
philpem@5 | 5880 | |
philpem@5 | 5881 | <p> |
philpem@5 | 5882 | Get a rectangular part of the instance image. |
philpem@5 | 5883 | <p> |
philpem@5 | 5884 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5885 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5886 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5887 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5888 | <tr><td valign="top"></td><td valign="top"><em>z0</em> </td><td>= Z-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5889 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5890 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5891 | <tr><td valign="top"></td><td valign="top"><em>z1</em> </td><td>= Z-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5892 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>= determine the type of border condition if some of the desired region is outside the image. </td></tr> |
philpem@5 | 5893 | </table> |
philpem@5 | 5894 | </dl> |
philpem@5 | 5895 | |
philpem@5 | 5896 | </div> |
philpem@5 | 5897 | </div><p> |
philpem@5 | 5898 | <a class="anchor" name="54ad48809ef0be41797c7703e3b4133d"></a><!-- doxytag: member="cimg_library::CImg::crop" ref="54ad48809ef0be41797c7703e3b4133d" args="(const int x0, const int y0, const int x1, const int y1, const bool border_condition=false)" --> |
philpem@5 | 5899 | <div class="memitem"> |
philpem@5 | 5900 | <div class="memproto"> |
philpem@5 | 5901 | <table class="memname"> |
philpem@5 | 5902 | <tr> |
philpem@5 | 5903 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& crop </td> |
philpem@5 | 5904 | <td>(</td> |
philpem@5 | 5905 | <td class="paramtype">const int </td> |
philpem@5 | 5906 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 5907 | </tr> |
philpem@5 | 5908 | <tr> |
philpem@5 | 5909 | <td class="paramkey"></td> |
philpem@5 | 5910 | <td></td> |
philpem@5 | 5911 | <td class="paramtype">const int </td> |
philpem@5 | 5912 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 5913 | </tr> |
philpem@5 | 5914 | <tr> |
philpem@5 | 5915 | <td class="paramkey"></td> |
philpem@5 | 5916 | <td></td> |
philpem@5 | 5917 | <td class="paramtype">const int </td> |
philpem@5 | 5918 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 5919 | </tr> |
philpem@5 | 5920 | <tr> |
philpem@5 | 5921 | <td class="paramkey"></td> |
philpem@5 | 5922 | <td></td> |
philpem@5 | 5923 | <td class="paramtype">const int </td> |
philpem@5 | 5924 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 5925 | </tr> |
philpem@5 | 5926 | <tr> |
philpem@5 | 5927 | <td class="paramkey"></td> |
philpem@5 | 5928 | <td></td> |
philpem@5 | 5929 | <td class="paramtype">const bool </td> |
philpem@5 | 5930 | <td class="paramname"> <em>border_condition</em> = <code>false</code></td><td> </td> |
philpem@5 | 5931 | </tr> |
philpem@5 | 5932 | <tr> |
philpem@5 | 5933 | <td></td> |
philpem@5 | 5934 | <td>)</td> |
philpem@5 | 5935 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5936 | </tr> |
philpem@5 | 5937 | </table> |
philpem@5 | 5938 | </div> |
philpem@5 | 5939 | <div class="memdoc"> |
philpem@5 | 5940 | |
philpem@5 | 5941 | <p> |
philpem@5 | 5942 | Get a rectangular part of the instance image. |
philpem@5 | 5943 | <p> |
philpem@5 | 5944 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5945 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5946 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5947 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5948 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5949 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5950 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>= determine the type of border condition if some of the desired region is outside the image. </td></tr> |
philpem@5 | 5951 | </table> |
philpem@5 | 5952 | </dl> |
philpem@5 | 5953 | |
philpem@5 | 5954 | </div> |
philpem@5 | 5955 | </div><p> |
philpem@5 | 5956 | <a class="anchor" name="93a1ecf2944920d55757323e6de2b7da"></a><!-- doxytag: member="cimg_library::CImg::crop" ref="93a1ecf2944920d55757323e6de2b7da" args="(const int x0, const int x1, const bool border_condition=false)" --> |
philpem@5 | 5957 | <div class="memitem"> |
philpem@5 | 5958 | <div class="memproto"> |
philpem@5 | 5959 | <table class="memname"> |
philpem@5 | 5960 | <tr> |
philpem@5 | 5961 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& crop </td> |
philpem@5 | 5962 | <td>(</td> |
philpem@5 | 5963 | <td class="paramtype">const int </td> |
philpem@5 | 5964 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 5965 | </tr> |
philpem@5 | 5966 | <tr> |
philpem@5 | 5967 | <td class="paramkey"></td> |
philpem@5 | 5968 | <td></td> |
philpem@5 | 5969 | <td class="paramtype">const int </td> |
philpem@5 | 5970 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 5971 | </tr> |
philpem@5 | 5972 | <tr> |
philpem@5 | 5973 | <td class="paramkey"></td> |
philpem@5 | 5974 | <td></td> |
philpem@5 | 5975 | <td class="paramtype">const bool </td> |
philpem@5 | 5976 | <td class="paramname"> <em>border_condition</em> = <code>false</code></td><td> </td> |
philpem@5 | 5977 | </tr> |
philpem@5 | 5978 | <tr> |
philpem@5 | 5979 | <td></td> |
philpem@5 | 5980 | <td>)</td> |
philpem@5 | 5981 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 5982 | </tr> |
philpem@5 | 5983 | </table> |
philpem@5 | 5984 | </div> |
philpem@5 | 5985 | <div class="memdoc"> |
philpem@5 | 5986 | |
philpem@5 | 5987 | <p> |
philpem@5 | 5988 | Get a rectangular part of the instance image. |
philpem@5 | 5989 | <p> |
philpem@5 | 5990 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 5991 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 5992 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the upper-left crop rectangle corner. </td></tr> |
philpem@5 | 5993 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the lower-right crop rectangle corner. </td></tr> |
philpem@5 | 5994 | <tr><td valign="top"></td><td valign="top"><em>border_condition</em> </td><td>= determine the type of border condition if some of the desired region is outside the image. </td></tr> |
philpem@5 | 5995 | </table> |
philpem@5 | 5996 | </dl> |
philpem@5 | 5997 | |
philpem@5 | 5998 | </div> |
philpem@5 | 5999 | </div><p> |
philpem@5 | 6000 | <a class="anchor" name="edc5d10d1516480dbfe20a576c152770"></a><!-- doxytag: member="cimg_library::CImg::histogram" ref="edc5d10d1516480dbfe20a576c152770" args="(const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0)" --> |
philpem@5 | 6001 | <div class="memitem"> |
philpem@5 | 6002 | <div class="memproto"> |
philpem@5 | 6003 | <table class="memname"> |
philpem@5 | 6004 | <tr> |
philpem@5 | 6005 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& histogram </td> |
philpem@5 | 6006 | <td>(</td> |
philpem@5 | 6007 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6008 | <td class="paramname"> <em>nblevels</em>, </td> |
philpem@5 | 6009 | </tr> |
philpem@5 | 6010 | <tr> |
philpem@5 | 6011 | <td class="paramkey"></td> |
philpem@5 | 6012 | <td></td> |
philpem@5 | 6013 | <td class="paramtype">const T </td> |
philpem@5 | 6014 | <td class="paramname"> <em>val_min</em> = <code>(T)0</code>, </td> |
philpem@5 | 6015 | </tr> |
philpem@5 | 6016 | <tr> |
philpem@5 | 6017 | <td class="paramkey"></td> |
philpem@5 | 6018 | <td></td> |
philpem@5 | 6019 | <td class="paramtype">const T </td> |
philpem@5 | 6020 | <td class="paramname"> <em>val_max</em> = <code>(T)0</code></td><td> </td> |
philpem@5 | 6021 | </tr> |
philpem@5 | 6022 | <tr> |
philpem@5 | 6023 | <td></td> |
philpem@5 | 6024 | <td>)</td> |
philpem@5 | 6025 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6026 | </tr> |
philpem@5 | 6027 | </table> |
philpem@5 | 6028 | </div> |
philpem@5 | 6029 | <div class="memdoc"> |
philpem@5 | 6030 | |
philpem@5 | 6031 | <p> |
philpem@5 | 6032 | Compute the image histogram. |
philpem@5 | 6033 | <p> |
philpem@5 | 6034 | The histogram H of an image I is a 1D-function where H(x) is the number of occurences of the value x in I. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6035 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6036 | <tr><td valign="top"></td><td valign="top"><em>nblevels</em> </td><td>= Number of different levels of the computed histogram. For classical images, this value is 256. You should specify more levels if you are working with CImg<float> or images with high range of pixel values. </td></tr> |
philpem@5 | 6037 | <tr><td valign="top"></td><td valign="top"><em>val_min</em> </td><td>= Minimum value considered for the histogram computation. All pixel values lower than val_min won't be counted. </td></tr> |
philpem@5 | 6038 | <tr><td valign="top"></td><td valign="top"><em>val_max</em> </td><td>= Maximum value considered for the histogram computation. All pixel values higher than val_max won't be counted. </td></tr> |
philpem@5 | 6039 | </table> |
philpem@5 | 6040 | </dl> |
philpem@5 | 6041 | <dl class="note" compact><dt><b>Note:</b></dt><dd>If val_min==val_max==0 (default values), the function first estimates the minimum and maximum pixel values of the current image, then uses these values for the histogram computation. </dd></dl> |
philpem@5 | 6042 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>The histogram is returned as a 1D CImg<float> image H, having a size of (nblevels,1,1,1) such that H(0) and H(nblevels-1) are respectively equal to the number of occurences of the values val_min and val_max in I. </dd></dl> |
philpem@5 | 6043 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Histogram computation always returns a 1D function. Histogram of multi-valued (such as color) images are not multi-dimensional. </dd></dl> |
philpem@5 | 6044 | |
philpem@5 | 6045 | </div> |
philpem@5 | 6046 | </div><p> |
philpem@5 | 6047 | <a class="anchor" name="a2227f917f7c4424123b5a2806d7f5b8"></a><!-- doxytag: member="cimg_library::CImg::equalize" ref="a2227f917f7c4424123b5a2806d7f5b8" args="(const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0)" --> |
philpem@5 | 6048 | <div class="memitem"> |
philpem@5 | 6049 | <div class="memproto"> |
philpem@5 | 6050 | <table class="memname"> |
philpem@5 | 6051 | <tr> |
philpem@5 | 6052 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& equalize </td> |
philpem@5 | 6053 | <td>(</td> |
philpem@5 | 6054 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6055 | <td class="paramname"> <em>nblevels</em>, </td> |
philpem@5 | 6056 | </tr> |
philpem@5 | 6057 | <tr> |
philpem@5 | 6058 | <td class="paramkey"></td> |
philpem@5 | 6059 | <td></td> |
philpem@5 | 6060 | <td class="paramtype">const T </td> |
philpem@5 | 6061 | <td class="paramname"> <em>val_min</em> = <code>(T)0</code>, </td> |
philpem@5 | 6062 | </tr> |
philpem@5 | 6063 | <tr> |
philpem@5 | 6064 | <td class="paramkey"></td> |
philpem@5 | 6065 | <td></td> |
philpem@5 | 6066 | <td class="paramtype">const T </td> |
philpem@5 | 6067 | <td class="paramname"> <em>val_max</em> = <code>(T)0</code></td><td> </td> |
philpem@5 | 6068 | </tr> |
philpem@5 | 6069 | <tr> |
philpem@5 | 6070 | <td></td> |
philpem@5 | 6071 | <td>)</td> |
philpem@5 | 6072 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6073 | </tr> |
philpem@5 | 6074 | </table> |
philpem@5 | 6075 | </div> |
philpem@5 | 6076 | <div class="memdoc"> |
philpem@5 | 6077 | |
philpem@5 | 6078 | <p> |
philpem@5 | 6079 | Compute the histogram-equalized version of the instance image. |
philpem@5 | 6080 | <p> |
philpem@5 | 6081 | The histogram equalization is a classical image processing algorithm that enhances the image contrast by expanding its histogram. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6082 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6083 | <tr><td valign="top"></td><td valign="top"><em>nblevels</em> </td><td>= Number of different levels of the computed histogram. For classical images, this value is 256. You should specify more levels if you are working with CImg<float> or images with high range of pixel values. </td></tr> |
philpem@5 | 6084 | <tr><td valign="top"></td><td valign="top"><em>val_min</em> </td><td>= Minimum value considered for the histogram computation. All pixel values lower than val_min won't be changed. </td></tr> |
philpem@5 | 6085 | <tr><td valign="top"></td><td valign="top"><em>val_max</em> </td><td>= Maximum value considered for the histogram computation. All pixel values higher than val_max won't be changed. </td></tr> |
philpem@5 | 6086 | </table> |
philpem@5 | 6087 | </dl> |
philpem@5 | 6088 | <dl class="note" compact><dt><b>Note:</b></dt><dd>If val_min==val_max==0 (default values), the function acts on all pixel values of the image. </dd></dl> |
philpem@5 | 6089 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>A new image with same size is returned, where pixels have been equalized. </dd></dl> |
philpem@5 | 6090 | |
philpem@5 | 6091 | </div> |
philpem@5 | 6092 | </div><p> |
philpem@5 | 6093 | <a class="anchor" name="f2cceb3e14d6650bc7d1c89afedba15a"></a><!-- doxytag: member="cimg_library::CImg::pointwise_norm" ref="f2cceb3e14d6650bc7d1c89afedba15a" args="(int norm_type=2)" --> |
philpem@5 | 6094 | <div class="memitem"> |
philpem@5 | 6095 | <div class="memproto"> |
philpem@5 | 6096 | <table class="memname"> |
philpem@5 | 6097 | <tr> |
philpem@5 | 6098 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& pointwise_norm </td> |
philpem@5 | 6099 | <td>(</td> |
philpem@5 | 6100 | <td class="paramtype">int </td> |
philpem@5 | 6101 | <td class="paramname"> <em>norm_type</em> = <code>2</code> </td> |
philpem@5 | 6102 | <td> ) </td> |
philpem@5 | 6103 | <td><code> [inline]</code></td> |
philpem@5 | 6104 | </tr> |
philpem@5 | 6105 | </table> |
philpem@5 | 6106 | </div> |
philpem@5 | 6107 | <div class="memdoc"> |
philpem@5 | 6108 | |
philpem@5 | 6109 | <p> |
philpem@5 | 6110 | Compute the scalar image of vector norms. |
philpem@5 | 6111 | <p> |
philpem@5 | 6112 | When dealing with vector-valued images (i.e images with <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a>>1), this function computes the L1,L2 or Linf norm of each vector-valued pixel. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6113 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6114 | <tr><td valign="top"></td><td valign="top"><em>norm_type</em> </td><td>= Type of the norm being computed (1 = L1, 2 = L2, -1 = Linf). </td></tr> |
philpem@5 | 6115 | </table> |
philpem@5 | 6116 | </dl> |
philpem@5 | 6117 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>A scalar-valued image CImg<float> with size (<a class="el" href="structcimg__library_1_1CImg.html#afae58d5a77ea4190e6f2c818238bd1a" title="Return the number of columns of the instance image (size along the X-axis, i.e image...">dimx()</a>,<a class="el" href="structcimg__library_1_1CImg.html#fc3244815fd1b4cea186b6a63bfb635d" title="Return the number of rows of the instance image (size along the Y-axis, i.e image...">dimy()</a>,<a class="el" href="structcimg__library_1_1CImg.html#b310ef9114198b570d035fd914d5a215" title="Return the number of slices of the instance image (size along the Z-axis).">dimz()</a>,1), where each pixel is the norm of the corresponding pixels in the original vector-valued image. </dd></dl> |
philpem@5 | 6118 | |
philpem@5 | 6119 | </div> |
philpem@5 | 6120 | </div><p> |
philpem@5 | 6121 | <a class="anchor" name="2662d70fed319ed056836696c3a97499"></a><!-- doxytag: member="cimg_library::CImg::pointwise_orientation" ref="2662d70fed319ed056836696c3a97499" args="()" --> |
philpem@5 | 6122 | <div class="memitem"> |
philpem@5 | 6123 | <div class="memproto"> |
philpem@5 | 6124 | <table class="memname"> |
philpem@5 | 6125 | <tr> |
philpem@5 | 6126 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& pointwise_orientation </td> |
philpem@5 | 6127 | <td>(</td> |
philpem@5 | 6128 | <td class="paramname"> </td> |
philpem@5 | 6129 | <td> ) </td> |
philpem@5 | 6130 | <td><code> [inline]</code></td> |
philpem@5 | 6131 | </tr> |
philpem@5 | 6132 | </table> |
philpem@5 | 6133 | </div> |
philpem@5 | 6134 | <div class="memdoc"> |
philpem@5 | 6135 | |
philpem@5 | 6136 | <p> |
philpem@5 | 6137 | Compute the image of normalized vectors. |
philpem@5 | 6138 | <p> |
philpem@5 | 6139 | When dealing with vector-valued images (i.e images with <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a>>1), this function return the image of normalized vectors (unit vectors). Null vectors are unchanged. The L2-norm is computed for the normalization. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A new vector-valued image with same size, where each vector-valued pixels have been normalized. </dd></dl> |
philpem@5 | 6140 | |
philpem@5 | 6141 | </div> |
philpem@5 | 6142 | </div><p> |
philpem@5 | 6143 | <a class="anchor" name="3e5b54c0b862cbf6e9f14e832984c4d7"></a><!-- doxytag: member="cimg_library::CImg::get_gradient" ref="3e5b54c0b862cbf6e9f14e832984c4d7" args="(const char *const axes=0, const int scheme=3) const " --> |
philpem@5 | 6144 | <div class="memitem"> |
philpem@5 | 6145 | <div class="memproto"> |
philpem@5 | 6146 | <table class="memname"> |
philpem@5 | 6147 | <tr> |
philpem@5 | 6148 | <td class="memname"><a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a><Tfloat> get_gradient </td> |
philpem@5 | 6149 | <td>(</td> |
philpem@5 | 6150 | <td class="paramtype">const char *const </td> |
philpem@5 | 6151 | <td class="paramname"> <em>axes</em> = <code>0</code>, </td> |
philpem@5 | 6152 | </tr> |
philpem@5 | 6153 | <tr> |
philpem@5 | 6154 | <td class="paramkey"></td> |
philpem@5 | 6155 | <td></td> |
philpem@5 | 6156 | <td class="paramtype">const int </td> |
philpem@5 | 6157 | <td class="paramname"> <em>scheme</em> = <code>3</code></td><td> </td> |
philpem@5 | 6158 | </tr> |
philpem@5 | 6159 | <tr> |
philpem@5 | 6160 | <td></td> |
philpem@5 | 6161 | <td>)</td> |
philpem@5 | 6162 | <td></td><td></td><td> const<code> [inline]</code></td> |
philpem@5 | 6163 | </tr> |
philpem@5 | 6164 | </table> |
philpem@5 | 6165 | </div> |
philpem@5 | 6166 | <div class="memdoc"> |
philpem@5 | 6167 | |
philpem@5 | 6168 | <p> |
philpem@5 | 6169 | Compute the list of images, corresponding to the XY-gradients of an image. |
philpem@5 | 6170 | <p> |
philpem@5 | 6171 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6172 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6173 | <tr><td valign="top"></td><td valign="top"><em>scheme</em> </td><td>= Numerical scheme used for the gradient computation :<ul> |
philpem@5 | 6174 | <li>-1 = Backward finite differences</li><li>0 = Centered finite differences</li><li>1 = Forward finite differences</li><li>2 = Using Sobel masks</li><li>3 = Using rotation invariant masks</li><li>4 = Using Deriche recusrsive filter. </li></ul> |
philpem@5 | 6175 | </td></tr> |
philpem@5 | 6176 | </table> |
philpem@5 | 6177 | </dl> |
philpem@5 | 6178 | |
philpem@5 | 6179 | </div> |
philpem@5 | 6180 | </div><p> |
philpem@5 | 6181 | <a class="anchor" name="f2b4fdd725a79235943e5cc5704a32d5"></a><!-- doxytag: member="cimg_library::CImg::dijkstra" ref="f2b4fdd725a79235943e5cc5704a32d5" args="(const tf &distance, const unsigned int nb_nodes, const unsigned int starting_node, const unsigned int ending_node, CImg< t > &previous)" --> |
philpem@5 | 6182 | <div class="memitem"> |
philpem@5 | 6183 | <div class="memproto"> |
philpem@5 | 6184 | <table class="memname"> |
philpem@5 | 6185 | <tr> |
philpem@5 | 6186 | <td class="memname">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T> dijkstra </td> |
philpem@5 | 6187 | <td>(</td> |
philpem@5 | 6188 | <td class="paramtype">const tf & </td> |
philpem@5 | 6189 | <td class="paramname"> <em>distance</em>, </td> |
philpem@5 | 6190 | </tr> |
philpem@5 | 6191 | <tr> |
philpem@5 | 6192 | <td class="paramkey"></td> |
philpem@5 | 6193 | <td></td> |
philpem@5 | 6194 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6195 | <td class="paramname"> <em>nb_nodes</em>, </td> |
philpem@5 | 6196 | </tr> |
philpem@5 | 6197 | <tr> |
philpem@5 | 6198 | <td class="paramkey"></td> |
philpem@5 | 6199 | <td></td> |
philpem@5 | 6200 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6201 | <td class="paramname"> <em>starting_node</em>, </td> |
philpem@5 | 6202 | </tr> |
philpem@5 | 6203 | <tr> |
philpem@5 | 6204 | <td class="paramkey"></td> |
philpem@5 | 6205 | <td></td> |
philpem@5 | 6206 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6207 | <td class="paramname"> <em>ending_node</em>, </td> |
philpem@5 | 6208 | </tr> |
philpem@5 | 6209 | <tr> |
philpem@5 | 6210 | <td class="paramkey"></td> |
philpem@5 | 6211 | <td></td> |
philpem@5 | 6212 | <td class="paramtype"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 6213 | <td class="paramname"> <em>previous</em></td><td> </td> |
philpem@5 | 6214 | </tr> |
philpem@5 | 6215 | <tr> |
philpem@5 | 6216 | <td></td> |
philpem@5 | 6217 | <td>)</td> |
philpem@5 | 6218 | <td></td><td></td><td><code> [inline, static]</code></td> |
philpem@5 | 6219 | </tr> |
philpem@5 | 6220 | </table> |
philpem@5 | 6221 | </div> |
philpem@5 | 6222 | <div class="memdoc"> |
philpem@5 | 6223 | |
philpem@5 | 6224 | <p> |
philpem@5 | 6225 | Compute minimal path in a graph, using the Dijkstra algorithm. |
philpem@5 | 6226 | <p> |
philpem@5 | 6227 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6228 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6229 | <tr><td valign="top"></td><td valign="top"><em>distance</em> </td><td>An object having operator()(unsigned int i, unsigned int j) which returns distance between two nodes (i,j). </td></tr> |
philpem@5 | 6230 | <tr><td valign="top"></td><td valign="top"><em>nb_nodes</em> </td><td>Number of graph nodes. </td></tr> |
philpem@5 | 6231 | <tr><td valign="top"></td><td valign="top"><em>starting_node</em> </td><td>Indice of the starting node. </td></tr> |
philpem@5 | 6232 | <tr><td valign="top"></td><td valign="top"><em>ending_node</em> </td><td>Indice of the ending node (set to ~0U to ignore ending node). </td></tr> |
philpem@5 | 6233 | <tr><td valign="top"></td><td valign="top"><em>previous</em> </td><td>Array that gives the previous node indice in the path to the starting node (optional parameter). </td></tr> |
philpem@5 | 6234 | </table> |
philpem@5 | 6235 | </dl> |
philpem@5 | 6236 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>Array of distances of each node to the starting node. </dd></dl> |
philpem@5 | 6237 | |
philpem@5 | 6238 | </div> |
philpem@5 | 6239 | </div><p> |
philpem@5 | 6240 | <a class="anchor" name="255acd18f793e0faacd5180f0d10713b"></a><!-- doxytag: member="cimg_library::CImg::dijkstra" ref="255acd18f793e0faacd5180f0d10713b" args="(const unsigned int starting_node, const unsigned int ending_node, CImg< t > &previous)" --> |
philpem@5 | 6241 | <div class="memitem"> |
philpem@5 | 6242 | <div class="memproto"> |
philpem@5 | 6243 | <table class="memname"> |
philpem@5 | 6244 | <tr> |
philpem@5 | 6245 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& dijkstra </td> |
philpem@5 | 6246 | <td>(</td> |
philpem@5 | 6247 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6248 | <td class="paramname"> <em>starting_node</em>, </td> |
philpem@5 | 6249 | </tr> |
philpem@5 | 6250 | <tr> |
philpem@5 | 6251 | <td class="paramkey"></td> |
philpem@5 | 6252 | <td></td> |
philpem@5 | 6253 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6254 | <td class="paramname"> <em>ending_node</em>, </td> |
philpem@5 | 6255 | </tr> |
philpem@5 | 6256 | <tr> |
philpem@5 | 6257 | <td class="paramkey"></td> |
philpem@5 | 6258 | <td></td> |
philpem@5 | 6259 | <td class="paramtype"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 6260 | <td class="paramname"> <em>previous</em></td><td> </td> |
philpem@5 | 6261 | </tr> |
philpem@5 | 6262 | <tr> |
philpem@5 | 6263 | <td></td> |
philpem@5 | 6264 | <td>)</td> |
philpem@5 | 6265 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6266 | </tr> |
philpem@5 | 6267 | </table> |
philpem@5 | 6268 | </div> |
philpem@5 | 6269 | <div class="memdoc"> |
philpem@5 | 6270 | |
philpem@5 | 6271 | <p> |
philpem@5 | 6272 | Return minimal path in a graph, using the Dijkstra algorithm. |
philpem@5 | 6273 | <p> |
philpem@5 | 6274 | Instance image corresponds to the adjacency matrix of the graph. <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6275 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6276 | <tr><td valign="top"></td><td valign="top"><em>starting_node</em> </td><td>Indice of the starting node. </td></tr> |
philpem@5 | 6277 | <tr><td valign="top"></td><td valign="top"><em>previous</em> </td><td>Array that gives the previous node indice in the path to the starting node (optional parameter). </td></tr> |
philpem@5 | 6278 | </table> |
philpem@5 | 6279 | </dl> |
philpem@5 | 6280 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>Array of distances of each node to the starting node. </dd></dl> |
philpem@5 | 6281 | |
philpem@5 | 6282 | </div> |
philpem@5 | 6283 | </div><p> |
philpem@5 | 6284 | <a class="anchor" name="b72cb8ca2a5039c60f002f72bbb44cd5"></a><!-- doxytag: member="cimg_library::CImg::default_LUT8" ref="b72cb8ca2a5039c60f002f72bbb44cd5" args="()" --> |
philpem@5 | 6285 | <div class="memitem"> |
philpem@5 | 6286 | <div class="memproto"> |
philpem@5 | 6287 | <table class="memname"> |
philpem@5 | 6288 | <tr> |
philpem@5 | 6289 | <td class="memname">static <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><Tuchar> default_LUT8 </td> |
philpem@5 | 6290 | <td>(</td> |
philpem@5 | 6291 | <td class="paramname"> </td> |
philpem@5 | 6292 | <td> ) </td> |
philpem@5 | 6293 | <td><code> [inline, static]</code></td> |
philpem@5 | 6294 | </tr> |
philpem@5 | 6295 | </table> |
philpem@5 | 6296 | </div> |
philpem@5 | 6297 | <div class="memdoc"> |
philpem@5 | 6298 | |
philpem@5 | 6299 | <p> |
philpem@5 | 6300 | Return a default indexed color palette with 256 (R,G,B) entries. |
philpem@5 | 6301 | <p> |
philpem@5 | 6302 | The default color palette is used by CImg when displaying images on 256 colors displays. It consists in the quantification of the (R,G,B) color space using 3:3:2 bits for color coding (i.e 8 levels for the Red and Green and 4 levels for the Blue). <dl class="return" compact><dt><b>Returns:</b></dt><dd>a 1x256x1x3 color image defining the palette entries. </dd></dl> |
philpem@5 | 6303 | |
philpem@5 | 6304 | </div> |
philpem@5 | 6305 | </div><p> |
philpem@5 | 6306 | <a class="anchor" name="b4e692d67bb005b4b25555693d15f739"></a><!-- doxytag: member="cimg_library::CImg::RGBtoBayer" ref="b4e692d67bb005b4b25555693d15f739" args="()" --> |
philpem@5 | 6307 | <div class="memitem"> |
philpem@5 | 6308 | <div class="memproto"> |
philpem@5 | 6309 | <table class="memname"> |
philpem@5 | 6310 | <tr> |
philpem@5 | 6311 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& RGBtoBayer </td> |
philpem@5 | 6312 | <td>(</td> |
philpem@5 | 6313 | <td class="paramname"> </td> |
philpem@5 | 6314 | <td> ) </td> |
philpem@5 | 6315 | <td><code> [inline]</code></td> |
philpem@5 | 6316 | </tr> |
philpem@5 | 6317 | </table> |
philpem@5 | 6318 | </div> |
philpem@5 | 6319 | <div class="memdoc"> |
philpem@5 | 6320 | |
philpem@5 | 6321 | <p> |
philpem@5 | 6322 | Convert a (R,G,B) image to a Bayer-coded representation. |
philpem@5 | 6323 | <p> |
philpem@5 | 6324 | <dl class="note" compact><dt><b>Note:</b></dt><dd>First (upper-left) pixel if the red component of the pixel color. </dd></dl> |
philpem@5 | 6325 | |
philpem@5 | 6326 | </div> |
philpem@5 | 6327 | </div><p> |
philpem@5 | 6328 | <a class="anchor" name="07751cdf418fc2120b971bc0f7e0da8c"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="07751cdf418fc2120b971bc0f7e0da8c" args="(const int x0, const int y0, const tc *const color, const float opacity=1)" --> |
philpem@5 | 6329 | <div class="memitem"> |
philpem@5 | 6330 | <div class="memproto"> |
philpem@5 | 6331 | <table class="memname"> |
philpem@5 | 6332 | <tr> |
philpem@5 | 6333 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_point </td> |
philpem@5 | 6334 | <td>(</td> |
philpem@5 | 6335 | <td class="paramtype">const int </td> |
philpem@5 | 6336 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 6337 | </tr> |
philpem@5 | 6338 | <tr> |
philpem@5 | 6339 | <td class="paramkey"></td> |
philpem@5 | 6340 | <td></td> |
philpem@5 | 6341 | <td class="paramtype">const int </td> |
philpem@5 | 6342 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 6343 | </tr> |
philpem@5 | 6344 | <tr> |
philpem@5 | 6345 | <td class="paramkey"></td> |
philpem@5 | 6346 | <td></td> |
philpem@5 | 6347 | <td class="paramtype">const tc *const </td> |
philpem@5 | 6348 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 6349 | </tr> |
philpem@5 | 6350 | <tr> |
philpem@5 | 6351 | <td class="paramkey"></td> |
philpem@5 | 6352 | <td></td> |
philpem@5 | 6353 | <td class="paramtype">const float </td> |
philpem@5 | 6354 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 6355 | </tr> |
philpem@5 | 6356 | <tr> |
philpem@5 | 6357 | <td></td> |
philpem@5 | 6358 | <td>)</td> |
philpem@5 | 6359 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6360 | </tr> |
philpem@5 | 6361 | </table> |
philpem@5 | 6362 | </div> |
philpem@5 | 6363 | <div class="memdoc"> |
philpem@5 | 6364 | |
philpem@5 | 6365 | <p> |
philpem@5 | 6366 | Draw a 2D colored point (pixel). |
philpem@5 | 6367 | <p> |
philpem@5 | 6368 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6369 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6370 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the point. </td></tr> |
philpem@5 | 6371 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the point. </td></tr> |
philpem@5 | 6372 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values, defining the color values. </td></tr> |
philpem@5 | 6373 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 6374 | </table> |
philpem@5 | 6375 | </dl> |
philpem@5 | 6376 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6377 | <li>Clipping is supported.</li><li>To set pixel values without clipping needs, you should use the faster <a class="el" href="structcimg__library_1_1CImg.html#b8fbc19527504258380aaed12c4bec4b" title="Fast access to pixel value for reading or writing.">CImg::operator()()</a> function. </li></ul> |
philpem@5 | 6378 | </dd></dl> |
philpem@5 | 6379 | <dl class="user" compact><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<unsigned char> img(100,100,1,3,0); |
philpem@5 | 6380 | <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> color[] = { 255,128,64 }; |
philpem@5 | 6381 | img.draw_point(50,50,color); |
philpem@5 | 6382 | </pre></div> </dd></dl> |
philpem@5 | 6383 | |
philpem@5 | 6384 | </div> |
philpem@5 | 6385 | </div><p> |
philpem@5 | 6386 | <a class="anchor" name="d2f49716a6d07d5521f3c81bd411284c"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="d2f49716a6d07d5521f3c81bd411284c" args="(const CImgList< t > &points, const tc *const color, const float opacity=1)" --> |
philpem@5 | 6387 | <div class="memitem"> |
philpem@5 | 6388 | <div class="memproto"> |
philpem@5 | 6389 | <table class="memname"> |
philpem@5 | 6390 | <tr> |
philpem@5 | 6391 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_point </td> |
philpem@5 | 6392 | <td>(</td> |
philpem@5 | 6393 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > & </td> |
philpem@5 | 6394 | <td class="paramname"> <em>points</em>, </td> |
philpem@5 | 6395 | </tr> |
philpem@5 | 6396 | <tr> |
philpem@5 | 6397 | <td class="paramkey"></td> |
philpem@5 | 6398 | <td></td> |
philpem@5 | 6399 | <td class="paramtype">const tc *const </td> |
philpem@5 | 6400 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 6401 | </tr> |
philpem@5 | 6402 | <tr> |
philpem@5 | 6403 | <td class="paramkey"></td> |
philpem@5 | 6404 | <td></td> |
philpem@5 | 6405 | <td class="paramtype">const float </td> |
philpem@5 | 6406 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 6407 | </tr> |
philpem@5 | 6408 | <tr> |
philpem@5 | 6409 | <td></td> |
philpem@5 | 6410 | <td>)</td> |
philpem@5 | 6411 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6412 | </tr> |
philpem@5 | 6413 | </table> |
philpem@5 | 6414 | </div> |
philpem@5 | 6415 | <div class="memdoc"> |
philpem@5 | 6416 | |
philpem@5 | 6417 | <p> |
philpem@5 | 6418 | Draw a cloud of colored points. |
philpem@5 | 6419 | <p> |
philpem@5 | 6420 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6421 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6422 | <tr><td valign="top"></td><td valign="top"><em>points</em> </td><td>Coordinates of vertices, stored as a list of vectors. </td></tr> |
philpem@5 | 6423 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 6424 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 6425 | </table> |
philpem@5 | 6426 | </dl> |
philpem@5 | 6427 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6428 | <li>This function uses several call to the single <a class="el" href="structcimg__library_1_1CImg.html#07751cdf418fc2120b971bc0f7e0da8c" title="Draw a 2D colored point (pixel).">CImg::draw_point()</a> procedure, depending on the vectors size in <code>points</code>. </li></ul> |
philpem@5 | 6429 | </dd></dl> |
philpem@5 | 6430 | <dl class="user" compact><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<unsigned char> img(100,100,1,3,0); |
philpem@5 | 6431 | <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> color[] = { 255,128,64 }; |
philpem@5 | 6432 | CImgList<int> points; |
philpem@5 | 6433 | points.insert(CImg<int>::vector(0,0)). |
philpem@5 | 6434 | .insert(CImg<int>::vector(70,10)). |
philpem@5 | 6435 | .insert(CImg<int>::vector(80,60)). |
philpem@5 | 6436 | .insert(CImg<int>::vector(10,90)); |
philpem@5 | 6437 | img.draw_point(points,color); |
philpem@5 | 6438 | </pre></div> </dd></dl> |
philpem@5 | 6439 | |
philpem@5 | 6440 | </div> |
philpem@5 | 6441 | </div><p> |
philpem@5 | 6442 | <a class="anchor" name="52c224fa79b1d5ab1c1e8d619c8944b3"></a><!-- doxytag: member="cimg_library::CImg::draw_point" ref="52c224fa79b1d5ab1c1e8d619c8944b3" args="(const CImg< t > &points, const tc *const color, const float opacity=1)" --> |
philpem@5 | 6443 | <div class="memitem"> |
philpem@5 | 6444 | <div class="memproto"> |
philpem@5 | 6445 | <table class="memname"> |
philpem@5 | 6446 | <tr> |
philpem@5 | 6447 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_point </td> |
philpem@5 | 6448 | <td>(</td> |
philpem@5 | 6449 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 6450 | <td class="paramname"> <em>points</em>, </td> |
philpem@5 | 6451 | </tr> |
philpem@5 | 6452 | <tr> |
philpem@5 | 6453 | <td class="paramkey"></td> |
philpem@5 | 6454 | <td></td> |
philpem@5 | 6455 | <td class="paramtype">const tc *const </td> |
philpem@5 | 6456 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 6457 | </tr> |
philpem@5 | 6458 | <tr> |
philpem@5 | 6459 | <td class="paramkey"></td> |
philpem@5 | 6460 | <td></td> |
philpem@5 | 6461 | <td class="paramtype">const float </td> |
philpem@5 | 6462 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 6463 | </tr> |
philpem@5 | 6464 | <tr> |
philpem@5 | 6465 | <td></td> |
philpem@5 | 6466 | <td>)</td> |
philpem@5 | 6467 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6468 | </tr> |
philpem@5 | 6469 | </table> |
philpem@5 | 6470 | </div> |
philpem@5 | 6471 | <div class="memdoc"> |
philpem@5 | 6472 | |
philpem@5 | 6473 | <p> |
philpem@5 | 6474 | Draw a cloud of colored points. |
philpem@5 | 6475 | <p> |
philpem@5 | 6476 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6477 | <li>Similar to the previous function, where the N vertex coordinates are stored as a Nx2 or Nx3 image (sequence of vectors aligned along the x-axis). </li></ul> |
philpem@5 | 6478 | </dd></dl> |
philpem@5 | 6479 | |
philpem@5 | 6480 | </div> |
philpem@5 | 6481 | </div><p> |
philpem@5 | 6482 | <a class="anchor" name="88ccbeac12af8b83cd17f9b72bbfe73b"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="88ccbeac12af8b83cd17f9b72bbfe73b" args="(const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 6483 | <div class="memitem"> |
philpem@5 | 6484 | <div class="memproto"> |
philpem@5 | 6485 | <table class="memname"> |
philpem@5 | 6486 | <tr> |
philpem@5 | 6487 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_line </td> |
philpem@5 | 6488 | <td>(</td> |
philpem@5 | 6489 | <td class="paramtype">const int </td> |
philpem@5 | 6490 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 6491 | </tr> |
philpem@5 | 6492 | <tr> |
philpem@5 | 6493 | <td class="paramkey"></td> |
philpem@5 | 6494 | <td></td> |
philpem@5 | 6495 | <td class="paramtype">const int </td> |
philpem@5 | 6496 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 6497 | </tr> |
philpem@5 | 6498 | <tr> |
philpem@5 | 6499 | <td class="paramkey"></td> |
philpem@5 | 6500 | <td></td> |
philpem@5 | 6501 | <td class="paramtype">const int </td> |
philpem@5 | 6502 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 6503 | </tr> |
philpem@5 | 6504 | <tr> |
philpem@5 | 6505 | <td class="paramkey"></td> |
philpem@5 | 6506 | <td></td> |
philpem@5 | 6507 | <td class="paramtype">const int </td> |
philpem@5 | 6508 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 6509 | </tr> |
philpem@5 | 6510 | <tr> |
philpem@5 | 6511 | <td class="paramkey"></td> |
philpem@5 | 6512 | <td></td> |
philpem@5 | 6513 | <td class="paramtype">const tc *const </td> |
philpem@5 | 6514 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 6515 | </tr> |
philpem@5 | 6516 | <tr> |
philpem@5 | 6517 | <td class="paramkey"></td> |
philpem@5 | 6518 | <td></td> |
philpem@5 | 6519 | <td class="paramtype">const float </td> |
philpem@5 | 6520 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 6521 | </tr> |
philpem@5 | 6522 | <tr> |
philpem@5 | 6523 | <td class="paramkey"></td> |
philpem@5 | 6524 | <td></td> |
philpem@5 | 6525 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6526 | <td class="paramname"> <em>pattern</em> = <code>~0U</code>, </td> |
philpem@5 | 6527 | </tr> |
philpem@5 | 6528 | <tr> |
philpem@5 | 6529 | <td class="paramkey"></td> |
philpem@5 | 6530 | <td></td> |
philpem@5 | 6531 | <td class="paramtype">const bool </td> |
philpem@5 | 6532 | <td class="paramname"> <em>init_hatch</em> = <code>true</code></td><td> </td> |
philpem@5 | 6533 | </tr> |
philpem@5 | 6534 | <tr> |
philpem@5 | 6535 | <td></td> |
philpem@5 | 6536 | <td>)</td> |
philpem@5 | 6537 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6538 | </tr> |
philpem@5 | 6539 | </table> |
philpem@5 | 6540 | </div> |
philpem@5 | 6541 | <div class="memdoc"> |
philpem@5 | 6542 | |
philpem@5 | 6543 | <p> |
philpem@5 | 6544 | Draw a 2D colored line. |
philpem@5 | 6545 | <p> |
philpem@5 | 6546 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6547 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6548 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the starting line point. </td></tr> |
philpem@5 | 6549 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the starting line point. </td></tr> |
philpem@5 | 6550 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the ending line point. </td></tr> |
philpem@5 | 6551 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the ending line point. </td></tr> |
philpem@5 | 6552 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 6553 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 6554 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>An integer whose bits describe the line pattern (optional). </td></tr> |
philpem@5 | 6555 | <tr><td valign="top"></td><td valign="top"><em>init_hatch</em> </td><td>Flag telling if a reinitialization of the hash state must be done (optional). </td></tr> |
philpem@5 | 6556 | </table> |
philpem@5 | 6557 | </dl> |
philpem@5 | 6558 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6559 | <li>Clipping is supported.</li><li>Line routine uses Bresenham's algorithm.</li><li>Set <code>init_hatch</code> = false to draw consecutive hatched segments without breaking the line pattern. </li></ul> |
philpem@5 | 6560 | </dd></dl> |
philpem@5 | 6561 | <dl class="user" compact><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<unsigned char> img(100,100,1,3,0); |
philpem@5 | 6562 | <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> color[] = { 255,128,64 }; |
philpem@5 | 6563 | img.draw_line(40,40,80,70,color); |
philpem@5 | 6564 | </pre></div> </dd></dl> |
philpem@5 | 6565 | |
philpem@5 | 6566 | </div> |
philpem@5 | 6567 | </div><p> |
philpem@5 | 6568 | <a class="anchor" name="b98fc42096d2a5a075be384b1f37094c"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="b98fc42096d2a5a075be384b1f37094c" args="(const int x0, const int y0, const int x1, const int y1, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 6569 | <div class="memitem"> |
philpem@5 | 6570 | <div class="memproto"> |
philpem@5 | 6571 | <table class="memname"> |
philpem@5 | 6572 | <tr> |
philpem@5 | 6573 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_line </td> |
philpem@5 | 6574 | <td>(</td> |
philpem@5 | 6575 | <td class="paramtype">const int </td> |
philpem@5 | 6576 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 6577 | </tr> |
philpem@5 | 6578 | <tr> |
philpem@5 | 6579 | <td class="paramkey"></td> |
philpem@5 | 6580 | <td></td> |
philpem@5 | 6581 | <td class="paramtype">const int </td> |
philpem@5 | 6582 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 6583 | </tr> |
philpem@5 | 6584 | <tr> |
philpem@5 | 6585 | <td class="paramkey"></td> |
philpem@5 | 6586 | <td></td> |
philpem@5 | 6587 | <td class="paramtype">const int </td> |
philpem@5 | 6588 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 6589 | </tr> |
philpem@5 | 6590 | <tr> |
philpem@5 | 6591 | <td class="paramkey"></td> |
philpem@5 | 6592 | <td></td> |
philpem@5 | 6593 | <td class="paramtype">const int </td> |
philpem@5 | 6594 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 6595 | </tr> |
philpem@5 | 6596 | <tr> |
philpem@5 | 6597 | <td class="paramkey"></td> |
philpem@5 | 6598 | <td></td> |
philpem@5 | 6599 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > & </td> |
philpem@5 | 6600 | <td class="paramname"> <em>texture</em>, </td> |
philpem@5 | 6601 | </tr> |
philpem@5 | 6602 | <tr> |
philpem@5 | 6603 | <td class="paramkey"></td> |
philpem@5 | 6604 | <td></td> |
philpem@5 | 6605 | <td class="paramtype">const int </td> |
philpem@5 | 6606 | <td class="paramname"> <em>tx0</em>, </td> |
philpem@5 | 6607 | </tr> |
philpem@5 | 6608 | <tr> |
philpem@5 | 6609 | <td class="paramkey"></td> |
philpem@5 | 6610 | <td></td> |
philpem@5 | 6611 | <td class="paramtype">const int </td> |
philpem@5 | 6612 | <td class="paramname"> <em>ty0</em>, </td> |
philpem@5 | 6613 | </tr> |
philpem@5 | 6614 | <tr> |
philpem@5 | 6615 | <td class="paramkey"></td> |
philpem@5 | 6616 | <td></td> |
philpem@5 | 6617 | <td class="paramtype">const int </td> |
philpem@5 | 6618 | <td class="paramname"> <em>tx1</em>, </td> |
philpem@5 | 6619 | </tr> |
philpem@5 | 6620 | <tr> |
philpem@5 | 6621 | <td class="paramkey"></td> |
philpem@5 | 6622 | <td></td> |
philpem@5 | 6623 | <td class="paramtype">const int </td> |
philpem@5 | 6624 | <td class="paramname"> <em>ty1</em>, </td> |
philpem@5 | 6625 | </tr> |
philpem@5 | 6626 | <tr> |
philpem@5 | 6627 | <td class="paramkey"></td> |
philpem@5 | 6628 | <td></td> |
philpem@5 | 6629 | <td class="paramtype">const float </td> |
philpem@5 | 6630 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 6631 | </tr> |
philpem@5 | 6632 | <tr> |
philpem@5 | 6633 | <td class="paramkey"></td> |
philpem@5 | 6634 | <td></td> |
philpem@5 | 6635 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6636 | <td class="paramname"> <em>pattern</em> = <code>~0U</code>, </td> |
philpem@5 | 6637 | </tr> |
philpem@5 | 6638 | <tr> |
philpem@5 | 6639 | <td class="paramkey"></td> |
philpem@5 | 6640 | <td></td> |
philpem@5 | 6641 | <td class="paramtype">const bool </td> |
philpem@5 | 6642 | <td class="paramname"> <em>init_hatch</em> = <code>true</code></td><td> </td> |
philpem@5 | 6643 | </tr> |
philpem@5 | 6644 | <tr> |
philpem@5 | 6645 | <td></td> |
philpem@5 | 6646 | <td>)</td> |
philpem@5 | 6647 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6648 | </tr> |
philpem@5 | 6649 | </table> |
philpem@5 | 6650 | </div> |
philpem@5 | 6651 | <div class="memdoc"> |
philpem@5 | 6652 | |
philpem@5 | 6653 | <p> |
philpem@5 | 6654 | Draw a 2D textured line. |
philpem@5 | 6655 | <p> |
philpem@5 | 6656 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6657 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6658 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the starting line point. </td></tr> |
philpem@5 | 6659 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the starting line point. </td></tr> |
philpem@5 | 6660 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the ending line point. </td></tr> |
philpem@5 | 6661 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the ending line point. </td></tr> |
philpem@5 | 6662 | <tr><td valign="top"></td><td valign="top"><em>texture</em> </td><td>Texture image defining the pixel colors. </td></tr> |
philpem@5 | 6663 | <tr><td valign="top"></td><td valign="top"><em>tx0</em> </td><td>X-coordinate of the starting texture point. </td></tr> |
philpem@5 | 6664 | <tr><td valign="top"></td><td valign="top"><em>ty0</em> </td><td>Y-coordinate of the starting texture point. </td></tr> |
philpem@5 | 6665 | <tr><td valign="top"></td><td valign="top"><em>tx1</em> </td><td>X-coordinate of the ending texture point. </td></tr> |
philpem@5 | 6666 | <tr><td valign="top"></td><td valign="top"><em>ty1</em> </td><td>Y-coordinate of the ending texture point. </td></tr> |
philpem@5 | 6667 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 6668 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>An integer whose bits describe the line pattern (optional). </td></tr> |
philpem@5 | 6669 | <tr><td valign="top"></td><td valign="top"><em>init_hatch</em> </td><td>Flag telling if the hash variable must be reinitialized (optional). </td></tr> |
philpem@5 | 6670 | </table> |
philpem@5 | 6671 | </dl> |
philpem@5 | 6672 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6673 | <li>Clipping is supported but not for texture coordinates.</li><li>Line routine uses the well known Bresenham's algorithm. </li></ul> |
philpem@5 | 6674 | </dd></dl> |
philpem@5 | 6675 | <dl class="user" compact><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<unsigned char> img(100,100,1,3,0), texture(<span class="stringliteral">"texture256x256.ppm"</span>); |
philpem@5 | 6676 | <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> color[] = { 255,128,64 }; |
philpem@5 | 6677 | img.draw_line(40,40,80,70,texture,0,0,255,255); |
philpem@5 | 6678 | </pre></div> </dd></dl> |
philpem@5 | 6679 | |
philpem@5 | 6680 | </div> |
philpem@5 | 6681 | </div><p> |
philpem@5 | 6682 | <a class="anchor" name="91e810ebf4b600b461bbfe42708f3cd6"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="91e810ebf4b600b461bbfe42708f3cd6" args="(const CImgList< t > &points, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 6683 | <div class="memitem"> |
philpem@5 | 6684 | <div class="memproto"> |
philpem@5 | 6685 | <table class="memname"> |
philpem@5 | 6686 | <tr> |
philpem@5 | 6687 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_line </td> |
philpem@5 | 6688 | <td>(</td> |
philpem@5 | 6689 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > & </td> |
philpem@5 | 6690 | <td class="paramname"> <em>points</em>, </td> |
philpem@5 | 6691 | </tr> |
philpem@5 | 6692 | <tr> |
philpem@5 | 6693 | <td class="paramkey"></td> |
philpem@5 | 6694 | <td></td> |
philpem@5 | 6695 | <td class="paramtype">const tc *const </td> |
philpem@5 | 6696 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 6697 | </tr> |
philpem@5 | 6698 | <tr> |
philpem@5 | 6699 | <td class="paramkey"></td> |
philpem@5 | 6700 | <td></td> |
philpem@5 | 6701 | <td class="paramtype">const float </td> |
philpem@5 | 6702 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 6703 | </tr> |
philpem@5 | 6704 | <tr> |
philpem@5 | 6705 | <td class="paramkey"></td> |
philpem@5 | 6706 | <td></td> |
philpem@5 | 6707 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6708 | <td class="paramname"> <em>pattern</em> = <code>~0U</code>, </td> |
philpem@5 | 6709 | </tr> |
philpem@5 | 6710 | <tr> |
philpem@5 | 6711 | <td class="paramkey"></td> |
philpem@5 | 6712 | <td></td> |
philpem@5 | 6713 | <td class="paramtype">const bool </td> |
philpem@5 | 6714 | <td class="paramname"> <em>init_hatch</em> = <code>true</code></td><td> </td> |
philpem@5 | 6715 | </tr> |
philpem@5 | 6716 | <tr> |
philpem@5 | 6717 | <td></td> |
philpem@5 | 6718 | <td>)</td> |
philpem@5 | 6719 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6720 | </tr> |
philpem@5 | 6721 | </table> |
philpem@5 | 6722 | </div> |
philpem@5 | 6723 | <div class="memdoc"> |
philpem@5 | 6724 | |
philpem@5 | 6725 | <p> |
philpem@5 | 6726 | Draw a set of consecutive colored lines in the instance image. |
philpem@5 | 6727 | <p> |
philpem@5 | 6728 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6729 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6730 | <tr><td valign="top"></td><td valign="top"><em>points</em> </td><td>Coordinates of vertices, stored as a list of vectors. </td></tr> |
philpem@5 | 6731 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 6732 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 6733 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>An integer whose bits describe the line pattern (optional). </td></tr> |
philpem@5 | 6734 | <tr><td valign="top"></td><td valign="top"><em>init_hatch</em> </td><td>If set to true, init hatch motif. </td></tr> |
philpem@5 | 6735 | </table> |
philpem@5 | 6736 | </dl> |
philpem@5 | 6737 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6738 | <li>This function uses several call to the single <a class="el" href="structcimg__library_1_1CImg.html#88ccbeac12af8b83cd17f9b72bbfe73b" title="Draw a 2D colored line.">CImg::draw_line()</a> procedure, depending on the vectors size in <code>points</code>. </li></ul> |
philpem@5 | 6739 | </dd></dl> |
philpem@5 | 6740 | <dl class="user" compact><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<unsigned char> img(100,100,1,3,0); |
philpem@5 | 6741 | <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> color[] = { 255,128,64 }; |
philpem@5 | 6742 | CImgList<int> points; |
philpem@5 | 6743 | points.insert(CImg<int>::vector(0,0)). |
philpem@5 | 6744 | .insert(CImg<int>::vector(70,10)). |
philpem@5 | 6745 | .insert(CImg<int>::vector(80,60)). |
philpem@5 | 6746 | .insert(CImg<int>::vector(10,90)); |
philpem@5 | 6747 | img.draw_line(points,color); |
philpem@5 | 6748 | </pre></div> </dd></dl> |
philpem@5 | 6749 | |
philpem@5 | 6750 | </div> |
philpem@5 | 6751 | </div><p> |
philpem@5 | 6752 | <a class="anchor" name="f42f741d0f579a78f9f58d0d6499bc53"></a><!-- doxytag: member="cimg_library::CImg::draw_line" ref="f42f741d0f579a78f9f58d0d6499bc53" args="(const CImg< t > &points, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 6753 | <div class="memitem"> |
philpem@5 | 6754 | <div class="memproto"> |
philpem@5 | 6755 | <table class="memname"> |
philpem@5 | 6756 | <tr> |
philpem@5 | 6757 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_line </td> |
philpem@5 | 6758 | <td>(</td> |
philpem@5 | 6759 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 6760 | <td class="paramname"> <em>points</em>, </td> |
philpem@5 | 6761 | </tr> |
philpem@5 | 6762 | <tr> |
philpem@5 | 6763 | <td class="paramkey"></td> |
philpem@5 | 6764 | <td></td> |
philpem@5 | 6765 | <td class="paramtype">const tc *const </td> |
philpem@5 | 6766 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 6767 | </tr> |
philpem@5 | 6768 | <tr> |
philpem@5 | 6769 | <td class="paramkey"></td> |
philpem@5 | 6770 | <td></td> |
philpem@5 | 6771 | <td class="paramtype">const float </td> |
philpem@5 | 6772 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 6773 | </tr> |
philpem@5 | 6774 | <tr> |
philpem@5 | 6775 | <td class="paramkey"></td> |
philpem@5 | 6776 | <td></td> |
philpem@5 | 6777 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6778 | <td class="paramname"> <em>pattern</em> = <code>~0U</code>, </td> |
philpem@5 | 6779 | </tr> |
philpem@5 | 6780 | <tr> |
philpem@5 | 6781 | <td class="paramkey"></td> |
philpem@5 | 6782 | <td></td> |
philpem@5 | 6783 | <td class="paramtype">const bool </td> |
philpem@5 | 6784 | <td class="paramname"> <em>init_hatch</em> = <code>true</code></td><td> </td> |
philpem@5 | 6785 | </tr> |
philpem@5 | 6786 | <tr> |
philpem@5 | 6787 | <td></td> |
philpem@5 | 6788 | <td>)</td> |
philpem@5 | 6789 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6790 | </tr> |
philpem@5 | 6791 | </table> |
philpem@5 | 6792 | </div> |
philpem@5 | 6793 | <div class="memdoc"> |
philpem@5 | 6794 | |
philpem@5 | 6795 | <p> |
philpem@5 | 6796 | Draw a set of consecutive colored lines in the instance image. |
philpem@5 | 6797 | <p> |
philpem@5 | 6798 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6799 | <li>Similar to the previous function, where the N vertex coordinates are stored as a Nx2 or Nx3 image (sequence of vectors aligned along the x-axis). </li></ul> |
philpem@5 | 6800 | </dd></dl> |
philpem@5 | 6801 | |
philpem@5 | 6802 | </div> |
philpem@5 | 6803 | </div><p> |
philpem@5 | 6804 | <a class="anchor" name="1633f28b9b0646cff390b0e060cce47b"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="1633f28b9b0646cff390b0e060cce47b" args="(const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const tc *const color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 6805 | <div class="memitem"> |
philpem@5 | 6806 | <div class="memproto"> |
philpem@5 | 6807 | <table class="memname"> |
philpem@5 | 6808 | <tr> |
philpem@5 | 6809 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_spline </td> |
philpem@5 | 6810 | <td>(</td> |
philpem@5 | 6811 | <td class="paramtype">const int </td> |
philpem@5 | 6812 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 6813 | </tr> |
philpem@5 | 6814 | <tr> |
philpem@5 | 6815 | <td class="paramkey"></td> |
philpem@5 | 6816 | <td></td> |
philpem@5 | 6817 | <td class="paramtype">const int </td> |
philpem@5 | 6818 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 6819 | </tr> |
philpem@5 | 6820 | <tr> |
philpem@5 | 6821 | <td class="paramkey"></td> |
philpem@5 | 6822 | <td></td> |
philpem@5 | 6823 | <td class="paramtype">const float </td> |
philpem@5 | 6824 | <td class="paramname"> <em>u0</em>, </td> |
philpem@5 | 6825 | </tr> |
philpem@5 | 6826 | <tr> |
philpem@5 | 6827 | <td class="paramkey"></td> |
philpem@5 | 6828 | <td></td> |
philpem@5 | 6829 | <td class="paramtype">const float </td> |
philpem@5 | 6830 | <td class="paramname"> <em>v0</em>, </td> |
philpem@5 | 6831 | </tr> |
philpem@5 | 6832 | <tr> |
philpem@5 | 6833 | <td class="paramkey"></td> |
philpem@5 | 6834 | <td></td> |
philpem@5 | 6835 | <td class="paramtype">const int </td> |
philpem@5 | 6836 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 6837 | </tr> |
philpem@5 | 6838 | <tr> |
philpem@5 | 6839 | <td class="paramkey"></td> |
philpem@5 | 6840 | <td></td> |
philpem@5 | 6841 | <td class="paramtype">const int </td> |
philpem@5 | 6842 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 6843 | </tr> |
philpem@5 | 6844 | <tr> |
philpem@5 | 6845 | <td class="paramkey"></td> |
philpem@5 | 6846 | <td></td> |
philpem@5 | 6847 | <td class="paramtype">const float </td> |
philpem@5 | 6848 | <td class="paramname"> <em>u1</em>, </td> |
philpem@5 | 6849 | </tr> |
philpem@5 | 6850 | <tr> |
philpem@5 | 6851 | <td class="paramkey"></td> |
philpem@5 | 6852 | <td></td> |
philpem@5 | 6853 | <td class="paramtype">const float </td> |
philpem@5 | 6854 | <td class="paramname"> <em>v1</em>, </td> |
philpem@5 | 6855 | </tr> |
philpem@5 | 6856 | <tr> |
philpem@5 | 6857 | <td class="paramkey"></td> |
philpem@5 | 6858 | <td></td> |
philpem@5 | 6859 | <td class="paramtype">const tc *const </td> |
philpem@5 | 6860 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 6861 | </tr> |
philpem@5 | 6862 | <tr> |
philpem@5 | 6863 | <td class="paramkey"></td> |
philpem@5 | 6864 | <td></td> |
philpem@5 | 6865 | <td class="paramtype">const float </td> |
philpem@5 | 6866 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 6867 | </tr> |
philpem@5 | 6868 | <tr> |
philpem@5 | 6869 | <td class="paramkey"></td> |
philpem@5 | 6870 | <td></td> |
philpem@5 | 6871 | <td class="paramtype">const float </td> |
philpem@5 | 6872 | <td class="paramname"> <em>precision</em> = <code>4</code>, </td> |
philpem@5 | 6873 | </tr> |
philpem@5 | 6874 | <tr> |
philpem@5 | 6875 | <td class="paramkey"></td> |
philpem@5 | 6876 | <td></td> |
philpem@5 | 6877 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 6878 | <td class="paramname"> <em>pattern</em> = <code>~0U</code>, </td> |
philpem@5 | 6879 | </tr> |
philpem@5 | 6880 | <tr> |
philpem@5 | 6881 | <td class="paramkey"></td> |
philpem@5 | 6882 | <td></td> |
philpem@5 | 6883 | <td class="paramtype">const bool </td> |
philpem@5 | 6884 | <td class="paramname"> <em>init_hatch</em> = <code>true</code></td><td> </td> |
philpem@5 | 6885 | </tr> |
philpem@5 | 6886 | <tr> |
philpem@5 | 6887 | <td></td> |
philpem@5 | 6888 | <td>)</td> |
philpem@5 | 6889 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 6890 | </tr> |
philpem@5 | 6891 | </table> |
philpem@5 | 6892 | </div> |
philpem@5 | 6893 | <div class="memdoc"> |
philpem@5 | 6894 | |
philpem@5 | 6895 | <p> |
philpem@5 | 6896 | Draw a cubic spline curve in the instance image. |
philpem@5 | 6897 | <p> |
philpem@5 | 6898 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 6899 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 6900 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the starting curve point </td></tr> |
philpem@5 | 6901 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the starting curve point </td></tr> |
philpem@5 | 6902 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>X-coordinate of the starting velocity </td></tr> |
philpem@5 | 6903 | <tr><td valign="top"></td><td valign="top"><em>v0</em> </td><td>Y-coordinate of the starting velocity </td></tr> |
philpem@5 | 6904 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the ending curve point </td></tr> |
philpem@5 | 6905 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the ending curve point </td></tr> |
philpem@5 | 6906 | <tr><td valign="top"></td><td valign="top"><em>u1</em> </td><td>X-coordinate of the ending velocity </td></tr> |
philpem@5 | 6907 | <tr><td valign="top"></td><td valign="top"><em>v1</em> </td><td>Y-coordinate of the ending velocity </td></tr> |
philpem@5 | 6908 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 6909 | <tr><td valign="top"></td><td valign="top"><em>precision</em> </td><td>Curve drawing precision (optional). </td></tr> |
philpem@5 | 6910 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 6911 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>An integer whose bits describe the line pattern (optional). </td></tr> |
philpem@5 | 6912 | <tr><td valign="top"></td><td valign="top"><em>init_hatch</em> </td><td>If <code>true</code>, init hatch motif. </td></tr> |
philpem@5 | 6913 | </table> |
philpem@5 | 6914 | </dl> |
philpem@5 | 6915 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 6916 | <li>The curve is a 2D cubic Bezier spline, from the set of specified starting/ending points and corresponding velocity vectors.</li><li>The spline is drawn as a serie of connected segments. The <code>precision</code> parameter sets the average number of pixels in each drawn segment.</li><li>A cubic Bezier curve is sometimes defined by a set of 4 points { (<code>x0</code>,<code>y0</code>), (<code>xa</code>,<code>ya</code>), (<code>xb</code>,<code>yb</code>), (<code>x1</code>,<code>y1</code>) } where (<code>x0</code>,<code>y0</code>) is the starting point, (<code>x1</code>,<code>y1</code>) is the ending point and (<code>xa</code>,<code>ya</code>), (<code>xb</code>,<code>yb</code>) are two <em>control</em> points. The starting and ending velocities (<code>u0</code>,<code>v0</code>) and (<code>u1</code>,<code>v1</code>) can be deduced easily from the control points as <code>u0</code> = (<code>xa</code> - <code>x0</code>), <code>v0</code> = (<code>ya</code> - <code>y0</code>), <code>u1</code> = (<code>x1</code> - <code>xb</code>) and <code>v1</code> = (<code>y1</code> - <code>yb</code>). </li></ul> |
philpem@5 | 6917 | </dd></dl> |
philpem@5 | 6918 | <dl class="user" compact><dt><b>Example:</b></dt><dd><div class="fragment"><pre class="fragment"> CImg<unsigned char> img(100,100,1,3,0); |
philpem@5 | 6919 | <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> color[] = { 255,255,255 }; |
philpem@5 | 6920 | img.draw_spline(30,30,0,100,90,40,0,-100,color); |
philpem@5 | 6921 | </pre></div> </dd></dl> |
philpem@5 | 6922 | |
philpem@5 | 6923 | </div> |
philpem@5 | 6924 | </div><p> |
philpem@5 | 6925 | <a class="anchor" name="111ec303273ffc87a1be739275957c92"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="111ec303273ffc87a1be739275957c92" args="(const int x0, const int y0, const int z0, const float u0, const float v0, const float w0, const int x1, const int y1, const int z1, const float u1, const float v1, const float w1, const tc *const color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 6926 | <div class="memitem"> |
philpem@5 | 6927 | <div class="memproto"> |
philpem@5 | 6928 | <table class="memname"> |
philpem@5 | 6929 | <tr> |
philpem@5 | 6930 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_spline </td> |
philpem@5 | 6931 | <td>(</td> |
philpem@5 | 6932 | <td class="paramtype">const int </td> |
philpem@5 | 6933 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 6934 | </tr> |
philpem@5 | 6935 | <tr> |
philpem@5 | 6936 | <td class="paramkey"></td> |
philpem@5 | 6937 | <td></td> |
philpem@5 | 6938 | <td class="paramtype">const int </td> |
philpem@5 | 6939 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 6940 | </tr> |
philpem@5 | 6941 | <tr> |
philpem@5 | 6942 | <td class="paramkey"></td> |
philpem@5 | 6943 | <td></td> |
philpem@5 | 6944 | <td class="paramtype">const int </td> |
philpem@5 | 6945 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 6946 | </tr> |
philpem@5 | 6947 | <tr> |
philpem@5 | 6948 | <td class="paramkey"></td> |
philpem@5 | 6949 | <td></td> |
philpem@5 | 6950 | <td class="paramtype">const float </td> |
philpem@5 | 6951 | <td class="paramname"> <em>u0</em>, </td> |
philpem@5 | 6952 | </tr> |
philpem@5 | 6953 | <tr> |
philpem@5 | 6954 | <td class="paramkey"></td> |
philpem@5 | 6955 | <td></td> |
philpem@5 | 6956 | <td class="paramtype">const float </td> |
philpem@5 | 6957 | <td class="paramname"> <em>v0</em>, </td> |
philpem@5 | 6958 | </tr> |
philpem@5 | 6959 | <tr> |
philpem@5 | 6960 | <td class="paramkey"></td> |
philpem@5 | 6961 | <td></td> |
philpem@5 | 6962 | <td class="paramtype">const float </td> |
philpem@5 | 6963 | <td class="paramname"> <em>w0</em>, </td> |
philpem@5 | 6964 | </tr> |
philpem@5 | 6965 | <tr> |
philpem@5 | 6966 | <td class="paramkey"></td> |
philpem@5 | 6967 | <td></td> |
philpem@5 | 6968 | <td class="paramtype">const int </td> |
philpem@5 | 6969 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 6970 | </tr> |
philpem@5 | 6971 | <tr> |
philpem@5 | 6972 | <td class="paramkey"></td> |
philpem@5 | 6973 | <td></td> |
philpem@5 | 6974 | <td class="paramtype">const int </td> |
philpem@5 | 6975 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 6976 | </tr> |
philpem@5 | 6977 | <tr> |
philpem@5 | 6978 | <td class="paramkey"></td> |
philpem@5 | 6979 | <td></td> |
philpem@5 | 6980 | <td class="paramtype">const int </td> |
philpem@5 | 6981 | <td class="paramname"> <em>z1</em>, </td> |
philpem@5 | 6982 | </tr> |
philpem@5 | 6983 | <tr> |
philpem@5 | 6984 | <td class="paramkey"></td> |
philpem@5 | 6985 | <td></td> |
philpem@5 | 6986 | <td class="paramtype">const float </td> |
philpem@5 | 6987 | <td class="paramname"> <em>u1</em>, </td> |
philpem@5 | 6988 | </tr> |
philpem@5 | 6989 | <tr> |
philpem@5 | 6990 | <td class="paramkey"></td> |
philpem@5 | 6991 | <td></td> |
philpem@5 | 6992 | <td class="paramtype">const float </td> |
philpem@5 | 6993 | <td class="paramname"> <em>v1</em>, </td> |
philpem@5 | 6994 | </tr> |
philpem@5 | 6995 | <tr> |
philpem@5 | 6996 | <td class="paramkey"></td> |
philpem@5 | 6997 | <td></td> |
philpem@5 | 6998 | <td class="paramtype">const float </td> |
philpem@5 | 6999 | <td class="paramname"> <em>w1</em>, </td> |
philpem@5 | 7000 | </tr> |
philpem@5 | 7001 | <tr> |
philpem@5 | 7002 | <td class="paramkey"></td> |
philpem@5 | 7003 | <td></td> |
philpem@5 | 7004 | <td class="paramtype">const tc *const </td> |
philpem@5 | 7005 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 7006 | </tr> |
philpem@5 | 7007 | <tr> |
philpem@5 | 7008 | <td class="paramkey"></td> |
philpem@5 | 7009 | <td></td> |
philpem@5 | 7010 | <td class="paramtype">const float </td> |
philpem@5 | 7011 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 7012 | </tr> |
philpem@5 | 7013 | <tr> |
philpem@5 | 7014 | <td class="paramkey"></td> |
philpem@5 | 7015 | <td></td> |
philpem@5 | 7016 | <td class="paramtype">const float </td> |
philpem@5 | 7017 | <td class="paramname"> <em>precision</em> = <code>4</code>, </td> |
philpem@5 | 7018 | </tr> |
philpem@5 | 7019 | <tr> |
philpem@5 | 7020 | <td class="paramkey"></td> |
philpem@5 | 7021 | <td></td> |
philpem@5 | 7022 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 7023 | <td class="paramname"> <em>pattern</em> = <code>~0U</code>, </td> |
philpem@5 | 7024 | </tr> |
philpem@5 | 7025 | <tr> |
philpem@5 | 7026 | <td class="paramkey"></td> |
philpem@5 | 7027 | <td></td> |
philpem@5 | 7028 | <td class="paramtype">const bool </td> |
philpem@5 | 7029 | <td class="paramname"> <em>init_hatch</em> = <code>true</code></td><td> </td> |
philpem@5 | 7030 | </tr> |
philpem@5 | 7031 | <tr> |
philpem@5 | 7032 | <td></td> |
philpem@5 | 7033 | <td>)</td> |
philpem@5 | 7034 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7035 | </tr> |
philpem@5 | 7036 | </table> |
philpem@5 | 7037 | </div> |
philpem@5 | 7038 | <div class="memdoc"> |
philpem@5 | 7039 | |
philpem@5 | 7040 | <p> |
philpem@5 | 7041 | Draw a cubic spline curve in the instance image (for volumetric images). |
philpem@5 | 7042 | <p> |
philpem@5 | 7043 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 7044 | <li>Similar to <a class="el" href="structcimg__library_1_1CImg.html#1633f28b9b0646cff390b0e060cce47b" title="Draw a cubic spline curve in the instance image.">CImg::draw_spline()</a> for a 3D spline in a volumetric image. </li></ul> |
philpem@5 | 7045 | </dd></dl> |
philpem@5 | 7046 | |
philpem@5 | 7047 | </div> |
philpem@5 | 7048 | </div><p> |
philpem@5 | 7049 | <a class="anchor" name="9a80dade828f83f301f1470a6d0d474d"></a><!-- doxytag: member="cimg_library::CImg::draw_spline" ref="9a80dade828f83f301f1470a6d0d474d" args="(const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const CImg< t > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true)" --> |
philpem@5 | 7050 | <div class="memitem"> |
philpem@5 | 7051 | <div class="memproto"> |
philpem@5 | 7052 | <table class="memname"> |
philpem@5 | 7053 | <tr> |
philpem@5 | 7054 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_spline </td> |
philpem@5 | 7055 | <td>(</td> |
philpem@5 | 7056 | <td class="paramtype">const int </td> |
philpem@5 | 7057 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7058 | </tr> |
philpem@5 | 7059 | <tr> |
philpem@5 | 7060 | <td class="paramkey"></td> |
philpem@5 | 7061 | <td></td> |
philpem@5 | 7062 | <td class="paramtype">const int </td> |
philpem@5 | 7063 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7064 | </tr> |
philpem@5 | 7065 | <tr> |
philpem@5 | 7066 | <td class="paramkey"></td> |
philpem@5 | 7067 | <td></td> |
philpem@5 | 7068 | <td class="paramtype">const float </td> |
philpem@5 | 7069 | <td class="paramname"> <em>u0</em>, </td> |
philpem@5 | 7070 | </tr> |
philpem@5 | 7071 | <tr> |
philpem@5 | 7072 | <td class="paramkey"></td> |
philpem@5 | 7073 | <td></td> |
philpem@5 | 7074 | <td class="paramtype">const float </td> |
philpem@5 | 7075 | <td class="paramname"> <em>v0</em>, </td> |
philpem@5 | 7076 | </tr> |
philpem@5 | 7077 | <tr> |
philpem@5 | 7078 | <td class="paramkey"></td> |
philpem@5 | 7079 | <td></td> |
philpem@5 | 7080 | <td class="paramtype">const int </td> |
philpem@5 | 7081 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7082 | </tr> |
philpem@5 | 7083 | <tr> |
philpem@5 | 7084 | <td class="paramkey"></td> |
philpem@5 | 7085 | <td></td> |
philpem@5 | 7086 | <td class="paramtype">const int </td> |
philpem@5 | 7087 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7088 | </tr> |
philpem@5 | 7089 | <tr> |
philpem@5 | 7090 | <td class="paramkey"></td> |
philpem@5 | 7091 | <td></td> |
philpem@5 | 7092 | <td class="paramtype">const float </td> |
philpem@5 | 7093 | <td class="paramname"> <em>u1</em>, </td> |
philpem@5 | 7094 | </tr> |
philpem@5 | 7095 | <tr> |
philpem@5 | 7096 | <td class="paramkey"></td> |
philpem@5 | 7097 | <td></td> |
philpem@5 | 7098 | <td class="paramtype">const float </td> |
philpem@5 | 7099 | <td class="paramname"> <em>v1</em>, </td> |
philpem@5 | 7100 | </tr> |
philpem@5 | 7101 | <tr> |
philpem@5 | 7102 | <td class="paramkey"></td> |
philpem@5 | 7103 | <td></td> |
philpem@5 | 7104 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 7105 | <td class="paramname"> <em>texture</em>, </td> |
philpem@5 | 7106 | </tr> |
philpem@5 | 7107 | <tr> |
philpem@5 | 7108 | <td class="paramkey"></td> |
philpem@5 | 7109 | <td></td> |
philpem@5 | 7110 | <td class="paramtype">const int </td> |
philpem@5 | 7111 | <td class="paramname"> <em>tx0</em>, </td> |
philpem@5 | 7112 | </tr> |
philpem@5 | 7113 | <tr> |
philpem@5 | 7114 | <td class="paramkey"></td> |
philpem@5 | 7115 | <td></td> |
philpem@5 | 7116 | <td class="paramtype">const int </td> |
philpem@5 | 7117 | <td class="paramname"> <em>ty0</em>, </td> |
philpem@5 | 7118 | </tr> |
philpem@5 | 7119 | <tr> |
philpem@5 | 7120 | <td class="paramkey"></td> |
philpem@5 | 7121 | <td></td> |
philpem@5 | 7122 | <td class="paramtype">const int </td> |
philpem@5 | 7123 | <td class="paramname"> <em>tx1</em>, </td> |
philpem@5 | 7124 | </tr> |
philpem@5 | 7125 | <tr> |
philpem@5 | 7126 | <td class="paramkey"></td> |
philpem@5 | 7127 | <td></td> |
philpem@5 | 7128 | <td class="paramtype">const int </td> |
philpem@5 | 7129 | <td class="paramname"> <em>ty1</em>, </td> |
philpem@5 | 7130 | </tr> |
philpem@5 | 7131 | <tr> |
philpem@5 | 7132 | <td class="paramkey"></td> |
philpem@5 | 7133 | <td></td> |
philpem@5 | 7134 | <td class="paramtype">const float </td> |
philpem@5 | 7135 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 7136 | </tr> |
philpem@5 | 7137 | <tr> |
philpem@5 | 7138 | <td class="paramkey"></td> |
philpem@5 | 7139 | <td></td> |
philpem@5 | 7140 | <td class="paramtype">const float </td> |
philpem@5 | 7141 | <td class="paramname"> <em>precision</em> = <code>4</code>, </td> |
philpem@5 | 7142 | </tr> |
philpem@5 | 7143 | <tr> |
philpem@5 | 7144 | <td class="paramkey"></td> |
philpem@5 | 7145 | <td></td> |
philpem@5 | 7146 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 7147 | <td class="paramname"> <em>pattern</em> = <code>~0U</code>, </td> |
philpem@5 | 7148 | </tr> |
philpem@5 | 7149 | <tr> |
philpem@5 | 7150 | <td class="paramkey"></td> |
philpem@5 | 7151 | <td></td> |
philpem@5 | 7152 | <td class="paramtype">const bool </td> |
philpem@5 | 7153 | <td class="paramname"> <em>init_hatch</em> = <code>true</code></td><td> </td> |
philpem@5 | 7154 | </tr> |
philpem@5 | 7155 | <tr> |
philpem@5 | 7156 | <td></td> |
philpem@5 | 7157 | <td>)</td> |
philpem@5 | 7158 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7159 | </tr> |
philpem@5 | 7160 | </table> |
philpem@5 | 7161 | </div> |
philpem@5 | 7162 | <div class="memdoc"> |
philpem@5 | 7163 | |
philpem@5 | 7164 | <p> |
philpem@5 | 7165 | Draw a cubic spline curve in the instance image. |
philpem@5 | 7166 | <p> |
philpem@5 | 7167 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7168 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7169 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the starting curve point </td></tr> |
philpem@5 | 7170 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the starting curve point </td></tr> |
philpem@5 | 7171 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>X-coordinate of the starting velocity </td></tr> |
philpem@5 | 7172 | <tr><td valign="top"></td><td valign="top"><em>v0</em> </td><td>Y-coordinate of the starting velocity </td></tr> |
philpem@5 | 7173 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the ending curve point </td></tr> |
philpem@5 | 7174 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the ending curve point </td></tr> |
philpem@5 | 7175 | <tr><td valign="top"></td><td valign="top"><em>u1</em> </td><td>X-coordinate of the ending velocity </td></tr> |
philpem@5 | 7176 | <tr><td valign="top"></td><td valign="top"><em>v1</em> </td><td>Y-coordinate of the ending velocity </td></tr> |
philpem@5 | 7177 | <tr><td valign="top"></td><td valign="top"><em>texture</em> </td><td>Texture image defining line pixel colors. </td></tr> |
philpem@5 | 7178 | <tr><td valign="top"></td><td valign="top"><em>tx0</em> </td><td>X-coordinate of the starting texture point. </td></tr> |
philpem@5 | 7179 | <tr><td valign="top"></td><td valign="top"><em>ty0</em> </td><td>Y-coordinate of the starting texture point. </td></tr> |
philpem@5 | 7180 | <tr><td valign="top"></td><td valign="top"><em>tx1</em> </td><td>X-coordinate of the ending texture point. </td></tr> |
philpem@5 | 7181 | <tr><td valign="top"></td><td valign="top"><em>ty1</em> </td><td>Y-coordinate of the ending texture point. </td></tr> |
philpem@5 | 7182 | <tr><td valign="top"></td><td valign="top"><em>precision</em> </td><td>Curve drawing precision (optional). </td></tr> |
philpem@5 | 7183 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 7184 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>An integer whose bits describe the line pattern (optional). </td></tr> |
philpem@5 | 7185 | <tr><td valign="top"></td><td valign="top"><em>init_hatch</em> </td><td>if <code>true</code>, reinit hatch motif. </td></tr> |
philpem@5 | 7186 | </table> |
philpem@5 | 7187 | </dl> |
philpem@5 | 7188 | |
philpem@5 | 7189 | </div> |
philpem@5 | 7190 | </div><p> |
philpem@5 | 7191 | <a class="anchor" name="4955c7a5a132072f634ed9832b783f83"></a><!-- doxytag: member="cimg_library::CImg::draw_arrow" ref="4955c7a5a132072f634ed9832b783f83" args="(const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1, const float angle=30, const float length=-10, const unsigned int pattern=~0U)" --> |
philpem@5 | 7192 | <div class="memitem"> |
philpem@5 | 7193 | <div class="memproto"> |
philpem@5 | 7194 | <table class="memname"> |
philpem@5 | 7195 | <tr> |
philpem@5 | 7196 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_arrow </td> |
philpem@5 | 7197 | <td>(</td> |
philpem@5 | 7198 | <td class="paramtype">const int </td> |
philpem@5 | 7199 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7200 | </tr> |
philpem@5 | 7201 | <tr> |
philpem@5 | 7202 | <td class="paramkey"></td> |
philpem@5 | 7203 | <td></td> |
philpem@5 | 7204 | <td class="paramtype">const int </td> |
philpem@5 | 7205 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7206 | </tr> |
philpem@5 | 7207 | <tr> |
philpem@5 | 7208 | <td class="paramkey"></td> |
philpem@5 | 7209 | <td></td> |
philpem@5 | 7210 | <td class="paramtype">const int </td> |
philpem@5 | 7211 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7212 | </tr> |
philpem@5 | 7213 | <tr> |
philpem@5 | 7214 | <td class="paramkey"></td> |
philpem@5 | 7215 | <td></td> |
philpem@5 | 7216 | <td class="paramtype">const int </td> |
philpem@5 | 7217 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7218 | </tr> |
philpem@5 | 7219 | <tr> |
philpem@5 | 7220 | <td class="paramkey"></td> |
philpem@5 | 7221 | <td></td> |
philpem@5 | 7222 | <td class="paramtype">const tc *const </td> |
philpem@5 | 7223 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 7224 | </tr> |
philpem@5 | 7225 | <tr> |
philpem@5 | 7226 | <td class="paramkey"></td> |
philpem@5 | 7227 | <td></td> |
philpem@5 | 7228 | <td class="paramtype">const float </td> |
philpem@5 | 7229 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 7230 | </tr> |
philpem@5 | 7231 | <tr> |
philpem@5 | 7232 | <td class="paramkey"></td> |
philpem@5 | 7233 | <td></td> |
philpem@5 | 7234 | <td class="paramtype">const float </td> |
philpem@5 | 7235 | <td class="paramname"> <em>angle</em> = <code>30</code>, </td> |
philpem@5 | 7236 | </tr> |
philpem@5 | 7237 | <tr> |
philpem@5 | 7238 | <td class="paramkey"></td> |
philpem@5 | 7239 | <td></td> |
philpem@5 | 7240 | <td class="paramtype">const float </td> |
philpem@5 | 7241 | <td class="paramname"> <em>length</em> = <code>-10</code>, </td> |
philpem@5 | 7242 | </tr> |
philpem@5 | 7243 | <tr> |
philpem@5 | 7244 | <td class="paramkey"></td> |
philpem@5 | 7245 | <td></td> |
philpem@5 | 7246 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 7247 | <td class="paramname"> <em>pattern</em> = <code>~0U</code></td><td> </td> |
philpem@5 | 7248 | </tr> |
philpem@5 | 7249 | <tr> |
philpem@5 | 7250 | <td></td> |
philpem@5 | 7251 | <td>)</td> |
philpem@5 | 7252 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7253 | </tr> |
philpem@5 | 7254 | </table> |
philpem@5 | 7255 | </div> |
philpem@5 | 7256 | <div class="memdoc"> |
philpem@5 | 7257 | |
philpem@5 | 7258 | <p> |
philpem@5 | 7259 | Draw a colored arrow in the instance image. |
philpem@5 | 7260 | <p> |
philpem@5 | 7261 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7262 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7263 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the starting arrow point (tail). </td></tr> |
philpem@5 | 7264 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the starting arrow point (tail). </td></tr> |
philpem@5 | 7265 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the ending arrow point (head). </td></tr> |
philpem@5 | 7266 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the ending arrow point (head). </td></tr> |
philpem@5 | 7267 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 7268 | <tr><td valign="top"></td><td valign="top"><em>angle</em> </td><td>Aperture angle of the arrow head (optional). </td></tr> |
philpem@5 | 7269 | <tr><td valign="top"></td><td valign="top"><em>length</em> </td><td>Length of the arrow head. If negative, describes a percentage of the arrow length (optional). </td></tr> |
philpem@5 | 7270 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 7271 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>An integer whose bits describe the line pattern (optional). </td></tr> |
philpem@5 | 7272 | </table> |
philpem@5 | 7273 | </dl> |
philpem@5 | 7274 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 7275 | <li>Clipping is supported. </li></ul> |
philpem@5 | 7276 | </dd></dl> |
philpem@5 | 7277 | |
philpem@5 | 7278 | </div> |
philpem@5 | 7279 | </div><p> |
philpem@5 | 7280 | <a class="anchor" name="2262bc9cfece26084c7223bf74ad63d5"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="2262bc9cfece26084c7223bf74ad63d5" args="(const int x0, const int y0, const int z0, const int v0, const CImg< t > &sprite, const float opacity=1)" --> |
philpem@5 | 7281 | <div class="memitem"> |
philpem@5 | 7282 | <div class="memproto"> |
philpem@5 | 7283 | <table class="memname"> |
philpem@5 | 7284 | <tr> |
philpem@5 | 7285 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_image </td> |
philpem@5 | 7286 | <td>(</td> |
philpem@5 | 7287 | <td class="paramtype">const int </td> |
philpem@5 | 7288 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7289 | </tr> |
philpem@5 | 7290 | <tr> |
philpem@5 | 7291 | <td class="paramkey"></td> |
philpem@5 | 7292 | <td></td> |
philpem@5 | 7293 | <td class="paramtype">const int </td> |
philpem@5 | 7294 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7295 | </tr> |
philpem@5 | 7296 | <tr> |
philpem@5 | 7297 | <td class="paramkey"></td> |
philpem@5 | 7298 | <td></td> |
philpem@5 | 7299 | <td class="paramtype">const int </td> |
philpem@5 | 7300 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 7301 | </tr> |
philpem@5 | 7302 | <tr> |
philpem@5 | 7303 | <td class="paramkey"></td> |
philpem@5 | 7304 | <td></td> |
philpem@5 | 7305 | <td class="paramtype">const int </td> |
philpem@5 | 7306 | <td class="paramname"> <em>v0</em>, </td> |
philpem@5 | 7307 | </tr> |
philpem@5 | 7308 | <tr> |
philpem@5 | 7309 | <td class="paramkey"></td> |
philpem@5 | 7310 | <td></td> |
philpem@5 | 7311 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 7312 | <td class="paramname"> <em>sprite</em>, </td> |
philpem@5 | 7313 | </tr> |
philpem@5 | 7314 | <tr> |
philpem@5 | 7315 | <td class="paramkey"></td> |
philpem@5 | 7316 | <td></td> |
philpem@5 | 7317 | <td class="paramtype">const float </td> |
philpem@5 | 7318 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 7319 | </tr> |
philpem@5 | 7320 | <tr> |
philpem@5 | 7321 | <td></td> |
philpem@5 | 7322 | <td>)</td> |
philpem@5 | 7323 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7324 | </tr> |
philpem@5 | 7325 | </table> |
philpem@5 | 7326 | </div> |
philpem@5 | 7327 | <div class="memdoc"> |
philpem@5 | 7328 | |
philpem@5 | 7329 | <p> |
philpem@5 | 7330 | Draw an image. |
philpem@5 | 7331 | <p> |
philpem@5 | 7332 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7333 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7334 | <tr><td valign="top"></td><td valign="top"><em>sprite</em> </td><td>Sprite image. </td></tr> |
philpem@5 | 7335 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the sprite position. </td></tr> |
philpem@5 | 7336 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the sprite position. </td></tr> |
philpem@5 | 7337 | <tr><td valign="top"></td><td valign="top"><em>z0</em> </td><td>Z-coordinate of the sprite position. </td></tr> |
philpem@5 | 7338 | <tr><td valign="top"></td><td valign="top"><em>v0</em> </td><td>V-coordinate of the sprite position. </td></tr> |
philpem@5 | 7339 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 7340 | </table> |
philpem@5 | 7341 | </dl> |
philpem@5 | 7342 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 7343 | <li>Clipping is supported. </li></ul> |
philpem@5 | 7344 | </dd></dl> |
philpem@5 | 7345 | |
philpem@5 | 7346 | </div> |
philpem@5 | 7347 | </div><p> |
philpem@5 | 7348 | <a class="anchor" name="140588221208998117e0681720183517"></a><!-- doxytag: member="cimg_library::CImg::draw_image" ref="140588221208998117e0681720183517" args="(const int x0, const int y0, const int z0, const int v0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1)" --> |
philpem@5 | 7349 | <div class="memitem"> |
philpem@5 | 7350 | <div class="memproto"> |
philpem@5 | 7351 | <table class="memname"> |
philpem@5 | 7352 | <tr> |
philpem@5 | 7353 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_image </td> |
philpem@5 | 7354 | <td>(</td> |
philpem@5 | 7355 | <td class="paramtype">const int </td> |
philpem@5 | 7356 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7357 | </tr> |
philpem@5 | 7358 | <tr> |
philpem@5 | 7359 | <td class="paramkey"></td> |
philpem@5 | 7360 | <td></td> |
philpem@5 | 7361 | <td class="paramtype">const int </td> |
philpem@5 | 7362 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7363 | </tr> |
philpem@5 | 7364 | <tr> |
philpem@5 | 7365 | <td class="paramkey"></td> |
philpem@5 | 7366 | <td></td> |
philpem@5 | 7367 | <td class="paramtype">const int </td> |
philpem@5 | 7368 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 7369 | </tr> |
philpem@5 | 7370 | <tr> |
philpem@5 | 7371 | <td class="paramkey"></td> |
philpem@5 | 7372 | <td></td> |
philpem@5 | 7373 | <td class="paramtype">const int </td> |
philpem@5 | 7374 | <td class="paramname"> <em>v0</em>, </td> |
philpem@5 | 7375 | </tr> |
philpem@5 | 7376 | <tr> |
philpem@5 | 7377 | <td class="paramkey"></td> |
philpem@5 | 7378 | <td></td> |
philpem@5 | 7379 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< ti > & </td> |
philpem@5 | 7380 | <td class="paramname"> <em>sprite</em>, </td> |
philpem@5 | 7381 | </tr> |
philpem@5 | 7382 | <tr> |
philpem@5 | 7383 | <td class="paramkey"></td> |
philpem@5 | 7384 | <td></td> |
philpem@5 | 7385 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > & </td> |
philpem@5 | 7386 | <td class="paramname"> <em>mask</em>, </td> |
philpem@5 | 7387 | </tr> |
philpem@5 | 7388 | <tr> |
philpem@5 | 7389 | <td class="paramkey"></td> |
philpem@5 | 7390 | <td></td> |
philpem@5 | 7391 | <td class="paramtype">const float </td> |
philpem@5 | 7392 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 7393 | </tr> |
philpem@5 | 7394 | <tr> |
philpem@5 | 7395 | <td class="paramkey"></td> |
philpem@5 | 7396 | <td></td> |
philpem@5 | 7397 | <td class="paramtype">const float </td> |
philpem@5 | 7398 | <td class="paramname"> <em>mask_valmax</em> = <code>1</code></td><td> </td> |
philpem@5 | 7399 | </tr> |
philpem@5 | 7400 | <tr> |
philpem@5 | 7401 | <td></td> |
philpem@5 | 7402 | <td>)</td> |
philpem@5 | 7403 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7404 | </tr> |
philpem@5 | 7405 | </table> |
philpem@5 | 7406 | </div> |
philpem@5 | 7407 | <div class="memdoc"> |
philpem@5 | 7408 | |
philpem@5 | 7409 | <p> |
philpem@5 | 7410 | Draw a sprite image in the instance image (masked version). |
philpem@5 | 7411 | <p> |
philpem@5 | 7412 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7413 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7414 | <tr><td valign="top"></td><td valign="top"><em>sprite</em> </td><td>Sprite image. </td></tr> |
philpem@5 | 7415 | <tr><td valign="top"></td><td valign="top"><em>mask</em> </td><td>Mask image. </td></tr> |
philpem@5 | 7416 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the sprite position in the instance image. </td></tr> |
philpem@5 | 7417 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the sprite position in the instance image. </td></tr> |
philpem@5 | 7418 | <tr><td valign="top"></td><td valign="top"><em>z0</em> </td><td>Z-coordinate of the sprite position in the instance image. </td></tr> |
philpem@5 | 7419 | <tr><td valign="top"></td><td valign="top"><em>v0</em> </td><td>V-coordinate of the sprite position in the instance image. </td></tr> |
philpem@5 | 7420 | <tr><td valign="top"></td><td valign="top"><em>mask_valmax</em> </td><td>Maximum pixel value of the mask image <code>mask</code> (optional). </td></tr> |
philpem@5 | 7421 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity. </td></tr> |
philpem@5 | 7422 | </table> |
philpem@5 | 7423 | </dl> |
philpem@5 | 7424 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 7425 | <li>Pixel values of <code>mask</code> set the opacity of the corresponding pixels in <code>sprite</code>.</li><li>Clipping is supported.</li><li>Dimensions along x,y and z of <code>sprite</code> and <code>mask</code> must be the same. </li></ul> |
philpem@5 | 7426 | </dd></dl> |
philpem@5 | 7427 | |
philpem@5 | 7428 | </div> |
philpem@5 | 7429 | </div><p> |
philpem@5 | 7430 | <a class="anchor" name="3a0aacdf713ed19c5efc4a929f73d597"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="3a0aacdf713ed19c5efc4a929f73d597" args="(const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1, const T val, const float opacity=1)" --> |
philpem@5 | 7431 | <div class="memitem"> |
philpem@5 | 7432 | <div class="memproto"> |
philpem@5 | 7433 | <table class="memname"> |
philpem@5 | 7434 | <tr> |
philpem@5 | 7435 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_rectangle </td> |
philpem@5 | 7436 | <td>(</td> |
philpem@5 | 7437 | <td class="paramtype">const int </td> |
philpem@5 | 7438 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7439 | </tr> |
philpem@5 | 7440 | <tr> |
philpem@5 | 7441 | <td class="paramkey"></td> |
philpem@5 | 7442 | <td></td> |
philpem@5 | 7443 | <td class="paramtype">const int </td> |
philpem@5 | 7444 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7445 | </tr> |
philpem@5 | 7446 | <tr> |
philpem@5 | 7447 | <td class="paramkey"></td> |
philpem@5 | 7448 | <td></td> |
philpem@5 | 7449 | <td class="paramtype">const int </td> |
philpem@5 | 7450 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 7451 | </tr> |
philpem@5 | 7452 | <tr> |
philpem@5 | 7453 | <td class="paramkey"></td> |
philpem@5 | 7454 | <td></td> |
philpem@5 | 7455 | <td class="paramtype">const int </td> |
philpem@5 | 7456 | <td class="paramname"> <em>v0</em>, </td> |
philpem@5 | 7457 | </tr> |
philpem@5 | 7458 | <tr> |
philpem@5 | 7459 | <td class="paramkey"></td> |
philpem@5 | 7460 | <td></td> |
philpem@5 | 7461 | <td class="paramtype">const int </td> |
philpem@5 | 7462 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7463 | </tr> |
philpem@5 | 7464 | <tr> |
philpem@5 | 7465 | <td class="paramkey"></td> |
philpem@5 | 7466 | <td></td> |
philpem@5 | 7467 | <td class="paramtype">const int </td> |
philpem@5 | 7468 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7469 | </tr> |
philpem@5 | 7470 | <tr> |
philpem@5 | 7471 | <td class="paramkey"></td> |
philpem@5 | 7472 | <td></td> |
philpem@5 | 7473 | <td class="paramtype">const int </td> |
philpem@5 | 7474 | <td class="paramname"> <em>z1</em>, </td> |
philpem@5 | 7475 | </tr> |
philpem@5 | 7476 | <tr> |
philpem@5 | 7477 | <td class="paramkey"></td> |
philpem@5 | 7478 | <td></td> |
philpem@5 | 7479 | <td class="paramtype">const int </td> |
philpem@5 | 7480 | <td class="paramname"> <em>v1</em>, </td> |
philpem@5 | 7481 | </tr> |
philpem@5 | 7482 | <tr> |
philpem@5 | 7483 | <td class="paramkey"></td> |
philpem@5 | 7484 | <td></td> |
philpem@5 | 7485 | <td class="paramtype">const T </td> |
philpem@5 | 7486 | <td class="paramname"> <em>val</em>, </td> |
philpem@5 | 7487 | </tr> |
philpem@5 | 7488 | <tr> |
philpem@5 | 7489 | <td class="paramkey"></td> |
philpem@5 | 7490 | <td></td> |
philpem@5 | 7491 | <td class="paramtype">const float </td> |
philpem@5 | 7492 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 7493 | </tr> |
philpem@5 | 7494 | <tr> |
philpem@5 | 7495 | <td></td> |
philpem@5 | 7496 | <td>)</td> |
philpem@5 | 7497 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7498 | </tr> |
philpem@5 | 7499 | </table> |
philpem@5 | 7500 | </div> |
philpem@5 | 7501 | <div class="memdoc"> |
philpem@5 | 7502 | |
philpem@5 | 7503 | <p> |
philpem@5 | 7504 | Draw a 4D filled rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>,<code>z0</code>,<code>v0</code>)-(<code>x1</code>,<code>y1</code>,<code>z1</code>,<code>v1</code>). |
philpem@5 | 7505 | <p> |
philpem@5 | 7506 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7507 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7508 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7509 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7510 | <tr><td valign="top"></td><td valign="top"><em>z0</em> </td><td>Z-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7511 | <tr><td valign="top"></td><td valign="top"><em>v0</em> </td><td>V-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7512 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7513 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7514 | <tr><td valign="top"></td><td valign="top"><em>z1</em> </td><td>Z-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7515 | <tr><td valign="top"></td><td valign="top"><em>v1</em> </td><td>V-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7516 | <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>Scalar value used to fill the rectangle area. </td></tr> |
philpem@5 | 7517 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 7518 | </table> |
philpem@5 | 7519 | </dl> |
philpem@5 | 7520 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 7521 | <li>Clipping is supported. </li></ul> |
philpem@5 | 7522 | </dd></dl> |
philpem@5 | 7523 | |
philpem@5 | 7524 | </div> |
philpem@5 | 7525 | </div><p> |
philpem@5 | 7526 | <a class="anchor" name="99614589c3d114e81db5eb6efc322e0c"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="99614589c3d114e81db5eb6efc322e0c" args="(const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity=1)" --> |
philpem@5 | 7527 | <div class="memitem"> |
philpem@5 | 7528 | <div class="memproto"> |
philpem@5 | 7529 | <table class="memname"> |
philpem@5 | 7530 | <tr> |
philpem@5 | 7531 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_rectangle </td> |
philpem@5 | 7532 | <td>(</td> |
philpem@5 | 7533 | <td class="paramtype">const int </td> |
philpem@5 | 7534 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7535 | </tr> |
philpem@5 | 7536 | <tr> |
philpem@5 | 7537 | <td class="paramkey"></td> |
philpem@5 | 7538 | <td></td> |
philpem@5 | 7539 | <td class="paramtype">const int </td> |
philpem@5 | 7540 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7541 | </tr> |
philpem@5 | 7542 | <tr> |
philpem@5 | 7543 | <td class="paramkey"></td> |
philpem@5 | 7544 | <td></td> |
philpem@5 | 7545 | <td class="paramtype">const int </td> |
philpem@5 | 7546 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 7547 | </tr> |
philpem@5 | 7548 | <tr> |
philpem@5 | 7549 | <td class="paramkey"></td> |
philpem@5 | 7550 | <td></td> |
philpem@5 | 7551 | <td class="paramtype">const int </td> |
philpem@5 | 7552 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7553 | </tr> |
philpem@5 | 7554 | <tr> |
philpem@5 | 7555 | <td class="paramkey"></td> |
philpem@5 | 7556 | <td></td> |
philpem@5 | 7557 | <td class="paramtype">const int </td> |
philpem@5 | 7558 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7559 | </tr> |
philpem@5 | 7560 | <tr> |
philpem@5 | 7561 | <td class="paramkey"></td> |
philpem@5 | 7562 | <td></td> |
philpem@5 | 7563 | <td class="paramtype">const int </td> |
philpem@5 | 7564 | <td class="paramname"> <em>z1</em>, </td> |
philpem@5 | 7565 | </tr> |
philpem@5 | 7566 | <tr> |
philpem@5 | 7567 | <td class="paramkey"></td> |
philpem@5 | 7568 | <td></td> |
philpem@5 | 7569 | <td class="paramtype">const tc *const </td> |
philpem@5 | 7570 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 7571 | </tr> |
philpem@5 | 7572 | <tr> |
philpem@5 | 7573 | <td class="paramkey"></td> |
philpem@5 | 7574 | <td></td> |
philpem@5 | 7575 | <td class="paramtype">const float </td> |
philpem@5 | 7576 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 7577 | </tr> |
philpem@5 | 7578 | <tr> |
philpem@5 | 7579 | <td></td> |
philpem@5 | 7580 | <td>)</td> |
philpem@5 | 7581 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7582 | </tr> |
philpem@5 | 7583 | </table> |
philpem@5 | 7584 | </div> |
philpem@5 | 7585 | <div class="memdoc"> |
philpem@5 | 7586 | |
philpem@5 | 7587 | <p> |
philpem@5 | 7588 | Draw a 3D filled colored rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>,<code>z0</code>)-(<code>x1</code>,<code>y1</code>,<code>z1</code>). |
philpem@5 | 7589 | <p> |
philpem@5 | 7590 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7591 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7592 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7593 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7594 | <tr><td valign="top"></td><td valign="top"><em>z0</em> </td><td>Z-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7595 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7596 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7597 | <tr><td valign="top"></td><td valign="top"><em>z1</em> </td><td>Z-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7598 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 7599 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 7600 | </table> |
philpem@5 | 7601 | </dl> |
philpem@5 | 7602 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 7603 | <li>Clipping is supported. </li></ul> |
philpem@5 | 7604 | </dd></dl> |
philpem@5 | 7605 | |
philpem@5 | 7606 | </div> |
philpem@5 | 7607 | </div><p> |
philpem@5 | 7608 | <a class="anchor" name="08ff5543ae717bdbc4ccda3ca9d463ee"></a><!-- doxytag: member="cimg_library::CImg::draw_rectangle" ref="08ff5543ae717bdbc4ccda3ca9d463ee" args="(const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1)" --> |
philpem@5 | 7609 | <div class="memitem"> |
philpem@5 | 7610 | <div class="memproto"> |
philpem@5 | 7611 | <table class="memname"> |
philpem@5 | 7612 | <tr> |
philpem@5 | 7613 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_rectangle </td> |
philpem@5 | 7614 | <td>(</td> |
philpem@5 | 7615 | <td class="paramtype">const int </td> |
philpem@5 | 7616 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7617 | </tr> |
philpem@5 | 7618 | <tr> |
philpem@5 | 7619 | <td class="paramkey"></td> |
philpem@5 | 7620 | <td></td> |
philpem@5 | 7621 | <td class="paramtype">const int </td> |
philpem@5 | 7622 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7623 | </tr> |
philpem@5 | 7624 | <tr> |
philpem@5 | 7625 | <td class="paramkey"></td> |
philpem@5 | 7626 | <td></td> |
philpem@5 | 7627 | <td class="paramtype">const int </td> |
philpem@5 | 7628 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7629 | </tr> |
philpem@5 | 7630 | <tr> |
philpem@5 | 7631 | <td class="paramkey"></td> |
philpem@5 | 7632 | <td></td> |
philpem@5 | 7633 | <td class="paramtype">const int </td> |
philpem@5 | 7634 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7635 | </tr> |
philpem@5 | 7636 | <tr> |
philpem@5 | 7637 | <td class="paramkey"></td> |
philpem@5 | 7638 | <td></td> |
philpem@5 | 7639 | <td class="paramtype">const tc *const </td> |
philpem@5 | 7640 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 7641 | </tr> |
philpem@5 | 7642 | <tr> |
philpem@5 | 7643 | <td class="paramkey"></td> |
philpem@5 | 7644 | <td></td> |
philpem@5 | 7645 | <td class="paramtype">const float </td> |
philpem@5 | 7646 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 7647 | </tr> |
philpem@5 | 7648 | <tr> |
philpem@5 | 7649 | <td></td> |
philpem@5 | 7650 | <td>)</td> |
philpem@5 | 7651 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7652 | </tr> |
philpem@5 | 7653 | </table> |
philpem@5 | 7654 | </div> |
philpem@5 | 7655 | <div class="memdoc"> |
philpem@5 | 7656 | |
philpem@5 | 7657 | <p> |
philpem@5 | 7658 | Draw a 2D filled colored rectangle in the instance image, at coordinates (<code>x0</code>,<code>y0</code>)-(<code>x1</code>,<code>y1</code>). |
philpem@5 | 7659 | <p> |
philpem@5 | 7660 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7661 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7662 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7663 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the upper-left rectangle corner. </td></tr> |
philpem@5 | 7664 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>X-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7665 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Y-coordinate of the lower-right rectangle corner. </td></tr> |
philpem@5 | 7666 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Pointer to <code><a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a></code> consecutive values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 7667 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity (optional). </td></tr> |
philpem@5 | 7668 | </table> |
philpem@5 | 7669 | </dl> |
philpem@5 | 7670 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 7671 | <li>Clipping is supported. </li></ul> |
philpem@5 | 7672 | </dd></dl> |
philpem@5 | 7673 | |
philpem@5 | 7674 | </div> |
philpem@5 | 7675 | </div><p> |
philpem@5 | 7676 | <a class="anchor" name="6fedec577cb8971fed8d1f3a039d3aac"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="6fedec577cb8971fed8d1f3a039d3aac" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)" --> |
philpem@5 | 7677 | <div class="memitem"> |
philpem@5 | 7678 | <div class="memproto"> |
philpem@5 | 7679 | <table class="memname"> |
philpem@5 | 7680 | <tr> |
philpem@5 | 7681 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_triangle </td> |
philpem@5 | 7682 | <td>(</td> |
philpem@5 | 7683 | <td class="paramtype">const int </td> |
philpem@5 | 7684 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7685 | </tr> |
philpem@5 | 7686 | <tr> |
philpem@5 | 7687 | <td class="paramkey"></td> |
philpem@5 | 7688 | <td></td> |
philpem@5 | 7689 | <td class="paramtype">const int </td> |
philpem@5 | 7690 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7691 | </tr> |
philpem@5 | 7692 | <tr> |
philpem@5 | 7693 | <td class="paramkey"></td> |
philpem@5 | 7694 | <td></td> |
philpem@5 | 7695 | <td class="paramtype">const int </td> |
philpem@5 | 7696 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7697 | </tr> |
philpem@5 | 7698 | <tr> |
philpem@5 | 7699 | <td class="paramkey"></td> |
philpem@5 | 7700 | <td></td> |
philpem@5 | 7701 | <td class="paramtype">const int </td> |
philpem@5 | 7702 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7703 | </tr> |
philpem@5 | 7704 | <tr> |
philpem@5 | 7705 | <td class="paramkey"></td> |
philpem@5 | 7706 | <td></td> |
philpem@5 | 7707 | <td class="paramtype">const int </td> |
philpem@5 | 7708 | <td class="paramname"> <em>x2</em>, </td> |
philpem@5 | 7709 | </tr> |
philpem@5 | 7710 | <tr> |
philpem@5 | 7711 | <td class="paramkey"></td> |
philpem@5 | 7712 | <td></td> |
philpem@5 | 7713 | <td class="paramtype">const int </td> |
philpem@5 | 7714 | <td class="paramname"> <em>y2</em>, </td> |
philpem@5 | 7715 | </tr> |
philpem@5 | 7716 | <tr> |
philpem@5 | 7717 | <td class="paramkey"></td> |
philpem@5 | 7718 | <td></td> |
philpem@5 | 7719 | <td class="paramtype">const tc *const </td> |
philpem@5 | 7720 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 7721 | </tr> |
philpem@5 | 7722 | <tr> |
philpem@5 | 7723 | <td class="paramkey"></td> |
philpem@5 | 7724 | <td></td> |
philpem@5 | 7725 | <td class="paramtype">const float </td> |
philpem@5 | 7726 | <td class="paramname"> <em>brightness0</em>, </td> |
philpem@5 | 7727 | </tr> |
philpem@5 | 7728 | <tr> |
philpem@5 | 7729 | <td class="paramkey"></td> |
philpem@5 | 7730 | <td></td> |
philpem@5 | 7731 | <td class="paramtype">const float </td> |
philpem@5 | 7732 | <td class="paramname"> <em>brightness1</em>, </td> |
philpem@5 | 7733 | </tr> |
philpem@5 | 7734 | <tr> |
philpem@5 | 7735 | <td class="paramkey"></td> |
philpem@5 | 7736 | <td></td> |
philpem@5 | 7737 | <td class="paramtype">const float </td> |
philpem@5 | 7738 | <td class="paramname"> <em>brightness2</em>, </td> |
philpem@5 | 7739 | </tr> |
philpem@5 | 7740 | <tr> |
philpem@5 | 7741 | <td class="paramkey"></td> |
philpem@5 | 7742 | <td></td> |
philpem@5 | 7743 | <td class="paramtype">const float </td> |
philpem@5 | 7744 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 7745 | </tr> |
philpem@5 | 7746 | <tr> |
philpem@5 | 7747 | <td></td> |
philpem@5 | 7748 | <td>)</td> |
philpem@5 | 7749 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7750 | </tr> |
philpem@5 | 7751 | </table> |
philpem@5 | 7752 | </div> |
philpem@5 | 7753 | <div class="memdoc"> |
philpem@5 | 7754 | |
philpem@5 | 7755 | <p> |
philpem@5 | 7756 | Draw a 2D Gouraud-shaded colored triangle. |
philpem@5 | 7757 | <p> |
philpem@5 | 7758 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7759 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7760 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 7761 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 7762 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 7763 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 7764 | <tr><td valign="top"></td><td valign="top"><em>x2</em> </td><td>= X-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 7765 | <tr><td valign="top"></td><td valign="top"><em>y2</em> </td><td>= Y-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 7766 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the global drawing color. </td></tr> |
philpem@5 | 7767 | <tr><td valign="top"></td><td valign="top"><em>brightness0</em> </td><td>= brightness of the first corner (in [0,2]). </td></tr> |
philpem@5 | 7768 | <tr><td valign="top"></td><td valign="top"><em>brightness1</em> </td><td>= brightness of the second corner (in [0,2]). </td></tr> |
philpem@5 | 7769 | <tr><td valign="top"></td><td valign="top"><em>brightness2</em> </td><td>= brightness of the third corner (in [0,2]). </td></tr> |
philpem@5 | 7770 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 7771 | </table> |
philpem@5 | 7772 | </dl> |
philpem@5 | 7773 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported. </dd></dl> |
philpem@5 | 7774 | |
philpem@5 | 7775 | </div> |
philpem@5 | 7776 | </div><p> |
philpem@5 | 7777 | <a class="anchor" name="ed9f231a2586832f9e3edbab43dba19f"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="ed9f231a2586832f9e3edbab43dba19f" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1)" --> |
philpem@5 | 7778 | <div class="memitem"> |
philpem@5 | 7779 | <div class="memproto"> |
philpem@5 | 7780 | <table class="memname"> |
philpem@5 | 7781 | <tr> |
philpem@5 | 7782 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_triangle </td> |
philpem@5 | 7783 | <td>(</td> |
philpem@5 | 7784 | <td class="paramtype">const int </td> |
philpem@5 | 7785 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7786 | </tr> |
philpem@5 | 7787 | <tr> |
philpem@5 | 7788 | <td class="paramkey"></td> |
philpem@5 | 7789 | <td></td> |
philpem@5 | 7790 | <td class="paramtype">const int </td> |
philpem@5 | 7791 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7792 | </tr> |
philpem@5 | 7793 | <tr> |
philpem@5 | 7794 | <td class="paramkey"></td> |
philpem@5 | 7795 | <td></td> |
philpem@5 | 7796 | <td class="paramtype">const int </td> |
philpem@5 | 7797 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7798 | </tr> |
philpem@5 | 7799 | <tr> |
philpem@5 | 7800 | <td class="paramkey"></td> |
philpem@5 | 7801 | <td></td> |
philpem@5 | 7802 | <td class="paramtype">const int </td> |
philpem@5 | 7803 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7804 | </tr> |
philpem@5 | 7805 | <tr> |
philpem@5 | 7806 | <td class="paramkey"></td> |
philpem@5 | 7807 | <td></td> |
philpem@5 | 7808 | <td class="paramtype">const int </td> |
philpem@5 | 7809 | <td class="paramname"> <em>x2</em>, </td> |
philpem@5 | 7810 | </tr> |
philpem@5 | 7811 | <tr> |
philpem@5 | 7812 | <td class="paramkey"></td> |
philpem@5 | 7813 | <td></td> |
philpem@5 | 7814 | <td class="paramtype">const int </td> |
philpem@5 | 7815 | <td class="paramname"> <em>y2</em>, </td> |
philpem@5 | 7816 | </tr> |
philpem@5 | 7817 | <tr> |
philpem@5 | 7818 | <td class="paramkey"></td> |
philpem@5 | 7819 | <td></td> |
philpem@5 | 7820 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > & </td> |
philpem@5 | 7821 | <td class="paramname"> <em>texture</em>, </td> |
philpem@5 | 7822 | </tr> |
philpem@5 | 7823 | <tr> |
philpem@5 | 7824 | <td class="paramkey"></td> |
philpem@5 | 7825 | <td></td> |
philpem@5 | 7826 | <td class="paramtype">const int </td> |
philpem@5 | 7827 | <td class="paramname"> <em>tx0</em>, </td> |
philpem@5 | 7828 | </tr> |
philpem@5 | 7829 | <tr> |
philpem@5 | 7830 | <td class="paramkey"></td> |
philpem@5 | 7831 | <td></td> |
philpem@5 | 7832 | <td class="paramtype">const int </td> |
philpem@5 | 7833 | <td class="paramname"> <em>ty0</em>, </td> |
philpem@5 | 7834 | </tr> |
philpem@5 | 7835 | <tr> |
philpem@5 | 7836 | <td class="paramkey"></td> |
philpem@5 | 7837 | <td></td> |
philpem@5 | 7838 | <td class="paramtype">const int </td> |
philpem@5 | 7839 | <td class="paramname"> <em>tx1</em>, </td> |
philpem@5 | 7840 | </tr> |
philpem@5 | 7841 | <tr> |
philpem@5 | 7842 | <td class="paramkey"></td> |
philpem@5 | 7843 | <td></td> |
philpem@5 | 7844 | <td class="paramtype">const int </td> |
philpem@5 | 7845 | <td class="paramname"> <em>ty1</em>, </td> |
philpem@5 | 7846 | </tr> |
philpem@5 | 7847 | <tr> |
philpem@5 | 7848 | <td class="paramkey"></td> |
philpem@5 | 7849 | <td></td> |
philpem@5 | 7850 | <td class="paramtype">const int </td> |
philpem@5 | 7851 | <td class="paramname"> <em>tx2</em>, </td> |
philpem@5 | 7852 | </tr> |
philpem@5 | 7853 | <tr> |
philpem@5 | 7854 | <td class="paramkey"></td> |
philpem@5 | 7855 | <td></td> |
philpem@5 | 7856 | <td class="paramtype">const int </td> |
philpem@5 | 7857 | <td class="paramname"> <em>ty2</em>, </td> |
philpem@5 | 7858 | </tr> |
philpem@5 | 7859 | <tr> |
philpem@5 | 7860 | <td class="paramkey"></td> |
philpem@5 | 7861 | <td></td> |
philpem@5 | 7862 | <td class="paramtype">const float </td> |
philpem@5 | 7863 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 7864 | </tr> |
philpem@5 | 7865 | <tr> |
philpem@5 | 7866 | <td class="paramkey"></td> |
philpem@5 | 7867 | <td></td> |
philpem@5 | 7868 | <td class="paramtype">const float </td> |
philpem@5 | 7869 | <td class="paramname"> <em>brightness</em> = <code>1</code></td><td> </td> |
philpem@5 | 7870 | </tr> |
philpem@5 | 7871 | <tr> |
philpem@5 | 7872 | <td></td> |
philpem@5 | 7873 | <td>)</td> |
philpem@5 | 7874 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 7875 | </tr> |
philpem@5 | 7876 | </table> |
philpem@5 | 7877 | </div> |
philpem@5 | 7878 | <div class="memdoc"> |
philpem@5 | 7879 | |
philpem@5 | 7880 | <p> |
philpem@5 | 7881 | Draw a 2D textured triangle. |
philpem@5 | 7882 | <p> |
philpem@5 | 7883 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 7884 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 7885 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 7886 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 7887 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 7888 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 7889 | <tr><td valign="top"></td><td valign="top"><em>x2</em> </td><td>= X-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 7890 | <tr><td valign="top"></td><td valign="top"><em>y2</em> </td><td>= Y-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 7891 | <tr><td valign="top"></td><td valign="top"><em>texture</em> </td><td>= texture image used to fill the triangle. </td></tr> |
philpem@5 | 7892 | <tr><td valign="top"></td><td valign="top"><em>tx0</em> </td><td>= X-coordinate of the first corner in the texture image. </td></tr> |
philpem@5 | 7893 | <tr><td valign="top"></td><td valign="top"><em>ty0</em> </td><td>= Y-coordinate of the first corner in the texture image. </td></tr> |
philpem@5 | 7894 | <tr><td valign="top"></td><td valign="top"><em>tx1</em> </td><td>= X-coordinate of the second corner in the texture image. </td></tr> |
philpem@5 | 7895 | <tr><td valign="top"></td><td valign="top"><em>ty1</em> </td><td>= Y-coordinate of the second corner in the texture image. </td></tr> |
philpem@5 | 7896 | <tr><td valign="top"></td><td valign="top"><em>tx2</em> </td><td>= X-coordinate of the third corner in the texture image. </td></tr> |
philpem@5 | 7897 | <tr><td valign="top"></td><td valign="top"><em>ty2</em> </td><td>= Y-coordinate of the third corner in the texture image. </td></tr> |
philpem@5 | 7898 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 7899 | <tr><td valign="top"></td><td valign="top"><em>brightness</em> </td><td>= brightness of the drawing (in [0,2]). </td></tr> |
philpem@5 | 7900 | </table> |
philpem@5 | 7901 | </dl> |
philpem@5 | 7902 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported, but texture coordinates do not support clipping. </dd></dl> |
philpem@5 | 7903 | |
philpem@5 | 7904 | </div> |
philpem@5 | 7905 | </div><p> |
philpem@5 | 7906 | <a class="anchor" name="cdcbe236d763eb011eebb30b50c1aef7"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="cdcbe236d763eb011eebb30b50c1aef7" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)" --> |
philpem@5 | 7907 | <div class="memitem"> |
philpem@5 | 7908 | <div class="memproto"> |
philpem@5 | 7909 | <table class="memname"> |
philpem@5 | 7910 | <tr> |
philpem@5 | 7911 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_triangle </td> |
philpem@5 | 7912 | <td>(</td> |
philpem@5 | 7913 | <td class="paramtype">const int </td> |
philpem@5 | 7914 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 7915 | </tr> |
philpem@5 | 7916 | <tr> |
philpem@5 | 7917 | <td class="paramkey"></td> |
philpem@5 | 7918 | <td></td> |
philpem@5 | 7919 | <td class="paramtype">const int </td> |
philpem@5 | 7920 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 7921 | </tr> |
philpem@5 | 7922 | <tr> |
philpem@5 | 7923 | <td class="paramkey"></td> |
philpem@5 | 7924 | <td></td> |
philpem@5 | 7925 | <td class="paramtype">const int </td> |
philpem@5 | 7926 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 7927 | </tr> |
philpem@5 | 7928 | <tr> |
philpem@5 | 7929 | <td class="paramkey"></td> |
philpem@5 | 7930 | <td></td> |
philpem@5 | 7931 | <td class="paramtype">const int </td> |
philpem@5 | 7932 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 7933 | </tr> |
philpem@5 | 7934 | <tr> |
philpem@5 | 7935 | <td class="paramkey"></td> |
philpem@5 | 7936 | <td></td> |
philpem@5 | 7937 | <td class="paramtype">const int </td> |
philpem@5 | 7938 | <td class="paramname"> <em>x2</em>, </td> |
philpem@5 | 7939 | </tr> |
philpem@5 | 7940 | <tr> |
philpem@5 | 7941 | <td class="paramkey"></td> |
philpem@5 | 7942 | <td></td> |
philpem@5 | 7943 | <td class="paramtype">const int </td> |
philpem@5 | 7944 | <td class="paramname"> <em>y2</em>, </td> |
philpem@5 | 7945 | </tr> |
philpem@5 | 7946 | <tr> |
philpem@5 | 7947 | <td class="paramkey"></td> |
philpem@5 | 7948 | <td></td> |
philpem@5 | 7949 | <td class="paramtype">const tc *const </td> |
philpem@5 | 7950 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 7951 | </tr> |
philpem@5 | 7952 | <tr> |
philpem@5 | 7953 | <td class="paramkey"></td> |
philpem@5 | 7954 | <td></td> |
philpem@5 | 7955 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > & </td> |
philpem@5 | 7956 | <td class="paramname"> <em>light</em>, </td> |
philpem@5 | 7957 | </tr> |
philpem@5 | 7958 | <tr> |
philpem@5 | 7959 | <td class="paramkey"></td> |
philpem@5 | 7960 | <td></td> |
philpem@5 | 7961 | <td class="paramtype">const int </td> |
philpem@5 | 7962 | <td class="paramname"> <em>lx0</em>, </td> |
philpem@5 | 7963 | </tr> |
philpem@5 | 7964 | <tr> |
philpem@5 | 7965 | <td class="paramkey"></td> |
philpem@5 | 7966 | <td></td> |
philpem@5 | 7967 | <td class="paramtype">const int </td> |
philpem@5 | 7968 | <td class="paramname"> <em>ly0</em>, </td> |
philpem@5 | 7969 | </tr> |
philpem@5 | 7970 | <tr> |
philpem@5 | 7971 | <td class="paramkey"></td> |
philpem@5 | 7972 | <td></td> |
philpem@5 | 7973 | <td class="paramtype">const int </td> |
philpem@5 | 7974 | <td class="paramname"> <em>lx1</em>, </td> |
philpem@5 | 7975 | </tr> |
philpem@5 | 7976 | <tr> |
philpem@5 | 7977 | <td class="paramkey"></td> |
philpem@5 | 7978 | <td></td> |
philpem@5 | 7979 | <td class="paramtype">const int </td> |
philpem@5 | 7980 | <td class="paramname"> <em>ly1</em>, </td> |
philpem@5 | 7981 | </tr> |
philpem@5 | 7982 | <tr> |
philpem@5 | 7983 | <td class="paramkey"></td> |
philpem@5 | 7984 | <td></td> |
philpem@5 | 7985 | <td class="paramtype">const int </td> |
philpem@5 | 7986 | <td class="paramname"> <em>lx2</em>, </td> |
philpem@5 | 7987 | </tr> |
philpem@5 | 7988 | <tr> |
philpem@5 | 7989 | <td class="paramkey"></td> |
philpem@5 | 7990 | <td></td> |
philpem@5 | 7991 | <td class="paramtype">const int </td> |
philpem@5 | 7992 | <td class="paramname"> <em>ly2</em>, </td> |
philpem@5 | 7993 | </tr> |
philpem@5 | 7994 | <tr> |
philpem@5 | 7995 | <td class="paramkey"></td> |
philpem@5 | 7996 | <td></td> |
philpem@5 | 7997 | <td class="paramtype">const float </td> |
philpem@5 | 7998 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 7999 | </tr> |
philpem@5 | 8000 | <tr> |
philpem@5 | 8001 | <td></td> |
philpem@5 | 8002 | <td>)</td> |
philpem@5 | 8003 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8004 | </tr> |
philpem@5 | 8005 | </table> |
philpem@5 | 8006 | </div> |
philpem@5 | 8007 | <div class="memdoc"> |
philpem@5 | 8008 | |
philpem@5 | 8009 | <p> |
philpem@5 | 8010 | Draw a 2D Pseudo-Phong-shaded triangle. |
philpem@5 | 8011 | <p> |
philpem@5 | 8012 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8013 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8014 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 8015 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 8016 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 8017 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 8018 | <tr><td valign="top"></td><td valign="top"><em>x2</em> </td><td>= X-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 8019 | <tr><td valign="top"></td><td valign="top"><em>y2</em> </td><td>= Y-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 8020 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the global drawing color. </td></tr> |
philpem@5 | 8021 | <tr><td valign="top"></td><td valign="top"><em>light</em> </td><td>= light image. </td></tr> |
philpem@5 | 8022 | <tr><td valign="top"></td><td valign="top"><em>lx0</em> </td><td>= X-coordinate of the first corner in the light image. </td></tr> |
philpem@5 | 8023 | <tr><td valign="top"></td><td valign="top"><em>ly0</em> </td><td>= Y-coordinate of the first corner in the light image. </td></tr> |
philpem@5 | 8024 | <tr><td valign="top"></td><td valign="top"><em>lx1</em> </td><td>= X-coordinate of the second corner in the light image. </td></tr> |
philpem@5 | 8025 | <tr><td valign="top"></td><td valign="top"><em>ly1</em> </td><td>= Y-coordinate of the second corner in the light image. </td></tr> |
philpem@5 | 8026 | <tr><td valign="top"></td><td valign="top"><em>lx2</em> </td><td>= X-coordinate of the third corner in the light image. </td></tr> |
philpem@5 | 8027 | <tr><td valign="top"></td><td valign="top"><em>ly2</em> </td><td>= Y-coordinate of the third corner in the light image. </td></tr> |
philpem@5 | 8028 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 8029 | </table> |
philpem@5 | 8030 | </dl> |
philpem@5 | 8031 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported, but texture coordinates do not support clipping. </dd></dl> |
philpem@5 | 8032 | |
philpem@5 | 8033 | </div> |
philpem@5 | 8034 | </div><p> |
philpem@5 | 8035 | <a class="anchor" name="961363e2672c2ae77788dbe27f1eeb96"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="961363e2672c2ae77788dbe27f1eeb96" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1)" --> |
philpem@5 | 8036 | <div class="memitem"> |
philpem@5 | 8037 | <div class="memproto"> |
philpem@5 | 8038 | <table class="memname"> |
philpem@5 | 8039 | <tr> |
philpem@5 | 8040 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_triangle </td> |
philpem@5 | 8041 | <td>(</td> |
philpem@5 | 8042 | <td class="paramtype">const int </td> |
philpem@5 | 8043 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8044 | </tr> |
philpem@5 | 8045 | <tr> |
philpem@5 | 8046 | <td class="paramkey"></td> |
philpem@5 | 8047 | <td></td> |
philpem@5 | 8048 | <td class="paramtype">const int </td> |
philpem@5 | 8049 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8050 | </tr> |
philpem@5 | 8051 | <tr> |
philpem@5 | 8052 | <td class="paramkey"></td> |
philpem@5 | 8053 | <td></td> |
philpem@5 | 8054 | <td class="paramtype">const int </td> |
philpem@5 | 8055 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 8056 | </tr> |
philpem@5 | 8057 | <tr> |
philpem@5 | 8058 | <td class="paramkey"></td> |
philpem@5 | 8059 | <td></td> |
philpem@5 | 8060 | <td class="paramtype">const int </td> |
philpem@5 | 8061 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 8062 | </tr> |
philpem@5 | 8063 | <tr> |
philpem@5 | 8064 | <td class="paramkey"></td> |
philpem@5 | 8065 | <td></td> |
philpem@5 | 8066 | <td class="paramtype">const int </td> |
philpem@5 | 8067 | <td class="paramname"> <em>x2</em>, </td> |
philpem@5 | 8068 | </tr> |
philpem@5 | 8069 | <tr> |
philpem@5 | 8070 | <td class="paramkey"></td> |
philpem@5 | 8071 | <td></td> |
philpem@5 | 8072 | <td class="paramtype">const int </td> |
philpem@5 | 8073 | <td class="paramname"> <em>y2</em>, </td> |
philpem@5 | 8074 | </tr> |
philpem@5 | 8075 | <tr> |
philpem@5 | 8076 | <td class="paramkey"></td> |
philpem@5 | 8077 | <td></td> |
philpem@5 | 8078 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > & </td> |
philpem@5 | 8079 | <td class="paramname"> <em>texture</em>, </td> |
philpem@5 | 8080 | </tr> |
philpem@5 | 8081 | <tr> |
philpem@5 | 8082 | <td class="paramkey"></td> |
philpem@5 | 8083 | <td></td> |
philpem@5 | 8084 | <td class="paramtype">const int </td> |
philpem@5 | 8085 | <td class="paramname"> <em>tx0</em>, </td> |
philpem@5 | 8086 | </tr> |
philpem@5 | 8087 | <tr> |
philpem@5 | 8088 | <td class="paramkey"></td> |
philpem@5 | 8089 | <td></td> |
philpem@5 | 8090 | <td class="paramtype">const int </td> |
philpem@5 | 8091 | <td class="paramname"> <em>ty0</em>, </td> |
philpem@5 | 8092 | </tr> |
philpem@5 | 8093 | <tr> |
philpem@5 | 8094 | <td class="paramkey"></td> |
philpem@5 | 8095 | <td></td> |
philpem@5 | 8096 | <td class="paramtype">const int </td> |
philpem@5 | 8097 | <td class="paramname"> <em>tx1</em>, </td> |
philpem@5 | 8098 | </tr> |
philpem@5 | 8099 | <tr> |
philpem@5 | 8100 | <td class="paramkey"></td> |
philpem@5 | 8101 | <td></td> |
philpem@5 | 8102 | <td class="paramtype">const int </td> |
philpem@5 | 8103 | <td class="paramname"> <em>ty1</em>, </td> |
philpem@5 | 8104 | </tr> |
philpem@5 | 8105 | <tr> |
philpem@5 | 8106 | <td class="paramkey"></td> |
philpem@5 | 8107 | <td></td> |
philpem@5 | 8108 | <td class="paramtype">const int </td> |
philpem@5 | 8109 | <td class="paramname"> <em>tx2</em>, </td> |
philpem@5 | 8110 | </tr> |
philpem@5 | 8111 | <tr> |
philpem@5 | 8112 | <td class="paramkey"></td> |
philpem@5 | 8113 | <td></td> |
philpem@5 | 8114 | <td class="paramtype">const int </td> |
philpem@5 | 8115 | <td class="paramname"> <em>ty2</em>, </td> |
philpem@5 | 8116 | </tr> |
philpem@5 | 8117 | <tr> |
philpem@5 | 8118 | <td class="paramkey"></td> |
philpem@5 | 8119 | <td></td> |
philpem@5 | 8120 | <td class="paramtype">const float </td> |
philpem@5 | 8121 | <td class="paramname"> <em>brightness0</em>, </td> |
philpem@5 | 8122 | </tr> |
philpem@5 | 8123 | <tr> |
philpem@5 | 8124 | <td class="paramkey"></td> |
philpem@5 | 8125 | <td></td> |
philpem@5 | 8126 | <td class="paramtype">const float </td> |
philpem@5 | 8127 | <td class="paramname"> <em>brightness1</em>, </td> |
philpem@5 | 8128 | </tr> |
philpem@5 | 8129 | <tr> |
philpem@5 | 8130 | <td class="paramkey"></td> |
philpem@5 | 8131 | <td></td> |
philpem@5 | 8132 | <td class="paramtype">const float </td> |
philpem@5 | 8133 | <td class="paramname"> <em>brightness2</em>, </td> |
philpem@5 | 8134 | </tr> |
philpem@5 | 8135 | <tr> |
philpem@5 | 8136 | <td class="paramkey"></td> |
philpem@5 | 8137 | <td></td> |
philpem@5 | 8138 | <td class="paramtype">const float </td> |
philpem@5 | 8139 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 8140 | </tr> |
philpem@5 | 8141 | <tr> |
philpem@5 | 8142 | <td></td> |
philpem@5 | 8143 | <td>)</td> |
philpem@5 | 8144 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8145 | </tr> |
philpem@5 | 8146 | </table> |
philpem@5 | 8147 | </div> |
philpem@5 | 8148 | <div class="memdoc"> |
philpem@5 | 8149 | |
philpem@5 | 8150 | <p> |
philpem@5 | 8151 | Draw a 2D Gouraud-shaded textured triangle. |
philpem@5 | 8152 | <p> |
philpem@5 | 8153 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8154 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8155 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 8156 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 8157 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 8158 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 8159 | <tr><td valign="top"></td><td valign="top"><em>x2</em> </td><td>= X-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 8160 | <tr><td valign="top"></td><td valign="top"><em>y2</em> </td><td>= Y-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 8161 | <tr><td valign="top"></td><td valign="top"><em>texture</em> </td><td>= texture image used to fill the triangle. </td></tr> |
philpem@5 | 8162 | <tr><td valign="top"></td><td valign="top"><em>tx0</em> </td><td>= X-coordinate of the first corner in the texture image. </td></tr> |
philpem@5 | 8163 | <tr><td valign="top"></td><td valign="top"><em>ty0</em> </td><td>= Y-coordinate of the first corner in the texture image. </td></tr> |
philpem@5 | 8164 | <tr><td valign="top"></td><td valign="top"><em>tx1</em> </td><td>= X-coordinate of the second corner in the texture image. </td></tr> |
philpem@5 | 8165 | <tr><td valign="top"></td><td valign="top"><em>ty1</em> </td><td>= Y-coordinate of the second corner in the texture image. </td></tr> |
philpem@5 | 8166 | <tr><td valign="top"></td><td valign="top"><em>tx2</em> </td><td>= X-coordinate of the third corner in the texture image. </td></tr> |
philpem@5 | 8167 | <tr><td valign="top"></td><td valign="top"><em>ty2</em> </td><td>= Y-coordinate of the third corner in the texture image. </td></tr> |
philpem@5 | 8168 | <tr><td valign="top"></td><td valign="top"><em>brightness0</em> </td><td>= brightness value of the first corner. </td></tr> |
philpem@5 | 8169 | <tr><td valign="top"></td><td valign="top"><em>brightness1</em> </td><td>= brightness value of the second corner. </td></tr> |
philpem@5 | 8170 | <tr><td valign="top"></td><td valign="top"><em>brightness2</em> </td><td>= brightness value of the third corner. </td></tr> |
philpem@5 | 8171 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 8172 | </table> |
philpem@5 | 8173 | </dl> |
philpem@5 | 8174 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported, but texture coordinates do not support clipping. </dd></dl> |
philpem@5 | 8175 | |
philpem@5 | 8176 | </div> |
philpem@5 | 8177 | </div><p> |
philpem@5 | 8178 | <a class="anchor" name="261696a882cafea6ec41e43f90ad7d26"></a><!-- doxytag: member="cimg_library::CImg::draw_triangle" ref="261696a882cafea6ec41e43f90ad7d26" args="(const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1)" --> |
philpem@5 | 8179 | <div class="memitem"> |
philpem@5 | 8180 | <div class="memproto"> |
philpem@5 | 8181 | <table class="memname"> |
philpem@5 | 8182 | <tr> |
philpem@5 | 8183 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_triangle </td> |
philpem@5 | 8184 | <td>(</td> |
philpem@5 | 8185 | <td class="paramtype">const int </td> |
philpem@5 | 8186 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8187 | </tr> |
philpem@5 | 8188 | <tr> |
philpem@5 | 8189 | <td class="paramkey"></td> |
philpem@5 | 8190 | <td></td> |
philpem@5 | 8191 | <td class="paramtype">const int </td> |
philpem@5 | 8192 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8193 | </tr> |
philpem@5 | 8194 | <tr> |
philpem@5 | 8195 | <td class="paramkey"></td> |
philpem@5 | 8196 | <td></td> |
philpem@5 | 8197 | <td class="paramtype">const int </td> |
philpem@5 | 8198 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 8199 | </tr> |
philpem@5 | 8200 | <tr> |
philpem@5 | 8201 | <td class="paramkey"></td> |
philpem@5 | 8202 | <td></td> |
philpem@5 | 8203 | <td class="paramtype">const int </td> |
philpem@5 | 8204 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 8205 | </tr> |
philpem@5 | 8206 | <tr> |
philpem@5 | 8207 | <td class="paramkey"></td> |
philpem@5 | 8208 | <td></td> |
philpem@5 | 8209 | <td class="paramtype">const int </td> |
philpem@5 | 8210 | <td class="paramname"> <em>x2</em>, </td> |
philpem@5 | 8211 | </tr> |
philpem@5 | 8212 | <tr> |
philpem@5 | 8213 | <td class="paramkey"></td> |
philpem@5 | 8214 | <td></td> |
philpem@5 | 8215 | <td class="paramtype">const int </td> |
philpem@5 | 8216 | <td class="paramname"> <em>y2</em>, </td> |
philpem@5 | 8217 | </tr> |
philpem@5 | 8218 | <tr> |
philpem@5 | 8219 | <td class="paramkey"></td> |
philpem@5 | 8220 | <td></td> |
philpem@5 | 8221 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tc > & </td> |
philpem@5 | 8222 | <td class="paramname"> <em>texture</em>, </td> |
philpem@5 | 8223 | </tr> |
philpem@5 | 8224 | <tr> |
philpem@5 | 8225 | <td class="paramkey"></td> |
philpem@5 | 8226 | <td></td> |
philpem@5 | 8227 | <td class="paramtype">const int </td> |
philpem@5 | 8228 | <td class="paramname"> <em>tx0</em>, </td> |
philpem@5 | 8229 | </tr> |
philpem@5 | 8230 | <tr> |
philpem@5 | 8231 | <td class="paramkey"></td> |
philpem@5 | 8232 | <td></td> |
philpem@5 | 8233 | <td class="paramtype">const int </td> |
philpem@5 | 8234 | <td class="paramname"> <em>ty0</em>, </td> |
philpem@5 | 8235 | </tr> |
philpem@5 | 8236 | <tr> |
philpem@5 | 8237 | <td class="paramkey"></td> |
philpem@5 | 8238 | <td></td> |
philpem@5 | 8239 | <td class="paramtype">const int </td> |
philpem@5 | 8240 | <td class="paramname"> <em>tx1</em>, </td> |
philpem@5 | 8241 | </tr> |
philpem@5 | 8242 | <tr> |
philpem@5 | 8243 | <td class="paramkey"></td> |
philpem@5 | 8244 | <td></td> |
philpem@5 | 8245 | <td class="paramtype">const int </td> |
philpem@5 | 8246 | <td class="paramname"> <em>ty1</em>, </td> |
philpem@5 | 8247 | </tr> |
philpem@5 | 8248 | <tr> |
philpem@5 | 8249 | <td class="paramkey"></td> |
philpem@5 | 8250 | <td></td> |
philpem@5 | 8251 | <td class="paramtype">const int </td> |
philpem@5 | 8252 | <td class="paramname"> <em>tx2</em>, </td> |
philpem@5 | 8253 | </tr> |
philpem@5 | 8254 | <tr> |
philpem@5 | 8255 | <td class="paramkey"></td> |
philpem@5 | 8256 | <td></td> |
philpem@5 | 8257 | <td class="paramtype">const int </td> |
philpem@5 | 8258 | <td class="paramname"> <em>ty2</em>, </td> |
philpem@5 | 8259 | </tr> |
philpem@5 | 8260 | <tr> |
philpem@5 | 8261 | <td class="paramkey"></td> |
philpem@5 | 8262 | <td></td> |
philpem@5 | 8263 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tl > & </td> |
philpem@5 | 8264 | <td class="paramname"> <em>light</em>, </td> |
philpem@5 | 8265 | </tr> |
philpem@5 | 8266 | <tr> |
philpem@5 | 8267 | <td class="paramkey"></td> |
philpem@5 | 8268 | <td></td> |
philpem@5 | 8269 | <td class="paramtype">const int </td> |
philpem@5 | 8270 | <td class="paramname"> <em>lx0</em>, </td> |
philpem@5 | 8271 | </tr> |
philpem@5 | 8272 | <tr> |
philpem@5 | 8273 | <td class="paramkey"></td> |
philpem@5 | 8274 | <td></td> |
philpem@5 | 8275 | <td class="paramtype">const int </td> |
philpem@5 | 8276 | <td class="paramname"> <em>ly0</em>, </td> |
philpem@5 | 8277 | </tr> |
philpem@5 | 8278 | <tr> |
philpem@5 | 8279 | <td class="paramkey"></td> |
philpem@5 | 8280 | <td></td> |
philpem@5 | 8281 | <td class="paramtype">const int </td> |
philpem@5 | 8282 | <td class="paramname"> <em>lx1</em>, </td> |
philpem@5 | 8283 | </tr> |
philpem@5 | 8284 | <tr> |
philpem@5 | 8285 | <td class="paramkey"></td> |
philpem@5 | 8286 | <td></td> |
philpem@5 | 8287 | <td class="paramtype">const int </td> |
philpem@5 | 8288 | <td class="paramname"> <em>ly1</em>, </td> |
philpem@5 | 8289 | </tr> |
philpem@5 | 8290 | <tr> |
philpem@5 | 8291 | <td class="paramkey"></td> |
philpem@5 | 8292 | <td></td> |
philpem@5 | 8293 | <td class="paramtype">const int </td> |
philpem@5 | 8294 | <td class="paramname"> <em>lx2</em>, </td> |
philpem@5 | 8295 | </tr> |
philpem@5 | 8296 | <tr> |
philpem@5 | 8297 | <td class="paramkey"></td> |
philpem@5 | 8298 | <td></td> |
philpem@5 | 8299 | <td class="paramtype">const int </td> |
philpem@5 | 8300 | <td class="paramname"> <em>ly2</em>, </td> |
philpem@5 | 8301 | </tr> |
philpem@5 | 8302 | <tr> |
philpem@5 | 8303 | <td class="paramkey"></td> |
philpem@5 | 8304 | <td></td> |
philpem@5 | 8305 | <td class="paramtype">const float </td> |
philpem@5 | 8306 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 8307 | </tr> |
philpem@5 | 8308 | <tr> |
philpem@5 | 8309 | <td></td> |
philpem@5 | 8310 | <td>)</td> |
philpem@5 | 8311 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8312 | </tr> |
philpem@5 | 8313 | </table> |
philpem@5 | 8314 | </div> |
philpem@5 | 8315 | <div class="memdoc"> |
philpem@5 | 8316 | |
philpem@5 | 8317 | <p> |
philpem@5 | 8318 | Draw a 2D Pseudo-Phong-shaded textured triangle. |
philpem@5 | 8319 | <p> |
philpem@5 | 8320 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8321 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8322 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 8323 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the first corner in the instance image. </td></tr> |
philpem@5 | 8324 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 8325 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the second corner in the instance image. </td></tr> |
philpem@5 | 8326 | <tr><td valign="top"></td><td valign="top"><em>x2</em> </td><td>= X-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 8327 | <tr><td valign="top"></td><td valign="top"><em>y2</em> </td><td>= Y-coordinate of the third corner in the instance image. </td></tr> |
philpem@5 | 8328 | <tr><td valign="top"></td><td valign="top"><em>texture</em> </td><td>= texture image used to fill the triangle. </td></tr> |
philpem@5 | 8329 | <tr><td valign="top"></td><td valign="top"><em>tx0</em> </td><td>= X-coordinate of the first corner in the texture image. </td></tr> |
philpem@5 | 8330 | <tr><td valign="top"></td><td valign="top"><em>ty0</em> </td><td>= Y-coordinate of the first corner in the texture image. </td></tr> |
philpem@5 | 8331 | <tr><td valign="top"></td><td valign="top"><em>tx1</em> </td><td>= X-coordinate of the second corner in the texture image. </td></tr> |
philpem@5 | 8332 | <tr><td valign="top"></td><td valign="top"><em>ty1</em> </td><td>= Y-coordinate of the second corner in the texture image. </td></tr> |
philpem@5 | 8333 | <tr><td valign="top"></td><td valign="top"><em>tx2</em> </td><td>= X-coordinate of the third corner in the texture image. </td></tr> |
philpem@5 | 8334 | <tr><td valign="top"></td><td valign="top"><em>ty2</em> </td><td>= Y-coordinate of the third corner in the texture image. </td></tr> |
philpem@5 | 8335 | <tr><td valign="top"></td><td valign="top"><em>light</em> </td><td>= light image. </td></tr> |
philpem@5 | 8336 | <tr><td valign="top"></td><td valign="top"><em>lx0</em> </td><td>= X-coordinate of the first corner in the light image. </td></tr> |
philpem@5 | 8337 | <tr><td valign="top"></td><td valign="top"><em>ly0</em> </td><td>= Y-coordinate of the first corner in the light image. </td></tr> |
philpem@5 | 8338 | <tr><td valign="top"></td><td valign="top"><em>lx1</em> </td><td>= X-coordinate of the second corner in the light image. </td></tr> |
philpem@5 | 8339 | <tr><td valign="top"></td><td valign="top"><em>ly1</em> </td><td>= Y-coordinate of the second corner in the light image. </td></tr> |
philpem@5 | 8340 | <tr><td valign="top"></td><td valign="top"><em>lx2</em> </td><td>= X-coordinate of the third corner in the light image. </td></tr> |
philpem@5 | 8341 | <tr><td valign="top"></td><td valign="top"><em>ly2</em> </td><td>= Y-coordinate of the third corner in the light image. </td></tr> |
philpem@5 | 8342 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 8343 | </table> |
philpem@5 | 8344 | </dl> |
philpem@5 | 8345 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported, but texture coordinates do not support clipping. </dd></dl> |
philpem@5 | 8346 | |
philpem@5 | 8347 | </div> |
philpem@5 | 8348 | </div><p> |
philpem@5 | 8349 | <a class="anchor" name="e0c072c592797cc4d7a3e2918963f65d"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="e0c072c592797cc4d7a3e2918963f65d" args="(const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity=1)" --> |
philpem@5 | 8350 | <div class="memitem"> |
philpem@5 | 8351 | <div class="memproto"> |
philpem@5 | 8352 | <table class="memname"> |
philpem@5 | 8353 | <tr> |
philpem@5 | 8354 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_ellipse </td> |
philpem@5 | 8355 | <td>(</td> |
philpem@5 | 8356 | <td class="paramtype">const int </td> |
philpem@5 | 8357 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8358 | </tr> |
philpem@5 | 8359 | <tr> |
philpem@5 | 8360 | <td class="paramkey"></td> |
philpem@5 | 8361 | <td></td> |
philpem@5 | 8362 | <td class="paramtype">const int </td> |
philpem@5 | 8363 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8364 | </tr> |
philpem@5 | 8365 | <tr> |
philpem@5 | 8366 | <td class="paramkey"></td> |
philpem@5 | 8367 | <td></td> |
philpem@5 | 8368 | <td class="paramtype">const float </td> |
philpem@5 | 8369 | <td class="paramname"> <em>r1</em>, </td> |
philpem@5 | 8370 | </tr> |
philpem@5 | 8371 | <tr> |
philpem@5 | 8372 | <td class="paramkey"></td> |
philpem@5 | 8373 | <td></td> |
philpem@5 | 8374 | <td class="paramtype">const float </td> |
philpem@5 | 8375 | <td class="paramname"> <em>r2</em>, </td> |
philpem@5 | 8376 | </tr> |
philpem@5 | 8377 | <tr> |
philpem@5 | 8378 | <td class="paramkey"></td> |
philpem@5 | 8379 | <td></td> |
philpem@5 | 8380 | <td class="paramtype">const float </td> |
philpem@5 | 8381 | <td class="paramname"> <em>ru</em>, </td> |
philpem@5 | 8382 | </tr> |
philpem@5 | 8383 | <tr> |
philpem@5 | 8384 | <td class="paramkey"></td> |
philpem@5 | 8385 | <td></td> |
philpem@5 | 8386 | <td class="paramtype">const float </td> |
philpem@5 | 8387 | <td class="paramname"> <em>rv</em>, </td> |
philpem@5 | 8388 | </tr> |
philpem@5 | 8389 | <tr> |
philpem@5 | 8390 | <td class="paramkey"></td> |
philpem@5 | 8391 | <td></td> |
philpem@5 | 8392 | <td class="paramtype">const tc *const </td> |
philpem@5 | 8393 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 8394 | </tr> |
philpem@5 | 8395 | <tr> |
philpem@5 | 8396 | <td class="paramkey"></td> |
philpem@5 | 8397 | <td></td> |
philpem@5 | 8398 | <td class="paramtype">const float </td> |
philpem@5 | 8399 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 8400 | </tr> |
philpem@5 | 8401 | <tr> |
philpem@5 | 8402 | <td></td> |
philpem@5 | 8403 | <td>)</td> |
philpem@5 | 8404 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8405 | </tr> |
philpem@5 | 8406 | </table> |
philpem@5 | 8407 | </div> |
philpem@5 | 8408 | <div class="memdoc"> |
philpem@5 | 8409 | |
philpem@5 | 8410 | <p> |
philpem@5 | 8411 | Draw a filled ellipse. |
philpem@5 | 8412 | <p> |
philpem@5 | 8413 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8414 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8415 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8416 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8417 | <tr><td valign="top"></td><td valign="top"><em>r1</em> </td><td>= First radius of the ellipse. </td></tr> |
philpem@5 | 8418 | <tr><td valign="top"></td><td valign="top"><em>r2</em> </td><td>= Second radius of the ellipse. </td></tr> |
philpem@5 | 8419 | <tr><td valign="top"></td><td valign="top"><em>ru</em> </td><td>= X-coordinate of the orientation vector related to the first radius. </td></tr> |
philpem@5 | 8420 | <tr><td valign="top"></td><td valign="top"><em>rv</em> </td><td>= Y-coordinate of the orientation vector related to the first radius. </td></tr> |
philpem@5 | 8421 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 8422 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 8423 | </table> |
philpem@5 | 8424 | </dl> |
philpem@5 | 8425 | |
philpem@5 | 8426 | </div> |
philpem@5 | 8427 | </div><p> |
philpem@5 | 8428 | <a class="anchor" name="aee5c65bcb8d1aa53500dd93b70dc206"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="aee5c65bcb8d1aa53500dd93b70dc206" args="(const int x0, const int y0, const CImg< t > &tensor, const tc *const color, const float opacity=1)" --> |
philpem@5 | 8429 | <div class="memitem"> |
philpem@5 | 8430 | <div class="memproto"> |
philpem@5 | 8431 | <table class="memname"> |
philpem@5 | 8432 | <tr> |
philpem@5 | 8433 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_ellipse </td> |
philpem@5 | 8434 | <td>(</td> |
philpem@5 | 8435 | <td class="paramtype">const int </td> |
philpem@5 | 8436 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8437 | </tr> |
philpem@5 | 8438 | <tr> |
philpem@5 | 8439 | <td class="paramkey"></td> |
philpem@5 | 8440 | <td></td> |
philpem@5 | 8441 | <td class="paramtype">const int </td> |
philpem@5 | 8442 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8443 | </tr> |
philpem@5 | 8444 | <tr> |
philpem@5 | 8445 | <td class="paramkey"></td> |
philpem@5 | 8446 | <td></td> |
philpem@5 | 8447 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 8448 | <td class="paramname"> <em>tensor</em>, </td> |
philpem@5 | 8449 | </tr> |
philpem@5 | 8450 | <tr> |
philpem@5 | 8451 | <td class="paramkey"></td> |
philpem@5 | 8452 | <td></td> |
philpem@5 | 8453 | <td class="paramtype">const tc *const </td> |
philpem@5 | 8454 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 8455 | </tr> |
philpem@5 | 8456 | <tr> |
philpem@5 | 8457 | <td class="paramkey"></td> |
philpem@5 | 8458 | <td></td> |
philpem@5 | 8459 | <td class="paramtype">const float </td> |
philpem@5 | 8460 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 8461 | </tr> |
philpem@5 | 8462 | <tr> |
philpem@5 | 8463 | <td></td> |
philpem@5 | 8464 | <td>)</td> |
philpem@5 | 8465 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8466 | </tr> |
philpem@5 | 8467 | </table> |
philpem@5 | 8468 | </div> |
philpem@5 | 8469 | <div class="memdoc"> |
philpem@5 | 8470 | |
philpem@5 | 8471 | <p> |
philpem@5 | 8472 | Draw a filled ellipse. |
philpem@5 | 8473 | <p> |
philpem@5 | 8474 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8475 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8476 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8477 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8478 | <tr><td valign="top"></td><td valign="top"><em>tensor</em> </td><td>= Diffusion tensor describing the ellipse. </td></tr> |
philpem@5 | 8479 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 8480 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 8481 | </table> |
philpem@5 | 8482 | </dl> |
philpem@5 | 8483 | |
philpem@5 | 8484 | </div> |
philpem@5 | 8485 | </div><p> |
philpem@5 | 8486 | <a class="anchor" name="d54df0e591142a589847a348fdbfc653"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="d54df0e591142a589847a348fdbfc653" args="(const int x0, const int y0, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 8487 | <div class="memitem"> |
philpem@5 | 8488 | <div class="memproto"> |
philpem@5 | 8489 | <table class="memname"> |
philpem@5 | 8490 | <tr> |
philpem@5 | 8491 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_ellipse </td> |
philpem@5 | 8492 | <td>(</td> |
philpem@5 | 8493 | <td class="paramtype">const int </td> |
philpem@5 | 8494 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8495 | </tr> |
philpem@5 | 8496 | <tr> |
philpem@5 | 8497 | <td class="paramkey"></td> |
philpem@5 | 8498 | <td></td> |
philpem@5 | 8499 | <td class="paramtype">const int </td> |
philpem@5 | 8500 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8501 | </tr> |
philpem@5 | 8502 | <tr> |
philpem@5 | 8503 | <td class="paramkey"></td> |
philpem@5 | 8504 | <td></td> |
philpem@5 | 8505 | <td class="paramtype">const float </td> |
philpem@5 | 8506 | <td class="paramname"> <em>r1</em>, </td> |
philpem@5 | 8507 | </tr> |
philpem@5 | 8508 | <tr> |
philpem@5 | 8509 | <td class="paramkey"></td> |
philpem@5 | 8510 | <td></td> |
philpem@5 | 8511 | <td class="paramtype">const float </td> |
philpem@5 | 8512 | <td class="paramname"> <em>r2</em>, </td> |
philpem@5 | 8513 | </tr> |
philpem@5 | 8514 | <tr> |
philpem@5 | 8515 | <td class="paramkey"></td> |
philpem@5 | 8516 | <td></td> |
philpem@5 | 8517 | <td class="paramtype">const float </td> |
philpem@5 | 8518 | <td class="paramname"> <em>ru</em>, </td> |
philpem@5 | 8519 | </tr> |
philpem@5 | 8520 | <tr> |
philpem@5 | 8521 | <td class="paramkey"></td> |
philpem@5 | 8522 | <td></td> |
philpem@5 | 8523 | <td class="paramtype">const float </td> |
philpem@5 | 8524 | <td class="paramname"> <em>rv</em>, </td> |
philpem@5 | 8525 | </tr> |
philpem@5 | 8526 | <tr> |
philpem@5 | 8527 | <td class="paramkey"></td> |
philpem@5 | 8528 | <td></td> |
philpem@5 | 8529 | <td class="paramtype">const tc *const </td> |
philpem@5 | 8530 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 8531 | </tr> |
philpem@5 | 8532 | <tr> |
philpem@5 | 8533 | <td class="paramkey"></td> |
philpem@5 | 8534 | <td></td> |
philpem@5 | 8535 | <td class="paramtype">const float </td> |
philpem@5 | 8536 | <td class="paramname"> <em>opacity</em>, </td> |
philpem@5 | 8537 | </tr> |
philpem@5 | 8538 | <tr> |
philpem@5 | 8539 | <td class="paramkey"></td> |
philpem@5 | 8540 | <td></td> |
philpem@5 | 8541 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 8542 | <td class="paramname"> <em>pattern</em></td><td> </td> |
philpem@5 | 8543 | </tr> |
philpem@5 | 8544 | <tr> |
philpem@5 | 8545 | <td></td> |
philpem@5 | 8546 | <td>)</td> |
philpem@5 | 8547 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8548 | </tr> |
philpem@5 | 8549 | </table> |
philpem@5 | 8550 | </div> |
philpem@5 | 8551 | <div class="memdoc"> |
philpem@5 | 8552 | |
philpem@5 | 8553 | <p> |
philpem@5 | 8554 | Draw an outlined ellipse. |
philpem@5 | 8555 | <p> |
philpem@5 | 8556 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8557 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8558 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8559 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8560 | <tr><td valign="top"></td><td valign="top"><em>r1</em> </td><td>= First radius of the ellipse. </td></tr> |
philpem@5 | 8561 | <tr><td valign="top"></td><td valign="top"><em>r2</em> </td><td>= Second radius of the ellipse. </td></tr> |
philpem@5 | 8562 | <tr><td valign="top"></td><td valign="top"><em>ru</em> </td><td>= X-coordinate of the orientation vector related to the first radius. </td></tr> |
philpem@5 | 8563 | <tr><td valign="top"></td><td valign="top"><em>rv</em> </td><td>= Y-coordinate of the orientation vector related to the first radius. </td></tr> |
philpem@5 | 8564 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 8565 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>= If zero, the ellipse is filled, else pattern is an integer whose bits describe the outline pattern. </td></tr> |
philpem@5 | 8566 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 8567 | </table> |
philpem@5 | 8568 | </dl> |
philpem@5 | 8569 | |
philpem@5 | 8570 | </div> |
philpem@5 | 8571 | </div><p> |
philpem@5 | 8572 | <a class="anchor" name="eae8fb88a9ad0af8f0d8090e7c55ff2e"></a><!-- doxytag: member="cimg_library::CImg::draw_ellipse" ref="eae8fb88a9ad0af8f0d8090e7c55ff2e" args="(const int x0, const int y0, const CImg< t > &tensor, const tc *const color, const float opacity, const unsigned int pattern)" --> |
philpem@5 | 8573 | <div class="memitem"> |
philpem@5 | 8574 | <div class="memproto"> |
philpem@5 | 8575 | <table class="memname"> |
philpem@5 | 8576 | <tr> |
philpem@5 | 8577 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_ellipse </td> |
philpem@5 | 8578 | <td>(</td> |
philpem@5 | 8579 | <td class="paramtype">const int </td> |
philpem@5 | 8580 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8581 | </tr> |
philpem@5 | 8582 | <tr> |
philpem@5 | 8583 | <td class="paramkey"></td> |
philpem@5 | 8584 | <td></td> |
philpem@5 | 8585 | <td class="paramtype">const int </td> |
philpem@5 | 8586 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8587 | </tr> |
philpem@5 | 8588 | <tr> |
philpem@5 | 8589 | <td class="paramkey"></td> |
philpem@5 | 8590 | <td></td> |
philpem@5 | 8591 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 8592 | <td class="paramname"> <em>tensor</em>, </td> |
philpem@5 | 8593 | </tr> |
philpem@5 | 8594 | <tr> |
philpem@5 | 8595 | <td class="paramkey"></td> |
philpem@5 | 8596 | <td></td> |
philpem@5 | 8597 | <td class="paramtype">const tc *const </td> |
philpem@5 | 8598 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 8599 | </tr> |
philpem@5 | 8600 | <tr> |
philpem@5 | 8601 | <td class="paramkey"></td> |
philpem@5 | 8602 | <td></td> |
philpem@5 | 8603 | <td class="paramtype">const float </td> |
philpem@5 | 8604 | <td class="paramname"> <em>opacity</em>, </td> |
philpem@5 | 8605 | </tr> |
philpem@5 | 8606 | <tr> |
philpem@5 | 8607 | <td class="paramkey"></td> |
philpem@5 | 8608 | <td></td> |
philpem@5 | 8609 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 8610 | <td class="paramname"> <em>pattern</em></td><td> </td> |
philpem@5 | 8611 | </tr> |
philpem@5 | 8612 | <tr> |
philpem@5 | 8613 | <td></td> |
philpem@5 | 8614 | <td>)</td> |
philpem@5 | 8615 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8616 | </tr> |
philpem@5 | 8617 | </table> |
philpem@5 | 8618 | </div> |
philpem@5 | 8619 | <div class="memdoc"> |
philpem@5 | 8620 | |
philpem@5 | 8621 | <p> |
philpem@5 | 8622 | Draw an outlined ellipse. |
philpem@5 | 8623 | <p> |
philpem@5 | 8624 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8625 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8626 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8627 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the ellipse center. </td></tr> |
philpem@5 | 8628 | <tr><td valign="top"></td><td valign="top"><em>tensor</em> </td><td>= Diffusion tensor describing the ellipse. </td></tr> |
philpem@5 | 8629 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 8630 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>= If zero, the ellipse is filled, else pattern is an integer whose bits describe the outline pattern. </td></tr> |
philpem@5 | 8631 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 8632 | </table> |
philpem@5 | 8633 | </dl> |
philpem@5 | 8634 | |
philpem@5 | 8635 | </div> |
philpem@5 | 8636 | </div><p> |
philpem@5 | 8637 | <a class="anchor" name="0fcdceae39ad1bfa32dabc70ab503455"></a><!-- doxytag: member="cimg_library::CImg::draw_circle" ref="0fcdceae39ad1bfa32dabc70ab503455" args="(const int x0, const int y0, int radius, const tc *const color, const float opacity=1)" --> |
philpem@5 | 8638 | <div class="memitem"> |
philpem@5 | 8639 | <div class="memproto"> |
philpem@5 | 8640 | <table class="memname"> |
philpem@5 | 8641 | <tr> |
philpem@5 | 8642 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_circle </td> |
philpem@5 | 8643 | <td>(</td> |
philpem@5 | 8644 | <td class="paramtype">const int </td> |
philpem@5 | 8645 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8646 | </tr> |
philpem@5 | 8647 | <tr> |
philpem@5 | 8648 | <td class="paramkey"></td> |
philpem@5 | 8649 | <td></td> |
philpem@5 | 8650 | <td class="paramtype">const int </td> |
philpem@5 | 8651 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8652 | </tr> |
philpem@5 | 8653 | <tr> |
philpem@5 | 8654 | <td class="paramkey"></td> |
philpem@5 | 8655 | <td></td> |
philpem@5 | 8656 | <td class="paramtype">int </td> |
philpem@5 | 8657 | <td class="paramname"> <em>radius</em>, </td> |
philpem@5 | 8658 | </tr> |
philpem@5 | 8659 | <tr> |
philpem@5 | 8660 | <td class="paramkey"></td> |
philpem@5 | 8661 | <td></td> |
philpem@5 | 8662 | <td class="paramtype">const tc *const </td> |
philpem@5 | 8663 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 8664 | </tr> |
philpem@5 | 8665 | <tr> |
philpem@5 | 8666 | <td class="paramkey"></td> |
philpem@5 | 8667 | <td></td> |
philpem@5 | 8668 | <td class="paramtype">const float </td> |
philpem@5 | 8669 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 8670 | </tr> |
philpem@5 | 8671 | <tr> |
philpem@5 | 8672 | <td></td> |
philpem@5 | 8673 | <td>)</td> |
philpem@5 | 8674 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8675 | </tr> |
philpem@5 | 8676 | </table> |
philpem@5 | 8677 | </div> |
philpem@5 | 8678 | <div class="memdoc"> |
philpem@5 | 8679 | |
philpem@5 | 8680 | <p> |
philpem@5 | 8681 | Draw a filled circle. |
philpem@5 | 8682 | <p> |
philpem@5 | 8683 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8684 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8685 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the circle center. </td></tr> |
philpem@5 | 8686 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the circle center. </td></tr> |
philpem@5 | 8687 | <tr><td valign="top"></td><td valign="top"><em>radius</em> </td><td>Circle radius. </td></tr> |
philpem@5 | 8688 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 8689 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity. </td></tr> |
philpem@5 | 8690 | </table> |
philpem@5 | 8691 | </dl> |
philpem@5 | 8692 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 8693 | <li>Circle version of the Bresenham's algorithm is used. </li></ul> |
philpem@5 | 8694 | </dd></dl> |
philpem@5 | 8695 | |
philpem@5 | 8696 | </div> |
philpem@5 | 8697 | </div><p> |
philpem@5 | 8698 | <a class="anchor" name="bc6077a1255326a211f32716fcc416fc"></a><!-- doxytag: member="cimg_library::CImg::draw_circle" ref="bc6077a1255326a211f32716fcc416fc" args="(const int x0, const int y0, int radius, const tc *const color, const float opacity, const unsigned int)" --> |
philpem@5 | 8699 | <div class="memitem"> |
philpem@5 | 8700 | <div class="memproto"> |
philpem@5 | 8701 | <table class="memname"> |
philpem@5 | 8702 | <tr> |
philpem@5 | 8703 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_circle </td> |
philpem@5 | 8704 | <td>(</td> |
philpem@5 | 8705 | <td class="paramtype">const int </td> |
philpem@5 | 8706 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8707 | </tr> |
philpem@5 | 8708 | <tr> |
philpem@5 | 8709 | <td class="paramkey"></td> |
philpem@5 | 8710 | <td></td> |
philpem@5 | 8711 | <td class="paramtype">const int </td> |
philpem@5 | 8712 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8713 | </tr> |
philpem@5 | 8714 | <tr> |
philpem@5 | 8715 | <td class="paramkey"></td> |
philpem@5 | 8716 | <td></td> |
philpem@5 | 8717 | <td class="paramtype">int </td> |
philpem@5 | 8718 | <td class="paramname"> <em>radius</em>, </td> |
philpem@5 | 8719 | </tr> |
philpem@5 | 8720 | <tr> |
philpem@5 | 8721 | <td class="paramkey"></td> |
philpem@5 | 8722 | <td></td> |
philpem@5 | 8723 | <td class="paramtype">const tc *const </td> |
philpem@5 | 8724 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 8725 | </tr> |
philpem@5 | 8726 | <tr> |
philpem@5 | 8727 | <td class="paramkey"></td> |
philpem@5 | 8728 | <td></td> |
philpem@5 | 8729 | <td class="paramtype">const float </td> |
philpem@5 | 8730 | <td class="paramname"> <em>opacity</em>, </td> |
philpem@5 | 8731 | </tr> |
philpem@5 | 8732 | <tr> |
philpem@5 | 8733 | <td class="paramkey"></td> |
philpem@5 | 8734 | <td></td> |
philpem@5 | 8735 | <td class="paramtype">const unsigned </td> |
philpem@5 | 8736 | <td class="paramname"> <em>int</em></td><td> </td> |
philpem@5 | 8737 | </tr> |
philpem@5 | 8738 | <tr> |
philpem@5 | 8739 | <td></td> |
philpem@5 | 8740 | <td>)</td> |
philpem@5 | 8741 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8742 | </tr> |
philpem@5 | 8743 | </table> |
philpem@5 | 8744 | </div> |
philpem@5 | 8745 | <div class="memdoc"> |
philpem@5 | 8746 | |
philpem@5 | 8747 | <p> |
philpem@5 | 8748 | Draw an outlined circle. |
philpem@5 | 8749 | <p> |
philpem@5 | 8750 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8751 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8752 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the circle center. </td></tr> |
philpem@5 | 8753 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the circle center. </td></tr> |
philpem@5 | 8754 | <tr><td valign="top"></td><td valign="top"><em>radius</em> </td><td>Circle radius. </td></tr> |
philpem@5 | 8755 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 8756 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity. </td></tr> |
philpem@5 | 8757 | </table> |
philpem@5 | 8758 | </dl> |
philpem@5 | 8759 | |
philpem@5 | 8760 | </div> |
philpem@5 | 8761 | </div><p> |
philpem@5 | 8762 | <a class="anchor" name="10f19686ec4d22cf112d7d60a00849eb"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="10f19686ec4d22cf112d7d60a00849eb" args="(const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity, const CImgList< t > &font,...)" --> |
philpem@5 | 8763 | <div class="memitem"> |
philpem@5 | 8764 | <div class="memproto"> |
philpem@5 | 8765 | <table class="memname"> |
philpem@5 | 8766 | <tr> |
philpem@5 | 8767 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_text </td> |
philpem@5 | 8768 | <td>(</td> |
philpem@5 | 8769 | <td class="paramtype">const int </td> |
philpem@5 | 8770 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8771 | </tr> |
philpem@5 | 8772 | <tr> |
philpem@5 | 8773 | <td class="paramkey"></td> |
philpem@5 | 8774 | <td></td> |
philpem@5 | 8775 | <td class="paramtype">const int </td> |
philpem@5 | 8776 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8777 | </tr> |
philpem@5 | 8778 | <tr> |
philpem@5 | 8779 | <td class="paramkey"></td> |
philpem@5 | 8780 | <td></td> |
philpem@5 | 8781 | <td class="paramtype">const char *const </td> |
philpem@5 | 8782 | <td class="paramname"> <em>text</em>, </td> |
philpem@5 | 8783 | </tr> |
philpem@5 | 8784 | <tr> |
philpem@5 | 8785 | <td class="paramkey"></td> |
philpem@5 | 8786 | <td></td> |
philpem@5 | 8787 | <td class="paramtype">const tc1 *const </td> |
philpem@5 | 8788 | <td class="paramname"> <em>foreground_color</em>, </td> |
philpem@5 | 8789 | </tr> |
philpem@5 | 8790 | <tr> |
philpem@5 | 8791 | <td class="paramkey"></td> |
philpem@5 | 8792 | <td></td> |
philpem@5 | 8793 | <td class="paramtype">const tc2 *const </td> |
philpem@5 | 8794 | <td class="paramname"> <em>background_color</em>, </td> |
philpem@5 | 8795 | </tr> |
philpem@5 | 8796 | <tr> |
philpem@5 | 8797 | <td class="paramkey"></td> |
philpem@5 | 8798 | <td></td> |
philpem@5 | 8799 | <td class="paramtype">const float </td> |
philpem@5 | 8800 | <td class="paramname"> <em>opacity</em>, </td> |
philpem@5 | 8801 | </tr> |
philpem@5 | 8802 | <tr> |
philpem@5 | 8803 | <td class="paramkey"></td> |
philpem@5 | 8804 | <td></td> |
philpem@5 | 8805 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< t > & </td> |
philpem@5 | 8806 | <td class="paramname"> <em>font</em>, </td> |
philpem@5 | 8807 | </tr> |
philpem@5 | 8808 | <tr> |
philpem@5 | 8809 | <td class="paramkey"></td> |
philpem@5 | 8810 | <td></td> |
philpem@5 | 8811 | <td class="paramtype"> </td> |
philpem@5 | 8812 | <td class="paramname"> <em>...</em></td><td> </td> |
philpem@5 | 8813 | </tr> |
philpem@5 | 8814 | <tr> |
philpem@5 | 8815 | <td></td> |
philpem@5 | 8816 | <td>)</td> |
philpem@5 | 8817 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8818 | </tr> |
philpem@5 | 8819 | </table> |
philpem@5 | 8820 | </div> |
philpem@5 | 8821 | <div class="memdoc"> |
philpem@5 | 8822 | |
philpem@5 | 8823 | <p> |
philpem@5 | 8824 | Draw a text. |
philpem@5 | 8825 | <p> |
philpem@5 | 8826 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8827 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8828 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the text in the instance image. </td></tr> |
philpem@5 | 8829 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the text in the instance image. </td></tr> |
philpem@5 | 8830 | <tr><td valign="top"></td><td valign="top"><em>foreground_color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the foreground color (0 means 'transparent'). </td></tr> |
philpem@5 | 8831 | <tr><td valign="top"></td><td valign="top"><em>background_color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the background color (0 means 'transparent'). </td></tr> |
philpem@5 | 8832 | <tr><td valign="top"></td><td valign="top"><em>font</em> </td><td>Font used for drawing text. </td></tr> |
philpem@5 | 8833 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity. </td></tr> |
philpem@5 | 8834 | <tr><td valign="top"></td><td valign="top"><em>format</em> </td><td>'printf'-style format string, followed by arguments. </td></tr> |
philpem@5 | 8835 | </table> |
philpem@5 | 8836 | </dl> |
philpem@5 | 8837 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported. </dd></dl> |
philpem@5 | 8838 | |
philpem@5 | 8839 | </div> |
philpem@5 | 8840 | </div><p> |
philpem@5 | 8841 | <a class="anchor" name="8a08ffc222f02da3bae41a9cae11133c"></a><!-- doxytag: member="cimg_library::CImg::draw_text" ref="8a08ffc222f02da3bae41a9cae11133c" args="(const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity=1, const unsigned int font_size=11,...)" --> |
philpem@5 | 8842 | <div class="memitem"> |
philpem@5 | 8843 | <div class="memproto"> |
philpem@5 | 8844 | <table class="memname"> |
philpem@5 | 8845 | <tr> |
philpem@5 | 8846 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_text </td> |
philpem@5 | 8847 | <td>(</td> |
philpem@5 | 8848 | <td class="paramtype">const int </td> |
philpem@5 | 8849 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 8850 | </tr> |
philpem@5 | 8851 | <tr> |
philpem@5 | 8852 | <td class="paramkey"></td> |
philpem@5 | 8853 | <td></td> |
philpem@5 | 8854 | <td class="paramtype">const int </td> |
philpem@5 | 8855 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 8856 | </tr> |
philpem@5 | 8857 | <tr> |
philpem@5 | 8858 | <td class="paramkey"></td> |
philpem@5 | 8859 | <td></td> |
philpem@5 | 8860 | <td class="paramtype">const char *const </td> |
philpem@5 | 8861 | <td class="paramname"> <em>text</em>, </td> |
philpem@5 | 8862 | </tr> |
philpem@5 | 8863 | <tr> |
philpem@5 | 8864 | <td class="paramkey"></td> |
philpem@5 | 8865 | <td></td> |
philpem@5 | 8866 | <td class="paramtype">const tc1 *const </td> |
philpem@5 | 8867 | <td class="paramname"> <em>foreground_color</em>, </td> |
philpem@5 | 8868 | </tr> |
philpem@5 | 8869 | <tr> |
philpem@5 | 8870 | <td class="paramkey"></td> |
philpem@5 | 8871 | <td></td> |
philpem@5 | 8872 | <td class="paramtype">const tc2 *const </td> |
philpem@5 | 8873 | <td class="paramname"> <em>background_color</em>, </td> |
philpem@5 | 8874 | </tr> |
philpem@5 | 8875 | <tr> |
philpem@5 | 8876 | <td class="paramkey"></td> |
philpem@5 | 8877 | <td></td> |
philpem@5 | 8878 | <td class="paramtype">const float </td> |
philpem@5 | 8879 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 8880 | </tr> |
philpem@5 | 8881 | <tr> |
philpem@5 | 8882 | <td class="paramkey"></td> |
philpem@5 | 8883 | <td></td> |
philpem@5 | 8884 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 8885 | <td class="paramname"> <em>font_size</em> = <code>11</code>, </td> |
philpem@5 | 8886 | </tr> |
philpem@5 | 8887 | <tr> |
philpem@5 | 8888 | <td class="paramkey"></td> |
philpem@5 | 8889 | <td></td> |
philpem@5 | 8890 | <td class="paramtype"> </td> |
philpem@5 | 8891 | <td class="paramname"> <em>...</em></td><td> </td> |
philpem@5 | 8892 | </tr> |
philpem@5 | 8893 | <tr> |
philpem@5 | 8894 | <td></td> |
philpem@5 | 8895 | <td>)</td> |
philpem@5 | 8896 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8897 | </tr> |
philpem@5 | 8898 | </table> |
philpem@5 | 8899 | </div> |
philpem@5 | 8900 | <div class="memdoc"> |
philpem@5 | 8901 | |
philpem@5 | 8902 | <p> |
philpem@5 | 8903 | Draw a text. |
philpem@5 | 8904 | <p> |
philpem@5 | 8905 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8906 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8907 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>X-coordinate of the text in the instance image. </td></tr> |
philpem@5 | 8908 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Y-coordinate of the text in the instance image. </td></tr> |
philpem@5 | 8909 | <tr><td valign="top"></td><td valign="top"><em>foreground_color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the foreground color (0 means 'transparent'). </td></tr> |
philpem@5 | 8910 | <tr><td valign="top"></td><td valign="top"><em>background_color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the background color (0 means 'transparent'). </td></tr> |
philpem@5 | 8911 | <tr><td valign="top"></td><td valign="top"><em>font_size</em> </td><td>Size of the font (nearest match). </td></tr> |
philpem@5 | 8912 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity. </td></tr> |
philpem@5 | 8913 | <tr><td valign="top"></td><td valign="top"><em>format</em> </td><td>'printf'-style format string, followed by arguments. </td></tr> |
philpem@5 | 8914 | </table> |
philpem@5 | 8915 | </dl> |
philpem@5 | 8916 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported. </dd></dl> |
philpem@5 | 8917 | |
philpem@5 | 8918 | </div> |
philpem@5 | 8919 | </div><p> |
philpem@5 | 8920 | <a class="anchor" name="fa63fe980a96a02650684e9a21a4075b"></a><!-- doxytag: member="cimg_library::CImg::draw_quiver" ref="fa63fe980a96a02650684e9a21a4075b" args="(const CImg< t1 > &flow, const t2 *const color, const float opacity=1, const unsigned int sampling=25, const float factor=-20, const int quiver_type=0, const unsigned int pattern=~0U)" --> |
philpem@5 | 8921 | <div class="memitem"> |
philpem@5 | 8922 | <div class="memproto"> |
philpem@5 | 8923 | <table class="memname"> |
philpem@5 | 8924 | <tr> |
philpem@5 | 8925 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_quiver </td> |
philpem@5 | 8926 | <td>(</td> |
philpem@5 | 8927 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t1 > & </td> |
philpem@5 | 8928 | <td class="paramname"> <em>flow</em>, </td> |
philpem@5 | 8929 | </tr> |
philpem@5 | 8930 | <tr> |
philpem@5 | 8931 | <td class="paramkey"></td> |
philpem@5 | 8932 | <td></td> |
philpem@5 | 8933 | <td class="paramtype">const t2 *const </td> |
philpem@5 | 8934 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 8935 | </tr> |
philpem@5 | 8936 | <tr> |
philpem@5 | 8937 | <td class="paramkey"></td> |
philpem@5 | 8938 | <td></td> |
philpem@5 | 8939 | <td class="paramtype">const float </td> |
philpem@5 | 8940 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 8941 | </tr> |
philpem@5 | 8942 | <tr> |
philpem@5 | 8943 | <td class="paramkey"></td> |
philpem@5 | 8944 | <td></td> |
philpem@5 | 8945 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 8946 | <td class="paramname"> <em>sampling</em> = <code>25</code>, </td> |
philpem@5 | 8947 | </tr> |
philpem@5 | 8948 | <tr> |
philpem@5 | 8949 | <td class="paramkey"></td> |
philpem@5 | 8950 | <td></td> |
philpem@5 | 8951 | <td class="paramtype">const float </td> |
philpem@5 | 8952 | <td class="paramname"> <em>factor</em> = <code>-20</code>, </td> |
philpem@5 | 8953 | </tr> |
philpem@5 | 8954 | <tr> |
philpem@5 | 8955 | <td class="paramkey"></td> |
philpem@5 | 8956 | <td></td> |
philpem@5 | 8957 | <td class="paramtype">const int </td> |
philpem@5 | 8958 | <td class="paramname"> <em>quiver_type</em> = <code>0</code>, </td> |
philpem@5 | 8959 | </tr> |
philpem@5 | 8960 | <tr> |
philpem@5 | 8961 | <td class="paramkey"></td> |
philpem@5 | 8962 | <td></td> |
philpem@5 | 8963 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 8964 | <td class="paramname"> <em>pattern</em> = <code>~0U</code></td><td> </td> |
philpem@5 | 8965 | </tr> |
philpem@5 | 8966 | <tr> |
philpem@5 | 8967 | <td></td> |
philpem@5 | 8968 | <td>)</td> |
philpem@5 | 8969 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 8970 | </tr> |
philpem@5 | 8971 | </table> |
philpem@5 | 8972 | </div> |
philpem@5 | 8973 | <div class="memdoc"> |
philpem@5 | 8974 | |
philpem@5 | 8975 | <p> |
philpem@5 | 8976 | Draw a vector field in the instance image, using a colormap. |
philpem@5 | 8977 | <p> |
philpem@5 | 8978 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 8979 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 8980 | <tr><td valign="top"></td><td valign="top"><em>flow</em> </td><td>Image of 2d vectors used as input data. </td></tr> |
philpem@5 | 8981 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Image of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a>-D vectors corresponding to the color of each arrow. </td></tr> |
philpem@5 | 8982 | <tr><td valign="top"></td><td valign="top"><em>sampling</em> </td><td>Length (in pixels) between each arrow. </td></tr> |
philpem@5 | 8983 | <tr><td valign="top"></td><td valign="top"><em>factor</em> </td><td>Length factor of each arrow (if <0, computed as a percentage of the maximum length). </td></tr> |
philpem@5 | 8984 | <tr><td valign="top"></td><td valign="top"><em>quiver_type</em> </td><td>Type of plot. Can be 0 (arrows) or 1 (segments). </td></tr> |
philpem@5 | 8985 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Opacity of the drawing. </td></tr> |
philpem@5 | 8986 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>Used pattern to draw lines. </td></tr> |
philpem@5 | 8987 | </table> |
philpem@5 | 8988 | </dl> |
philpem@5 | 8989 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported. </dd></dl> |
philpem@5 | 8990 | |
philpem@5 | 8991 | </div> |
philpem@5 | 8992 | </div><p> |
philpem@5 | 8993 | <a class="anchor" name="cf68676d4536ff46ed896648ff08c904"></a><!-- doxytag: member="cimg_library::CImg::draw_quiver" ref="cf68676d4536ff46ed896648ff08c904" args="(const CImg< t1 > &flow, const CImg< t2 > &color, const float opacity=1, const unsigned int sampling=25, const float factor=-20, const int quiver_type=0, const unsigned int pattern=~0U)" --> |
philpem@5 | 8994 | <div class="memitem"> |
philpem@5 | 8995 | <div class="memproto"> |
philpem@5 | 8996 | <table class="memname"> |
philpem@5 | 8997 | <tr> |
philpem@5 | 8998 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_quiver </td> |
philpem@5 | 8999 | <td>(</td> |
philpem@5 | 9000 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t1 > & </td> |
philpem@5 | 9001 | <td class="paramname"> <em>flow</em>, </td> |
philpem@5 | 9002 | </tr> |
philpem@5 | 9003 | <tr> |
philpem@5 | 9004 | <td class="paramkey"></td> |
philpem@5 | 9005 | <td></td> |
philpem@5 | 9006 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t2 > & </td> |
philpem@5 | 9007 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9008 | </tr> |
philpem@5 | 9009 | <tr> |
philpem@5 | 9010 | <td class="paramkey"></td> |
philpem@5 | 9011 | <td></td> |
philpem@5 | 9012 | <td class="paramtype">const float </td> |
philpem@5 | 9013 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 9014 | </tr> |
philpem@5 | 9015 | <tr> |
philpem@5 | 9016 | <td class="paramkey"></td> |
philpem@5 | 9017 | <td></td> |
philpem@5 | 9018 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9019 | <td class="paramname"> <em>sampling</em> = <code>25</code>, </td> |
philpem@5 | 9020 | </tr> |
philpem@5 | 9021 | <tr> |
philpem@5 | 9022 | <td class="paramkey"></td> |
philpem@5 | 9023 | <td></td> |
philpem@5 | 9024 | <td class="paramtype">const float </td> |
philpem@5 | 9025 | <td class="paramname"> <em>factor</em> = <code>-20</code>, </td> |
philpem@5 | 9026 | </tr> |
philpem@5 | 9027 | <tr> |
philpem@5 | 9028 | <td class="paramkey"></td> |
philpem@5 | 9029 | <td></td> |
philpem@5 | 9030 | <td class="paramtype">const int </td> |
philpem@5 | 9031 | <td class="paramname"> <em>quiver_type</em> = <code>0</code>, </td> |
philpem@5 | 9032 | </tr> |
philpem@5 | 9033 | <tr> |
philpem@5 | 9034 | <td class="paramkey"></td> |
philpem@5 | 9035 | <td></td> |
philpem@5 | 9036 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9037 | <td class="paramname"> <em>pattern</em> = <code>~0U</code></td><td> </td> |
philpem@5 | 9038 | </tr> |
philpem@5 | 9039 | <tr> |
philpem@5 | 9040 | <td></td> |
philpem@5 | 9041 | <td>)</td> |
philpem@5 | 9042 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9043 | </tr> |
philpem@5 | 9044 | </table> |
philpem@5 | 9045 | </div> |
philpem@5 | 9046 | <div class="memdoc"> |
philpem@5 | 9047 | |
philpem@5 | 9048 | <p> |
philpem@5 | 9049 | Draw a vector field in the instance image, using a colormap. |
philpem@5 | 9050 | <p> |
philpem@5 | 9051 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9052 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9053 | <tr><td valign="top"></td><td valign="top"><em>flow</em> </td><td>Image of 2d vectors used as input data. </td></tr> |
philpem@5 | 9054 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Image of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a>-D vectors corresponding to the color of each arrow. </td></tr> |
philpem@5 | 9055 | <tr><td valign="top"></td><td valign="top"><em>sampling</em> </td><td>Length (in pixels) between each arrow. </td></tr> |
philpem@5 | 9056 | <tr><td valign="top"></td><td valign="top"><em>factor</em> </td><td>Length factor of each arrow (if <0, computed as a percentage of the maximum length). </td></tr> |
philpem@5 | 9057 | <tr><td valign="top"></td><td valign="top"><em>quiver_type</em> </td><td>Type of plot. Can be 0 (arrows) or 1 (segments). </td></tr> |
philpem@5 | 9058 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Opacity of the drawing. </td></tr> |
philpem@5 | 9059 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>Used pattern to draw lines. </td></tr> |
philpem@5 | 9060 | </table> |
philpem@5 | 9061 | </dl> |
philpem@5 | 9062 | <dl class="note" compact><dt><b>Note:</b></dt><dd>Clipping is supported. </dd></dl> |
philpem@5 | 9063 | |
philpem@5 | 9064 | </div> |
philpem@5 | 9065 | </div><p> |
philpem@5 | 9066 | <a class="anchor" name="67e7caaf13995641acfcd5749c39bbc7"></a><!-- doxytag: member="cimg_library::CImg::draw_graph" ref="67e7caaf13995641acfcd5749c39bbc7" args="(const CImg< t > &data, const tc *const color, const float opacity=1, const unsigned int plot_type=1, const unsigned int vertex_type=1, const double ymin=0, const double ymax=0, const unsigned int pattern=~0U)" --> |
philpem@5 | 9067 | <div class="memitem"> |
philpem@5 | 9068 | <div class="memproto"> |
philpem@5 | 9069 | <table class="memname"> |
philpem@5 | 9070 | <tr> |
philpem@5 | 9071 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_graph </td> |
philpem@5 | 9072 | <td>(</td> |
philpem@5 | 9073 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 9074 | <td class="paramname"> <em>data</em>, </td> |
philpem@5 | 9075 | </tr> |
philpem@5 | 9076 | <tr> |
philpem@5 | 9077 | <td class="paramkey"></td> |
philpem@5 | 9078 | <td></td> |
philpem@5 | 9079 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9080 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9081 | </tr> |
philpem@5 | 9082 | <tr> |
philpem@5 | 9083 | <td class="paramkey"></td> |
philpem@5 | 9084 | <td></td> |
philpem@5 | 9085 | <td class="paramtype">const float </td> |
philpem@5 | 9086 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 9087 | </tr> |
philpem@5 | 9088 | <tr> |
philpem@5 | 9089 | <td class="paramkey"></td> |
philpem@5 | 9090 | <td></td> |
philpem@5 | 9091 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9092 | <td class="paramname"> <em>plot_type</em> = <code>1</code>, </td> |
philpem@5 | 9093 | </tr> |
philpem@5 | 9094 | <tr> |
philpem@5 | 9095 | <td class="paramkey"></td> |
philpem@5 | 9096 | <td></td> |
philpem@5 | 9097 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9098 | <td class="paramname"> <em>vertex_type</em> = <code>1</code>, </td> |
philpem@5 | 9099 | </tr> |
philpem@5 | 9100 | <tr> |
philpem@5 | 9101 | <td class="paramkey"></td> |
philpem@5 | 9102 | <td></td> |
philpem@5 | 9103 | <td class="paramtype">const double </td> |
philpem@5 | 9104 | <td class="paramname"> <em>ymin</em> = <code>0</code>, </td> |
philpem@5 | 9105 | </tr> |
philpem@5 | 9106 | <tr> |
philpem@5 | 9107 | <td class="paramkey"></td> |
philpem@5 | 9108 | <td></td> |
philpem@5 | 9109 | <td class="paramtype">const double </td> |
philpem@5 | 9110 | <td class="paramname"> <em>ymax</em> = <code>0</code>, </td> |
philpem@5 | 9111 | </tr> |
philpem@5 | 9112 | <tr> |
philpem@5 | 9113 | <td class="paramkey"></td> |
philpem@5 | 9114 | <td></td> |
philpem@5 | 9115 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9116 | <td class="paramname"> <em>pattern</em> = <code>~0U</code></td><td> </td> |
philpem@5 | 9117 | </tr> |
philpem@5 | 9118 | <tr> |
philpem@5 | 9119 | <td></td> |
philpem@5 | 9120 | <td>)</td> |
philpem@5 | 9121 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9122 | </tr> |
philpem@5 | 9123 | </table> |
philpem@5 | 9124 | </div> |
philpem@5 | 9125 | <div class="memdoc"> |
philpem@5 | 9126 | |
philpem@5 | 9127 | <p> |
philpem@5 | 9128 | Draw a 1D graph on the instance image. |
philpem@5 | 9129 | <p> |
philpem@5 | 9130 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9131 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9132 | <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>Image containing the graph values I = f(x). </td></tr> |
philpem@5 | 9133 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9134 | <tr><td valign="top"></td><td valign="top"><em>gtype</em> </td><td>Define the type of the plot :<ul> |
philpem@5 | 9135 | <li>0 = Plot using points clouds.</li><li>1 = Plot using linear interpolation (segments).</li><li>2 = Plot with bars.</li><li>3 = Plot using cubic interpolation (3-polynomials).</li><li>4 = Plot using cross clouds. </li></ul> |
philpem@5 | 9136 | </td></tr> |
philpem@5 | 9137 | <tr><td valign="top"></td><td valign="top"><em>ymin</em> </td><td>Lower bound of the y-range. </td></tr> |
philpem@5 | 9138 | <tr><td valign="top"></td><td valign="top"><em>ymax</em> </td><td>Upper bound of the y-range. </td></tr> |
philpem@5 | 9139 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity. </td></tr> |
philpem@5 | 9140 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>Drawing pattern. </td></tr> |
philpem@5 | 9141 | </table> |
philpem@5 | 9142 | </dl> |
philpem@5 | 9143 | <dl class="note" compact><dt><b>Note:</b></dt><dd><ul> |
philpem@5 | 9144 | <li>if <code>ymin==ymax==0</code>, the y-range is computed automatically from the input sample. </li></ul> |
philpem@5 | 9145 | </dd></dl> |
philpem@5 | 9146 | |
philpem@5 | 9147 | </div> |
philpem@5 | 9148 | </div><p> |
philpem@5 | 9149 | <a class="anchor" name="08296af30d35f7d21b5609a674b9b49c"></a><!-- doxytag: member="cimg_library::CImg::draw_axis" ref="08296af30d35f7d21b5609a674b9b49c" args="(const CImg< t > &xvalues, const int y, const tc *const color, const float opacity=1, const unsigned int pattern=~0U)" --> |
philpem@5 | 9150 | <div class="memitem"> |
philpem@5 | 9151 | <div class="memproto"> |
philpem@5 | 9152 | <table class="memname"> |
philpem@5 | 9153 | <tr> |
philpem@5 | 9154 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_axis </td> |
philpem@5 | 9155 | <td>(</td> |
philpem@5 | 9156 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 9157 | <td class="paramname"> <em>xvalues</em>, </td> |
philpem@5 | 9158 | </tr> |
philpem@5 | 9159 | <tr> |
philpem@5 | 9160 | <td class="paramkey"></td> |
philpem@5 | 9161 | <td></td> |
philpem@5 | 9162 | <td class="paramtype">const int </td> |
philpem@5 | 9163 | <td class="paramname"> <em>y</em>, </td> |
philpem@5 | 9164 | </tr> |
philpem@5 | 9165 | <tr> |
philpem@5 | 9166 | <td class="paramkey"></td> |
philpem@5 | 9167 | <td></td> |
philpem@5 | 9168 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9169 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9170 | </tr> |
philpem@5 | 9171 | <tr> |
philpem@5 | 9172 | <td class="paramkey"></td> |
philpem@5 | 9173 | <td></td> |
philpem@5 | 9174 | <td class="paramtype">const float </td> |
philpem@5 | 9175 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 9176 | </tr> |
philpem@5 | 9177 | <tr> |
philpem@5 | 9178 | <td class="paramkey"></td> |
philpem@5 | 9179 | <td></td> |
philpem@5 | 9180 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9181 | <td class="paramname"> <em>pattern</em> = <code>~0U</code></td><td> </td> |
philpem@5 | 9182 | </tr> |
philpem@5 | 9183 | <tr> |
philpem@5 | 9184 | <td></td> |
philpem@5 | 9185 | <td>)</td> |
philpem@5 | 9186 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9187 | </tr> |
philpem@5 | 9188 | </table> |
philpem@5 | 9189 | </div> |
philpem@5 | 9190 | <div class="memdoc"> |
philpem@5 | 9191 | |
philpem@5 | 9192 | <p> |
philpem@5 | 9193 | Draw a labeled horizontal axis on the instance image. |
philpem@5 | 9194 | <p> |
philpem@5 | 9195 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9196 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9197 | <tr><td valign="top"></td><td valign="top"><em>xvalues</em> </td><td>Lower bound of the x-range. </td></tr> |
philpem@5 | 9198 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y-coordinate of the horizontal axis in the instance image. </td></tr> |
philpem@5 | 9199 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9200 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Drawing opacity. </td></tr> |
philpem@5 | 9201 | <tr><td valign="top"></td><td valign="top"><em>pattern</em> </td><td>Drawing pattern. </td></tr> |
philpem@5 | 9202 | <tr><td valign="top"></td><td valign="top"><em>opacity_out</em> </td><td>Drawing opacity of 'outside' axes. </td></tr> |
philpem@5 | 9203 | </table> |
philpem@5 | 9204 | </dl> |
philpem@5 | 9205 | <dl class="note" compact><dt><b>Note:</b></dt><dd>if <code>precision==0</code>, precision of the labels is automatically computed. </dd></dl> |
philpem@5 | 9206 | |
philpem@5 | 9207 | </div> |
philpem@5 | 9208 | </div><p> |
philpem@5 | 9209 | <a class="anchor" name="02af5e263936e2fc27aeaa3771cb31d4"></a><!-- doxytag: member="cimg_library::CImg::draw_fill" ref="02af5e263936e2fc27aeaa3771cb31d4" args="(const int x, const int y, const int z, const tc *const color, const float opacity, CImg< t > &region, const float sigma=0, const bool high_connexity=false)" --> |
philpem@5 | 9210 | <div class="memitem"> |
philpem@5 | 9211 | <div class="memproto"> |
philpem@5 | 9212 | <table class="memname"> |
philpem@5 | 9213 | <tr> |
philpem@5 | 9214 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_fill </td> |
philpem@5 | 9215 | <td>(</td> |
philpem@5 | 9216 | <td class="paramtype">const int </td> |
philpem@5 | 9217 | <td class="paramname"> <em>x</em>, </td> |
philpem@5 | 9218 | </tr> |
philpem@5 | 9219 | <tr> |
philpem@5 | 9220 | <td class="paramkey"></td> |
philpem@5 | 9221 | <td></td> |
philpem@5 | 9222 | <td class="paramtype">const int </td> |
philpem@5 | 9223 | <td class="paramname"> <em>y</em>, </td> |
philpem@5 | 9224 | </tr> |
philpem@5 | 9225 | <tr> |
philpem@5 | 9226 | <td class="paramkey"></td> |
philpem@5 | 9227 | <td></td> |
philpem@5 | 9228 | <td class="paramtype">const int </td> |
philpem@5 | 9229 | <td class="paramname"> <em>z</em>, </td> |
philpem@5 | 9230 | </tr> |
philpem@5 | 9231 | <tr> |
philpem@5 | 9232 | <td class="paramkey"></td> |
philpem@5 | 9233 | <td></td> |
philpem@5 | 9234 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9235 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9236 | </tr> |
philpem@5 | 9237 | <tr> |
philpem@5 | 9238 | <td class="paramkey"></td> |
philpem@5 | 9239 | <td></td> |
philpem@5 | 9240 | <td class="paramtype">const float </td> |
philpem@5 | 9241 | <td class="paramname"> <em>opacity</em>, </td> |
philpem@5 | 9242 | </tr> |
philpem@5 | 9243 | <tr> |
philpem@5 | 9244 | <td class="paramkey"></td> |
philpem@5 | 9245 | <td></td> |
philpem@5 | 9246 | <td class="paramtype"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 9247 | <td class="paramname"> <em>region</em>, </td> |
philpem@5 | 9248 | </tr> |
philpem@5 | 9249 | <tr> |
philpem@5 | 9250 | <td class="paramkey"></td> |
philpem@5 | 9251 | <td></td> |
philpem@5 | 9252 | <td class="paramtype">const float </td> |
philpem@5 | 9253 | <td class="paramname"> <em>sigma</em> = <code>0</code>, </td> |
philpem@5 | 9254 | </tr> |
philpem@5 | 9255 | <tr> |
philpem@5 | 9256 | <td class="paramkey"></td> |
philpem@5 | 9257 | <td></td> |
philpem@5 | 9258 | <td class="paramtype">const bool </td> |
philpem@5 | 9259 | <td class="paramname"> <em>high_connexity</em> = <code>false</code></td><td> </td> |
philpem@5 | 9260 | </tr> |
philpem@5 | 9261 | <tr> |
philpem@5 | 9262 | <td></td> |
philpem@5 | 9263 | <td>)</td> |
philpem@5 | 9264 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9265 | </tr> |
philpem@5 | 9266 | </table> |
philpem@5 | 9267 | </div> |
philpem@5 | 9268 | <div class="memdoc"> |
philpem@5 | 9269 | |
philpem@5 | 9270 | <p> |
philpem@5 | 9271 | Draw a 3D filled region starting from a point (<code>x</code>,<code>y</code>,\ z) in the instance image. |
philpem@5 | 9272 | <p> |
philpem@5 | 9273 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9274 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9275 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9276 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9277 | <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>Z-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9278 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>An array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9279 | <tr><td valign="top"></td><td valign="top"><em>region</em> </td><td>Image that will contain the mask of the filled region mask, as an output. </td></tr> |
philpem@5 | 9280 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>Tolerance concerning neighborhood values. </td></tr> |
philpem@5 | 9281 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>Opacity of the drawing. </td></tr> |
philpem@5 | 9282 | <tr><td valign="top"></td><td valign="top"><em>high_connexity</em> </td><td>Tells if 8-connexity must be used (only for 2D images). </td></tr> |
philpem@5 | 9283 | </table> |
philpem@5 | 9284 | </dl> |
philpem@5 | 9285 | <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>region</code> is initialized with the binary mask of the filled region. </dd></dl> |
philpem@5 | 9286 | |
philpem@5 | 9287 | </div> |
philpem@5 | 9288 | </div><p> |
philpem@5 | 9289 | <a class="anchor" name="f162693c97503ffb9789fcb2f8e16104"></a><!-- doxytag: member="cimg_library::CImg::draw_fill" ref="f162693c97503ffb9789fcb2f8e16104" args="(const int x, const int y, const int z, const tc *const color, const float opacity=1, const float sigma=0, const bool high_connexity=false)" --> |
philpem@5 | 9290 | <div class="memitem"> |
philpem@5 | 9291 | <div class="memproto"> |
philpem@5 | 9292 | <table class="memname"> |
philpem@5 | 9293 | <tr> |
philpem@5 | 9294 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_fill </td> |
philpem@5 | 9295 | <td>(</td> |
philpem@5 | 9296 | <td class="paramtype">const int </td> |
philpem@5 | 9297 | <td class="paramname"> <em>x</em>, </td> |
philpem@5 | 9298 | </tr> |
philpem@5 | 9299 | <tr> |
philpem@5 | 9300 | <td class="paramkey"></td> |
philpem@5 | 9301 | <td></td> |
philpem@5 | 9302 | <td class="paramtype">const int </td> |
philpem@5 | 9303 | <td class="paramname"> <em>y</em>, </td> |
philpem@5 | 9304 | </tr> |
philpem@5 | 9305 | <tr> |
philpem@5 | 9306 | <td class="paramkey"></td> |
philpem@5 | 9307 | <td></td> |
philpem@5 | 9308 | <td class="paramtype">const int </td> |
philpem@5 | 9309 | <td class="paramname"> <em>z</em>, </td> |
philpem@5 | 9310 | </tr> |
philpem@5 | 9311 | <tr> |
philpem@5 | 9312 | <td class="paramkey"></td> |
philpem@5 | 9313 | <td></td> |
philpem@5 | 9314 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9315 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9316 | </tr> |
philpem@5 | 9317 | <tr> |
philpem@5 | 9318 | <td class="paramkey"></td> |
philpem@5 | 9319 | <td></td> |
philpem@5 | 9320 | <td class="paramtype">const float </td> |
philpem@5 | 9321 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 9322 | </tr> |
philpem@5 | 9323 | <tr> |
philpem@5 | 9324 | <td class="paramkey"></td> |
philpem@5 | 9325 | <td></td> |
philpem@5 | 9326 | <td class="paramtype">const float </td> |
philpem@5 | 9327 | <td class="paramname"> <em>sigma</em> = <code>0</code>, </td> |
philpem@5 | 9328 | </tr> |
philpem@5 | 9329 | <tr> |
philpem@5 | 9330 | <td class="paramkey"></td> |
philpem@5 | 9331 | <td></td> |
philpem@5 | 9332 | <td class="paramtype">const bool </td> |
philpem@5 | 9333 | <td class="paramname"> <em>high_connexity</em> = <code>false</code></td><td> </td> |
philpem@5 | 9334 | </tr> |
philpem@5 | 9335 | <tr> |
philpem@5 | 9336 | <td></td> |
philpem@5 | 9337 | <td>)</td> |
philpem@5 | 9338 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9339 | </tr> |
philpem@5 | 9340 | </table> |
philpem@5 | 9341 | </div> |
philpem@5 | 9342 | <div class="memdoc"> |
philpem@5 | 9343 | |
philpem@5 | 9344 | <p> |
philpem@5 | 9345 | Draw a 3D filled region starting from a point (<code>x</code>,<code>y</code>,\ z) in the instance image. |
philpem@5 | 9346 | <p> |
philpem@5 | 9347 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9348 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9349 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>= X-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9350 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>= Y-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9351 | <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>= Z-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9352 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= an array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9353 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>= tolerance concerning neighborhood values. </td></tr> |
philpem@5 | 9354 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9355 | </table> |
philpem@5 | 9356 | </dl> |
philpem@5 | 9357 | |
philpem@5 | 9358 | </div> |
philpem@5 | 9359 | </div><p> |
philpem@5 | 9360 | <a class="anchor" name="5c78c87e946126179b3fd659fd15a90f"></a><!-- doxytag: member="cimg_library::CImg::draw_fill" ref="5c78c87e946126179b3fd659fd15a90f" args="(const int x, const int y, const tc *const color, const float opacity=1, const float sigma=0, const bool high_connexity=false)" --> |
philpem@5 | 9361 | <div class="memitem"> |
philpem@5 | 9362 | <div class="memproto"> |
philpem@5 | 9363 | <table class="memname"> |
philpem@5 | 9364 | <tr> |
philpem@5 | 9365 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_fill </td> |
philpem@5 | 9366 | <td>(</td> |
philpem@5 | 9367 | <td class="paramtype">const int </td> |
philpem@5 | 9368 | <td class="paramname"> <em>x</em>, </td> |
philpem@5 | 9369 | </tr> |
philpem@5 | 9370 | <tr> |
philpem@5 | 9371 | <td class="paramkey"></td> |
philpem@5 | 9372 | <td></td> |
philpem@5 | 9373 | <td class="paramtype">const int </td> |
philpem@5 | 9374 | <td class="paramname"> <em>y</em>, </td> |
philpem@5 | 9375 | </tr> |
philpem@5 | 9376 | <tr> |
philpem@5 | 9377 | <td class="paramkey"></td> |
philpem@5 | 9378 | <td></td> |
philpem@5 | 9379 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9380 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9381 | </tr> |
philpem@5 | 9382 | <tr> |
philpem@5 | 9383 | <td class="paramkey"></td> |
philpem@5 | 9384 | <td></td> |
philpem@5 | 9385 | <td class="paramtype">const float </td> |
philpem@5 | 9386 | <td class="paramname"> <em>opacity</em> = <code>1</code>, </td> |
philpem@5 | 9387 | </tr> |
philpem@5 | 9388 | <tr> |
philpem@5 | 9389 | <td class="paramkey"></td> |
philpem@5 | 9390 | <td></td> |
philpem@5 | 9391 | <td class="paramtype">const float </td> |
philpem@5 | 9392 | <td class="paramname"> <em>sigma</em> = <code>0</code>, </td> |
philpem@5 | 9393 | </tr> |
philpem@5 | 9394 | <tr> |
philpem@5 | 9395 | <td class="paramkey"></td> |
philpem@5 | 9396 | <td></td> |
philpem@5 | 9397 | <td class="paramtype">const bool </td> |
philpem@5 | 9398 | <td class="paramname"> <em>high_connexity</em> = <code>false</code></td><td> </td> |
philpem@5 | 9399 | </tr> |
philpem@5 | 9400 | <tr> |
philpem@5 | 9401 | <td></td> |
philpem@5 | 9402 | <td>)</td> |
philpem@5 | 9403 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9404 | </tr> |
philpem@5 | 9405 | </table> |
philpem@5 | 9406 | </div> |
philpem@5 | 9407 | <div class="memdoc"> |
philpem@5 | 9408 | |
philpem@5 | 9409 | <p> |
philpem@5 | 9410 | Draw a 2D filled region starting from a point (<code>x</code>,<code>y</code>) in the instance image. |
philpem@5 | 9411 | <p> |
philpem@5 | 9412 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9413 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9414 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>= X-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9415 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>= Y-coordinate of the starting point of the region to fill. </td></tr> |
philpem@5 | 9416 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= an array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9417 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>= tolerance concerning neighborhood values. </td></tr> |
philpem@5 | 9418 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9419 | </table> |
philpem@5 | 9420 | </dl> |
philpem@5 | 9421 | |
philpem@5 | 9422 | </div> |
philpem@5 | 9423 | </div><p> |
philpem@5 | 9424 | <a class="anchor" name="aaf8df45b2e20d132a28cbdffef77c18"></a><!-- doxytag: member="cimg_library::CImg::draw_plasma" ref="aaf8df45b2e20d132a28cbdffef77c18" args="(const int x0, const int y0, const int x1, const int y1, const float alpha=1, const float beta=1, const float opacity=1)" --> |
philpem@5 | 9425 | <div class="memitem"> |
philpem@5 | 9426 | <div class="memproto"> |
philpem@5 | 9427 | <table class="memname"> |
philpem@5 | 9428 | <tr> |
philpem@5 | 9429 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_plasma </td> |
philpem@5 | 9430 | <td>(</td> |
philpem@5 | 9431 | <td class="paramtype">const int </td> |
philpem@5 | 9432 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 9433 | </tr> |
philpem@5 | 9434 | <tr> |
philpem@5 | 9435 | <td class="paramkey"></td> |
philpem@5 | 9436 | <td></td> |
philpem@5 | 9437 | <td class="paramtype">const int </td> |
philpem@5 | 9438 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 9439 | </tr> |
philpem@5 | 9440 | <tr> |
philpem@5 | 9441 | <td class="paramkey"></td> |
philpem@5 | 9442 | <td></td> |
philpem@5 | 9443 | <td class="paramtype">const int </td> |
philpem@5 | 9444 | <td class="paramname"> <em>x1</em>, </td> |
philpem@5 | 9445 | </tr> |
philpem@5 | 9446 | <tr> |
philpem@5 | 9447 | <td class="paramkey"></td> |
philpem@5 | 9448 | <td></td> |
philpem@5 | 9449 | <td class="paramtype">const int </td> |
philpem@5 | 9450 | <td class="paramname"> <em>y1</em>, </td> |
philpem@5 | 9451 | </tr> |
philpem@5 | 9452 | <tr> |
philpem@5 | 9453 | <td class="paramkey"></td> |
philpem@5 | 9454 | <td></td> |
philpem@5 | 9455 | <td class="paramtype">const float </td> |
philpem@5 | 9456 | <td class="paramname"> <em>alpha</em> = <code>1</code>, </td> |
philpem@5 | 9457 | </tr> |
philpem@5 | 9458 | <tr> |
philpem@5 | 9459 | <td class="paramkey"></td> |
philpem@5 | 9460 | <td></td> |
philpem@5 | 9461 | <td class="paramtype">const float </td> |
philpem@5 | 9462 | <td class="paramname"> <em>beta</em> = <code>1</code>, </td> |
philpem@5 | 9463 | </tr> |
philpem@5 | 9464 | <tr> |
philpem@5 | 9465 | <td class="paramkey"></td> |
philpem@5 | 9466 | <td></td> |
philpem@5 | 9467 | <td class="paramtype">const float </td> |
philpem@5 | 9468 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 9469 | </tr> |
philpem@5 | 9470 | <tr> |
philpem@5 | 9471 | <td></td> |
philpem@5 | 9472 | <td>)</td> |
philpem@5 | 9473 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9474 | </tr> |
philpem@5 | 9475 | </table> |
philpem@5 | 9476 | </div> |
philpem@5 | 9477 | <div class="memdoc"> |
philpem@5 | 9478 | |
philpem@5 | 9479 | <p> |
philpem@5 | 9480 | Draw a plasma random texture. |
philpem@5 | 9481 | <p> |
philpem@5 | 9482 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9483 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9484 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>= X-coordinate of the upper-left corner of the plasma. </td></tr> |
philpem@5 | 9485 | <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>= Y-coordinate of the upper-left corner of the plasma. </td></tr> |
philpem@5 | 9486 | <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>= X-coordinate of the lower-right corner of the plasma. </td></tr> |
philpem@5 | 9487 | <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>= Y-coordinate of the lower-right corner of the plasma. </td></tr> |
philpem@5 | 9488 | <tr><td valign="top"></td><td valign="top"><em>alpha</em> </td><td>= Alpha-parameter of the plasma. </td></tr> |
philpem@5 | 9489 | <tr><td valign="top"></td><td valign="top"><em>beta</em> </td><td>= Beta-parameter of the plasma. </td></tr> |
philpem@5 | 9490 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9491 | </table> |
philpem@5 | 9492 | </dl> |
philpem@5 | 9493 | |
philpem@5 | 9494 | </div> |
philpem@5 | 9495 | </div><p> |
philpem@5 | 9496 | <a class="anchor" name="d8b2f5c685dbc7389dfb94217f4db8d2"></a><!-- doxytag: member="cimg_library::CImg::draw_plasma" ref="d8b2f5c685dbc7389dfb94217f4db8d2" args="(const float alpha=1, const float beta=1, const float opacity=1)" --> |
philpem@5 | 9497 | <div class="memitem"> |
philpem@5 | 9498 | <div class="memproto"> |
philpem@5 | 9499 | <table class="memname"> |
philpem@5 | 9500 | <tr> |
philpem@5 | 9501 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_plasma </td> |
philpem@5 | 9502 | <td>(</td> |
philpem@5 | 9503 | <td class="paramtype">const float </td> |
philpem@5 | 9504 | <td class="paramname"> <em>alpha</em> = <code>1</code>, </td> |
philpem@5 | 9505 | </tr> |
philpem@5 | 9506 | <tr> |
philpem@5 | 9507 | <td class="paramkey"></td> |
philpem@5 | 9508 | <td></td> |
philpem@5 | 9509 | <td class="paramtype">const float </td> |
philpem@5 | 9510 | <td class="paramname"> <em>beta</em> = <code>1</code>, </td> |
philpem@5 | 9511 | </tr> |
philpem@5 | 9512 | <tr> |
philpem@5 | 9513 | <td class="paramkey"></td> |
philpem@5 | 9514 | <td></td> |
philpem@5 | 9515 | <td class="paramtype">const float </td> |
philpem@5 | 9516 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 9517 | </tr> |
philpem@5 | 9518 | <tr> |
philpem@5 | 9519 | <td></td> |
philpem@5 | 9520 | <td>)</td> |
philpem@5 | 9521 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9522 | </tr> |
philpem@5 | 9523 | </table> |
philpem@5 | 9524 | </div> |
philpem@5 | 9525 | <div class="memdoc"> |
philpem@5 | 9526 | |
philpem@5 | 9527 | <p> |
philpem@5 | 9528 | Draw a plasma random texture. |
philpem@5 | 9529 | <p> |
philpem@5 | 9530 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9531 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9532 | <tr><td valign="top"></td><td valign="top"><em>alpha</em> </td><td>= Alpha-parameter of the plasma. </td></tr> |
philpem@5 | 9533 | <tr><td valign="top"></td><td valign="top"><em>beta</em> </td><td>= Beta-parameter of the plasma. </td></tr> |
philpem@5 | 9534 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9535 | </table> |
philpem@5 | 9536 | </dl> |
philpem@5 | 9537 | |
philpem@5 | 9538 | </div> |
philpem@5 | 9539 | </div><p> |
philpem@5 | 9540 | <a class="anchor" name="c27a8c4da38899f60456ea7d3535915b"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="c27a8c4da38899f60456ea7d3535915b" args="(const float xc, const float sigma, const tc *const color, const float opacity=1)" --> |
philpem@5 | 9541 | <div class="memitem"> |
philpem@5 | 9542 | <div class="memproto"> |
philpem@5 | 9543 | <table class="memname"> |
philpem@5 | 9544 | <tr> |
philpem@5 | 9545 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_gaussian </td> |
philpem@5 | 9546 | <td>(</td> |
philpem@5 | 9547 | <td class="paramtype">const float </td> |
philpem@5 | 9548 | <td class="paramname"> <em>xc</em>, </td> |
philpem@5 | 9549 | </tr> |
philpem@5 | 9550 | <tr> |
philpem@5 | 9551 | <td class="paramkey"></td> |
philpem@5 | 9552 | <td></td> |
philpem@5 | 9553 | <td class="paramtype">const float </td> |
philpem@5 | 9554 | <td class="paramname"> <em>sigma</em>, </td> |
philpem@5 | 9555 | </tr> |
philpem@5 | 9556 | <tr> |
philpem@5 | 9557 | <td class="paramkey"></td> |
philpem@5 | 9558 | <td></td> |
philpem@5 | 9559 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9560 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9561 | </tr> |
philpem@5 | 9562 | <tr> |
philpem@5 | 9563 | <td class="paramkey"></td> |
philpem@5 | 9564 | <td></td> |
philpem@5 | 9565 | <td class="paramtype">const float </td> |
philpem@5 | 9566 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 9567 | </tr> |
philpem@5 | 9568 | <tr> |
philpem@5 | 9569 | <td></td> |
philpem@5 | 9570 | <td>)</td> |
philpem@5 | 9571 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9572 | </tr> |
philpem@5 | 9573 | </table> |
philpem@5 | 9574 | </div> |
philpem@5 | 9575 | <div class="memdoc"> |
philpem@5 | 9576 | |
philpem@5 | 9577 | <p> |
philpem@5 | 9578 | Draw a 1D gaussian function in the instance image. |
philpem@5 | 9579 | <p> |
philpem@5 | 9580 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9581 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9582 | <tr><td valign="top"></td><td valign="top"><em>xc</em> </td><td>= X-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9583 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>= Standard variation of the gaussian distribution. </td></tr> |
philpem@5 | 9584 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9585 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9586 | </table> |
philpem@5 | 9587 | </dl> |
philpem@5 | 9588 | |
philpem@5 | 9589 | </div> |
philpem@5 | 9590 | </div><p> |
philpem@5 | 9591 | <a class="anchor" name="a56c60d556b1a888a4e3c6caee5a7f84"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="a56c60d556b1a888a4e3c6caee5a7f84" args="(const float xc, const float yc, const CImg< t > &tensor, const tc *const color, const float opacity=1)" --> |
philpem@5 | 9592 | <div class="memitem"> |
philpem@5 | 9593 | <div class="memproto"> |
philpem@5 | 9594 | <table class="memname"> |
philpem@5 | 9595 | <tr> |
philpem@5 | 9596 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_gaussian </td> |
philpem@5 | 9597 | <td>(</td> |
philpem@5 | 9598 | <td class="paramtype">const float </td> |
philpem@5 | 9599 | <td class="paramname"> <em>xc</em>, </td> |
philpem@5 | 9600 | </tr> |
philpem@5 | 9601 | <tr> |
philpem@5 | 9602 | <td class="paramkey"></td> |
philpem@5 | 9603 | <td></td> |
philpem@5 | 9604 | <td class="paramtype">const float </td> |
philpem@5 | 9605 | <td class="paramname"> <em>yc</em>, </td> |
philpem@5 | 9606 | </tr> |
philpem@5 | 9607 | <tr> |
philpem@5 | 9608 | <td class="paramkey"></td> |
philpem@5 | 9609 | <td></td> |
philpem@5 | 9610 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 9611 | <td class="paramname"> <em>tensor</em>, </td> |
philpem@5 | 9612 | </tr> |
philpem@5 | 9613 | <tr> |
philpem@5 | 9614 | <td class="paramkey"></td> |
philpem@5 | 9615 | <td></td> |
philpem@5 | 9616 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9617 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9618 | </tr> |
philpem@5 | 9619 | <tr> |
philpem@5 | 9620 | <td class="paramkey"></td> |
philpem@5 | 9621 | <td></td> |
philpem@5 | 9622 | <td class="paramtype">const float </td> |
philpem@5 | 9623 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 9624 | </tr> |
philpem@5 | 9625 | <tr> |
philpem@5 | 9626 | <td></td> |
philpem@5 | 9627 | <td>)</td> |
philpem@5 | 9628 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9629 | </tr> |
philpem@5 | 9630 | </table> |
philpem@5 | 9631 | </div> |
philpem@5 | 9632 | <div class="memdoc"> |
philpem@5 | 9633 | |
philpem@5 | 9634 | <p> |
philpem@5 | 9635 | Draw an anisotropic 2D gaussian function. |
philpem@5 | 9636 | <p> |
philpem@5 | 9637 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9638 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9639 | <tr><td valign="top"></td><td valign="top"><em>xc</em> </td><td>= X-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9640 | <tr><td valign="top"></td><td valign="top"><em>yc</em> </td><td>= Y-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9641 | <tr><td valign="top"></td><td valign="top"><em>tensor</em> </td><td>= 2x2 covariance matrix. </td></tr> |
philpem@5 | 9642 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9643 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9644 | </table> |
philpem@5 | 9645 | </dl> |
philpem@5 | 9646 | |
philpem@5 | 9647 | </div> |
philpem@5 | 9648 | </div><p> |
philpem@5 | 9649 | <a class="anchor" name="5176ca43ce93eeaa158f8e3456606752"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="5176ca43ce93eeaa158f8e3456606752" args="(const float xc, const float yc, const float sigma, const tc *const color, const float opacity=1)" --> |
philpem@5 | 9650 | <div class="memitem"> |
philpem@5 | 9651 | <div class="memproto"> |
philpem@5 | 9652 | <table class="memname"> |
philpem@5 | 9653 | <tr> |
philpem@5 | 9654 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_gaussian </td> |
philpem@5 | 9655 | <td>(</td> |
philpem@5 | 9656 | <td class="paramtype">const float </td> |
philpem@5 | 9657 | <td class="paramname"> <em>xc</em>, </td> |
philpem@5 | 9658 | </tr> |
philpem@5 | 9659 | <tr> |
philpem@5 | 9660 | <td class="paramkey"></td> |
philpem@5 | 9661 | <td></td> |
philpem@5 | 9662 | <td class="paramtype">const float </td> |
philpem@5 | 9663 | <td class="paramname"> <em>yc</em>, </td> |
philpem@5 | 9664 | </tr> |
philpem@5 | 9665 | <tr> |
philpem@5 | 9666 | <td class="paramkey"></td> |
philpem@5 | 9667 | <td></td> |
philpem@5 | 9668 | <td class="paramtype">const float </td> |
philpem@5 | 9669 | <td class="paramname"> <em>sigma</em>, </td> |
philpem@5 | 9670 | </tr> |
philpem@5 | 9671 | <tr> |
philpem@5 | 9672 | <td class="paramkey"></td> |
philpem@5 | 9673 | <td></td> |
philpem@5 | 9674 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9675 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9676 | </tr> |
philpem@5 | 9677 | <tr> |
philpem@5 | 9678 | <td class="paramkey"></td> |
philpem@5 | 9679 | <td></td> |
philpem@5 | 9680 | <td class="paramtype">const float </td> |
philpem@5 | 9681 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 9682 | </tr> |
philpem@5 | 9683 | <tr> |
philpem@5 | 9684 | <td></td> |
philpem@5 | 9685 | <td>)</td> |
philpem@5 | 9686 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9687 | </tr> |
philpem@5 | 9688 | </table> |
philpem@5 | 9689 | </div> |
philpem@5 | 9690 | <div class="memdoc"> |
philpem@5 | 9691 | |
philpem@5 | 9692 | <p> |
philpem@5 | 9693 | Draw an isotropic 2D gaussian function. |
philpem@5 | 9694 | <p> |
philpem@5 | 9695 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9696 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9697 | <tr><td valign="top"></td><td valign="top"><em>xc</em> </td><td>= X-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9698 | <tr><td valign="top"></td><td valign="top"><em>yc</em> </td><td>= Y-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9699 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>= standard variation of the gaussian distribution. </td></tr> |
philpem@5 | 9700 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9701 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9702 | </table> |
philpem@5 | 9703 | </dl> |
philpem@5 | 9704 | |
philpem@5 | 9705 | </div> |
philpem@5 | 9706 | </div><p> |
philpem@5 | 9707 | <a class="anchor" name="1433a5536718d44e9b42462bdca5fc06"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="1433a5536718d44e9b42462bdca5fc06" args="(const float xc, const float yc, const float zc, const CImg< t > &tensor, const tc *const color, const float opacity=1)" --> |
philpem@5 | 9708 | <div class="memitem"> |
philpem@5 | 9709 | <div class="memproto"> |
philpem@5 | 9710 | <table class="memname"> |
philpem@5 | 9711 | <tr> |
philpem@5 | 9712 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_gaussian </td> |
philpem@5 | 9713 | <td>(</td> |
philpem@5 | 9714 | <td class="paramtype">const float </td> |
philpem@5 | 9715 | <td class="paramname"> <em>xc</em>, </td> |
philpem@5 | 9716 | </tr> |
philpem@5 | 9717 | <tr> |
philpem@5 | 9718 | <td class="paramkey"></td> |
philpem@5 | 9719 | <td></td> |
philpem@5 | 9720 | <td class="paramtype">const float </td> |
philpem@5 | 9721 | <td class="paramname"> <em>yc</em>, </td> |
philpem@5 | 9722 | </tr> |
philpem@5 | 9723 | <tr> |
philpem@5 | 9724 | <td class="paramkey"></td> |
philpem@5 | 9725 | <td></td> |
philpem@5 | 9726 | <td class="paramtype">const float </td> |
philpem@5 | 9727 | <td class="paramname"> <em>zc</em>, </td> |
philpem@5 | 9728 | </tr> |
philpem@5 | 9729 | <tr> |
philpem@5 | 9730 | <td class="paramkey"></td> |
philpem@5 | 9731 | <td></td> |
philpem@5 | 9732 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 9733 | <td class="paramname"> <em>tensor</em>, </td> |
philpem@5 | 9734 | </tr> |
philpem@5 | 9735 | <tr> |
philpem@5 | 9736 | <td class="paramkey"></td> |
philpem@5 | 9737 | <td></td> |
philpem@5 | 9738 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9739 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9740 | </tr> |
philpem@5 | 9741 | <tr> |
philpem@5 | 9742 | <td class="paramkey"></td> |
philpem@5 | 9743 | <td></td> |
philpem@5 | 9744 | <td class="paramtype">const float </td> |
philpem@5 | 9745 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 9746 | </tr> |
philpem@5 | 9747 | <tr> |
philpem@5 | 9748 | <td></td> |
philpem@5 | 9749 | <td>)</td> |
philpem@5 | 9750 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9751 | </tr> |
philpem@5 | 9752 | </table> |
philpem@5 | 9753 | </div> |
philpem@5 | 9754 | <div class="memdoc"> |
philpem@5 | 9755 | |
philpem@5 | 9756 | <p> |
philpem@5 | 9757 | Draw an anisotropic 3D gaussian function. |
philpem@5 | 9758 | <p> |
philpem@5 | 9759 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9760 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9761 | <tr><td valign="top"></td><td valign="top"><em>xc</em> </td><td>= X-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9762 | <tr><td valign="top"></td><td valign="top"><em>yc</em> </td><td>= Y-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9763 | <tr><td valign="top"></td><td valign="top"><em>zc</em> </td><td>= Z-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9764 | <tr><td valign="top"></td><td valign="top"><em>tensor</em> </td><td>= 3x3 covariance matrix. </td></tr> |
philpem@5 | 9765 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9766 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9767 | </table> |
philpem@5 | 9768 | </dl> |
philpem@5 | 9769 | |
philpem@5 | 9770 | </div> |
philpem@5 | 9771 | </div><p> |
philpem@5 | 9772 | <a class="anchor" name="7a9367d3e05ac8cda34fae2d639c42a6"></a><!-- doxytag: member="cimg_library::CImg::draw_gaussian" ref="7a9367d3e05ac8cda34fae2d639c42a6" args="(const float xc, const float yc, const float zc, const float sigma, const tc *const color, const float opacity=1)" --> |
philpem@5 | 9773 | <div class="memitem"> |
philpem@5 | 9774 | <div class="memproto"> |
philpem@5 | 9775 | <table class="memname"> |
philpem@5 | 9776 | <tr> |
philpem@5 | 9777 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_gaussian </td> |
philpem@5 | 9778 | <td>(</td> |
philpem@5 | 9779 | <td class="paramtype">const float </td> |
philpem@5 | 9780 | <td class="paramname"> <em>xc</em>, </td> |
philpem@5 | 9781 | </tr> |
philpem@5 | 9782 | <tr> |
philpem@5 | 9783 | <td class="paramkey"></td> |
philpem@5 | 9784 | <td></td> |
philpem@5 | 9785 | <td class="paramtype">const float </td> |
philpem@5 | 9786 | <td class="paramname"> <em>yc</em>, </td> |
philpem@5 | 9787 | </tr> |
philpem@5 | 9788 | <tr> |
philpem@5 | 9789 | <td class="paramkey"></td> |
philpem@5 | 9790 | <td></td> |
philpem@5 | 9791 | <td class="paramtype">const float </td> |
philpem@5 | 9792 | <td class="paramname"> <em>zc</em>, </td> |
philpem@5 | 9793 | </tr> |
philpem@5 | 9794 | <tr> |
philpem@5 | 9795 | <td class="paramkey"></td> |
philpem@5 | 9796 | <td></td> |
philpem@5 | 9797 | <td class="paramtype">const float </td> |
philpem@5 | 9798 | <td class="paramname"> <em>sigma</em>, </td> |
philpem@5 | 9799 | </tr> |
philpem@5 | 9800 | <tr> |
philpem@5 | 9801 | <td class="paramkey"></td> |
philpem@5 | 9802 | <td></td> |
philpem@5 | 9803 | <td class="paramtype">const tc *const </td> |
philpem@5 | 9804 | <td class="paramname"> <em>color</em>, </td> |
philpem@5 | 9805 | </tr> |
philpem@5 | 9806 | <tr> |
philpem@5 | 9807 | <td class="paramkey"></td> |
philpem@5 | 9808 | <td></td> |
philpem@5 | 9809 | <td class="paramtype">const float </td> |
philpem@5 | 9810 | <td class="paramname"> <em>opacity</em> = <code>1</code></td><td> </td> |
philpem@5 | 9811 | </tr> |
philpem@5 | 9812 | <tr> |
philpem@5 | 9813 | <td></td> |
philpem@5 | 9814 | <td>)</td> |
philpem@5 | 9815 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9816 | </tr> |
philpem@5 | 9817 | </table> |
philpem@5 | 9818 | </div> |
philpem@5 | 9819 | <div class="memdoc"> |
philpem@5 | 9820 | |
philpem@5 | 9821 | <p> |
philpem@5 | 9822 | Draw an isotropic 3D gaussian function. |
philpem@5 | 9823 | <p> |
philpem@5 | 9824 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9825 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9826 | <tr><td valign="top"></td><td valign="top"><em>xc</em> </td><td>= X-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9827 | <tr><td valign="top"></td><td valign="top"><em>yc</em> </td><td>= Y-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9828 | <tr><td valign="top"></td><td valign="top"><em>zc</em> </td><td>= Z-coordinate of the gaussian center. </td></tr> |
philpem@5 | 9829 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>= standard variation of the gaussian distribution. </td></tr> |
philpem@5 | 9830 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>= array of <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">dimv()</a> values of type <code>T</code>, defining the drawing color. </td></tr> |
philpem@5 | 9831 | <tr><td valign="top"></td><td valign="top"><em>opacity</em> </td><td>= opacity of the drawing. </td></tr> |
philpem@5 | 9832 | </table> |
philpem@5 | 9833 | </dl> |
philpem@5 | 9834 | |
philpem@5 | 9835 | </div> |
philpem@5 | 9836 | </div><p> |
philpem@5 | 9837 | <a class="anchor" name="be9e9614682023f314b77913230c373a"></a><!-- doxytag: member="cimg_library::CImg::draw_object3d" ref="be9e9614682023f314b77913230c373a" args="(const float x0, const float y0, const float z0, const CImg< tp > &points, const CImgList< tf > &primitives, const CImgList< tc > &colors, const CImgList< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, float *const zbuffer=0)" --> |
philpem@5 | 9838 | <div class="memitem"> |
philpem@5 | 9839 | <div class="memproto"> |
philpem@5 | 9840 | <table class="memname"> |
philpem@5 | 9841 | <tr> |
philpem@5 | 9842 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& draw_object3d </td> |
philpem@5 | 9843 | <td>(</td> |
philpem@5 | 9844 | <td class="paramtype">const float </td> |
philpem@5 | 9845 | <td class="paramname"> <em>x0</em>, </td> |
philpem@5 | 9846 | </tr> |
philpem@5 | 9847 | <tr> |
philpem@5 | 9848 | <td class="paramkey"></td> |
philpem@5 | 9849 | <td></td> |
philpem@5 | 9850 | <td class="paramtype">const float </td> |
philpem@5 | 9851 | <td class="paramname"> <em>y0</em>, </td> |
philpem@5 | 9852 | </tr> |
philpem@5 | 9853 | <tr> |
philpem@5 | 9854 | <td class="paramkey"></td> |
philpem@5 | 9855 | <td></td> |
philpem@5 | 9856 | <td class="paramtype">const float </td> |
philpem@5 | 9857 | <td class="paramname"> <em>z0</em>, </td> |
philpem@5 | 9858 | </tr> |
philpem@5 | 9859 | <tr> |
philpem@5 | 9860 | <td class="paramkey"></td> |
philpem@5 | 9861 | <td></td> |
philpem@5 | 9862 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tp > & </td> |
philpem@5 | 9863 | <td class="paramname"> <em>points</em>, </td> |
philpem@5 | 9864 | </tr> |
philpem@5 | 9865 | <tr> |
philpem@5 | 9866 | <td class="paramkey"></td> |
philpem@5 | 9867 | <td></td> |
philpem@5 | 9868 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tf > & </td> |
philpem@5 | 9869 | <td class="paramname"> <em>primitives</em>, </td> |
philpem@5 | 9870 | </tr> |
philpem@5 | 9871 | <tr> |
philpem@5 | 9872 | <td class="paramkey"></td> |
philpem@5 | 9873 | <td></td> |
philpem@5 | 9874 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< tc > & </td> |
philpem@5 | 9875 | <td class="paramname"> <em>colors</em>, </td> |
philpem@5 | 9876 | </tr> |
philpem@5 | 9877 | <tr> |
philpem@5 | 9878 | <td class="paramkey"></td> |
philpem@5 | 9879 | <td></td> |
philpem@5 | 9880 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImgList.html">CImgList</a>< to > & </td> |
philpem@5 | 9881 | <td class="paramname"> <em>opacities</em>, </td> |
philpem@5 | 9882 | </tr> |
philpem@5 | 9883 | <tr> |
philpem@5 | 9884 | <td class="paramkey"></td> |
philpem@5 | 9885 | <td></td> |
philpem@5 | 9886 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9887 | <td class="paramname"> <em>render_type</em> = <code>4</code>, </td> |
philpem@5 | 9888 | </tr> |
philpem@5 | 9889 | <tr> |
philpem@5 | 9890 | <td class="paramkey"></td> |
philpem@5 | 9891 | <td></td> |
philpem@5 | 9892 | <td class="paramtype">const bool </td> |
philpem@5 | 9893 | <td class="paramname"> <em>double_sided</em> = <code>false</code>, </td> |
philpem@5 | 9894 | </tr> |
philpem@5 | 9895 | <tr> |
philpem@5 | 9896 | <td class="paramkey"></td> |
philpem@5 | 9897 | <td></td> |
philpem@5 | 9898 | <td class="paramtype">const float </td> |
philpem@5 | 9899 | <td class="paramname"> <em>focale</em> = <code>500</code>, </td> |
philpem@5 | 9900 | </tr> |
philpem@5 | 9901 | <tr> |
philpem@5 | 9902 | <td class="paramkey"></td> |
philpem@5 | 9903 | <td></td> |
philpem@5 | 9904 | <td class="paramtype">const float </td> |
philpem@5 | 9905 | <td class="paramname"> <em>lightx</em> = <code>0</code>, </td> |
philpem@5 | 9906 | </tr> |
philpem@5 | 9907 | <tr> |
philpem@5 | 9908 | <td class="paramkey"></td> |
philpem@5 | 9909 | <td></td> |
philpem@5 | 9910 | <td class="paramtype">const float </td> |
philpem@5 | 9911 | <td class="paramname"> <em>lighty</em> = <code>0</code>, </td> |
philpem@5 | 9912 | </tr> |
philpem@5 | 9913 | <tr> |
philpem@5 | 9914 | <td class="paramkey"></td> |
philpem@5 | 9915 | <td></td> |
philpem@5 | 9916 | <td class="paramtype">const float </td> |
philpem@5 | 9917 | <td class="paramname"> <em>lightz</em> = <code>-5000</code>, </td> |
philpem@5 | 9918 | </tr> |
philpem@5 | 9919 | <tr> |
philpem@5 | 9920 | <td class="paramkey"></td> |
philpem@5 | 9921 | <td></td> |
philpem@5 | 9922 | <td class="paramtype">const float </td> |
philpem@5 | 9923 | <td class="paramname"> <em>specular_light</em> = <code>0.2f</code>, </td> |
philpem@5 | 9924 | </tr> |
philpem@5 | 9925 | <tr> |
philpem@5 | 9926 | <td class="paramkey"></td> |
philpem@5 | 9927 | <td></td> |
philpem@5 | 9928 | <td class="paramtype">const float </td> |
philpem@5 | 9929 | <td class="paramname"> <em>specular_shine</em> = <code>0.1f</code>, </td> |
philpem@5 | 9930 | </tr> |
philpem@5 | 9931 | <tr> |
philpem@5 | 9932 | <td class="paramkey"></td> |
philpem@5 | 9933 | <td></td> |
philpem@5 | 9934 | <td class="paramtype">float *const </td> |
philpem@5 | 9935 | <td class="paramname"> <em>zbuffer</em> = <code>0</code></td><td> </td> |
philpem@5 | 9936 | </tr> |
philpem@5 | 9937 | <tr> |
philpem@5 | 9938 | <td></td> |
philpem@5 | 9939 | <td>)</td> |
philpem@5 | 9940 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9941 | </tr> |
philpem@5 | 9942 | </table> |
philpem@5 | 9943 | </div> |
philpem@5 | 9944 | <div class="memdoc"> |
philpem@5 | 9945 | |
philpem@5 | 9946 | <p> |
philpem@5 | 9947 | Draw a 3D object. |
philpem@5 | 9948 | <p> |
philpem@5 | 9949 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 9950 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 9951 | <tr><td valign="top"></td><td valign="top"><em>X</em> </td><td>= X-coordinate of the 3d object position </td></tr> |
philpem@5 | 9952 | <tr><td valign="top"></td><td valign="top"><em>Y</em> </td><td>= Y-coordinate of the 3d object position </td></tr> |
philpem@5 | 9953 | <tr><td valign="top"></td><td valign="top"><em>Z</em> </td><td>= Z-coordinate of the 3d object position </td></tr> |
philpem@5 | 9954 | <tr><td valign="top"></td><td valign="top"><em>points</em> </td><td>= Image N*3 describing 3D point coordinates </td></tr> |
philpem@5 | 9955 | <tr><td valign="top"></td><td valign="top"><em>primitives</em> </td><td>= List of P primitives </td></tr> |
philpem@5 | 9956 | <tr><td valign="top"></td><td valign="top"><em>colors</em> </td><td>= List of P color (or textures) </td></tr> |
philpem@5 | 9957 | <tr><td valign="top"></td><td valign="top"><em>opacities</em> </td><td>= Image of P opacities </td></tr> |
philpem@5 | 9958 | <tr><td valign="top"></td><td valign="top"><em>render_type</em> </td><td>= Render type (0=Points, 1=Lines, 2=Faces (no light), 3=Faces (flat), 4=Faces(Gouraud) </td></tr> |
philpem@5 | 9959 | <tr><td valign="top"></td><td valign="top"><em>double_sided</em> </td><td>= Tell if object faces have two sides or are oriented. </td></tr> |
philpem@5 | 9960 | <tr><td valign="top"></td><td valign="top"><em>focale</em> </td><td>= length of the focale </td></tr> |
philpem@5 | 9961 | <tr><td valign="top"></td><td valign="top"><em>lightx</em> </td><td>= X-coordinate of the light </td></tr> |
philpem@5 | 9962 | <tr><td valign="top"></td><td valign="top"><em>lighty</em> </td><td>= Y-coordinate of the light </td></tr> |
philpem@5 | 9963 | <tr><td valign="top"></td><td valign="top"><em>lightz</em> </td><td>= Z-coordinate of the light </td></tr> |
philpem@5 | 9964 | <tr><td valign="top"></td><td valign="top"><em>specular_shine</em> </td><td>= Shininess of the object </td></tr> |
philpem@5 | 9965 | </table> |
philpem@5 | 9966 | </dl> |
philpem@5 | 9967 | |
philpem@5 | 9968 | </div> |
philpem@5 | 9969 | </div><p> |
philpem@5 | 9970 | <a class="anchor" name="e42e12627e5a8204d328f84df9976fc8"></a><!-- doxytag: member="cimg_library::CImg::correlate" ref="e42e12627e5a8204d328f84df9976fc8" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_correl=false)" --> |
philpem@5 | 9971 | <div class="memitem"> |
philpem@5 | 9972 | <div class="memproto"> |
philpem@5 | 9973 | <table class="memname"> |
philpem@5 | 9974 | <tr> |
philpem@5 | 9975 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& correlate </td> |
philpem@5 | 9976 | <td>(</td> |
philpem@5 | 9977 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 9978 | <td class="paramname"> <em>mask</em>, </td> |
philpem@5 | 9979 | </tr> |
philpem@5 | 9980 | <tr> |
philpem@5 | 9981 | <td class="paramkey"></td> |
philpem@5 | 9982 | <td></td> |
philpem@5 | 9983 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 9984 | <td class="paramname"> <em>cond</em> = <code>1</code>, </td> |
philpem@5 | 9985 | </tr> |
philpem@5 | 9986 | <tr> |
philpem@5 | 9987 | <td class="paramkey"></td> |
philpem@5 | 9988 | <td></td> |
philpem@5 | 9989 | <td class="paramtype">const bool </td> |
philpem@5 | 9990 | <td class="paramname"> <em>weighted_correl</em> = <code>false</code></td><td> </td> |
philpem@5 | 9991 | </tr> |
philpem@5 | 9992 | <tr> |
philpem@5 | 9993 | <td></td> |
philpem@5 | 9994 | <td>)</td> |
philpem@5 | 9995 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 9996 | </tr> |
philpem@5 | 9997 | </table> |
philpem@5 | 9998 | </div> |
philpem@5 | 9999 | <div class="memdoc"> |
philpem@5 | 10000 | |
philpem@5 | 10001 | <p> |
philpem@5 | 10002 | Compute the correlation of the instance image by a mask. |
philpem@5 | 10003 | <p> |
philpem@5 | 10004 | The correlation of the instance image <code>*this</code> by the mask <code>mask</code> is defined to be :<p> |
philpem@5 | 10005 | res(x,y,z) = sum_{i,j,k} (*this)(x+i,y+j,z+k)*mask(i,j,k)<p> |
philpem@5 | 10006 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10007 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10008 | <tr><td valign="top"></td><td valign="top"><em>mask</em> </td><td>= the correlation kernel. </td></tr> |
philpem@5 | 10009 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>= the border condition type (0=zero, 1=dirichlet) </td></tr> |
philpem@5 | 10010 | <tr><td valign="top"></td><td valign="top"><em>weighted_correl</em> </td><td>= enable local normalization. </td></tr> |
philpem@5 | 10011 | </table> |
philpem@5 | 10012 | </dl> |
philpem@5 | 10013 | |
philpem@5 | 10014 | </div> |
philpem@5 | 10015 | </div><p> |
philpem@5 | 10016 | <a class="anchor" name="6ad1f71fcaf356a1480b81c55109ca86"></a><!-- doxytag: member="cimg_library::CImg::convolve" ref="6ad1f71fcaf356a1480b81c55109ca86" args="(const CImg< t > &mask, const unsigned int cond=1, const bool weighted_convol=false)" --> |
philpem@5 | 10017 | <div class="memitem"> |
philpem@5 | 10018 | <div class="memproto"> |
philpem@5 | 10019 | <table class="memname"> |
philpem@5 | 10020 | <tr> |
philpem@5 | 10021 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& convolve </td> |
philpem@5 | 10022 | <td>(</td> |
philpem@5 | 10023 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 10024 | <td class="paramname"> <em>mask</em>, </td> |
philpem@5 | 10025 | </tr> |
philpem@5 | 10026 | <tr> |
philpem@5 | 10027 | <td class="paramkey"></td> |
philpem@5 | 10028 | <td></td> |
philpem@5 | 10029 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10030 | <td class="paramname"> <em>cond</em> = <code>1</code>, </td> |
philpem@5 | 10031 | </tr> |
philpem@5 | 10032 | <tr> |
philpem@5 | 10033 | <td class="paramkey"></td> |
philpem@5 | 10034 | <td></td> |
philpem@5 | 10035 | <td class="paramtype">const bool </td> |
philpem@5 | 10036 | <td class="paramname"> <em>weighted_convol</em> = <code>false</code></td><td> </td> |
philpem@5 | 10037 | </tr> |
philpem@5 | 10038 | <tr> |
philpem@5 | 10039 | <td></td> |
philpem@5 | 10040 | <td>)</td> |
philpem@5 | 10041 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10042 | </tr> |
philpem@5 | 10043 | </table> |
philpem@5 | 10044 | </div> |
philpem@5 | 10045 | <div class="memdoc"> |
philpem@5 | 10046 | |
philpem@5 | 10047 | <p> |
philpem@5 | 10048 | Compute the convolution of the image by a mask. |
philpem@5 | 10049 | <p> |
philpem@5 | 10050 | The result <code>res</code> of the convolution of an image <code>img</code> by a mask <code>mask</code> is defined to be :<p> |
philpem@5 | 10051 | res(x,y,z) = sum_{i,j,k} img(x-i,y-j,z-k)*mask(i,j,k)<p> |
philpem@5 | 10052 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10053 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10054 | <tr><td valign="top"></td><td valign="top"><em>mask</em> </td><td>= the correlation kernel. </td></tr> |
philpem@5 | 10055 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>= the border condition type (0=zero, 1=dirichlet) </td></tr> |
philpem@5 | 10056 | <tr><td valign="top"></td><td valign="top"><em>weighted_convol</em> </td><td>= enable local normalization. </td></tr> |
philpem@5 | 10057 | </table> |
philpem@5 | 10058 | </dl> |
philpem@5 | 10059 | |
philpem@5 | 10060 | </div> |
philpem@5 | 10061 | </div><p> |
philpem@5 | 10062 | <a class="anchor" name="caf16c667ccfe861ba7c565537f67a1a"></a><!-- doxytag: member="cimg_library::CImg::noise" ref="caf16c667ccfe861ba7c565537f67a1a" args="(const double sigma, const unsigned int noise_type=0)" --> |
philpem@5 | 10063 | <div class="memitem"> |
philpem@5 | 10064 | <div class="memproto"> |
philpem@5 | 10065 | <table class="memname"> |
philpem@5 | 10066 | <tr> |
philpem@5 | 10067 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& noise </td> |
philpem@5 | 10068 | <td>(</td> |
philpem@5 | 10069 | <td class="paramtype">const double </td> |
philpem@5 | 10070 | <td class="paramname"> <em>sigma</em>, </td> |
philpem@5 | 10071 | </tr> |
philpem@5 | 10072 | <tr> |
philpem@5 | 10073 | <td class="paramkey"></td> |
philpem@5 | 10074 | <td></td> |
philpem@5 | 10075 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10076 | <td class="paramname"> <em>noise_type</em> = <code>0</code></td><td> </td> |
philpem@5 | 10077 | </tr> |
philpem@5 | 10078 | <tr> |
philpem@5 | 10079 | <td></td> |
philpem@5 | 10080 | <td>)</td> |
philpem@5 | 10081 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10082 | </tr> |
philpem@5 | 10083 | </table> |
philpem@5 | 10084 | </div> |
philpem@5 | 10085 | <div class="memdoc"> |
philpem@5 | 10086 | |
philpem@5 | 10087 | <p> |
philpem@5 | 10088 | Add noise to the image. |
philpem@5 | 10089 | <p> |
philpem@5 | 10090 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10091 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10092 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>= power of the noise. if sigma<0, it corresponds to the percentage of the maximum image value. </td></tr> |
philpem@5 | 10093 | <tr><td valign="top"></td><td valign="top"><em>ntype</em> </td><td>= noise type. can be 0=gaussian, 1=uniform or 2=Salt and Pepper, 3=Poisson, 4=Rician. </td></tr> |
philpem@5 | 10094 | </table> |
philpem@5 | 10095 | </dl> |
philpem@5 | 10096 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>A noisy version of the instance image. </dd></dl> |
philpem@5 | 10097 | |
philpem@5 | 10098 | </div> |
philpem@5 | 10099 | </div><p> |
philpem@5 | 10100 | <a class="anchor" name="be44da28a01b5632c9cb59af2ab6dab6"></a><!-- doxytag: member="cimg_library::CImg::deriche" ref="be44da28a01b5632c9cb59af2ab6dab6" args="(const float sigma, const int order=0, const char axis='x', const bool cond=true)" --> |
philpem@5 | 10101 | <div class="memitem"> |
philpem@5 | 10102 | <div class="memproto"> |
philpem@5 | 10103 | <table class="memname"> |
philpem@5 | 10104 | <tr> |
philpem@5 | 10105 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& deriche </td> |
philpem@5 | 10106 | <td>(</td> |
philpem@5 | 10107 | <td class="paramtype">const float </td> |
philpem@5 | 10108 | <td class="paramname"> <em>sigma</em>, </td> |
philpem@5 | 10109 | </tr> |
philpem@5 | 10110 | <tr> |
philpem@5 | 10111 | <td class="paramkey"></td> |
philpem@5 | 10112 | <td></td> |
philpem@5 | 10113 | <td class="paramtype">const int </td> |
philpem@5 | 10114 | <td class="paramname"> <em>order</em> = <code>0</code>, </td> |
philpem@5 | 10115 | </tr> |
philpem@5 | 10116 | <tr> |
philpem@5 | 10117 | <td class="paramkey"></td> |
philpem@5 | 10118 | <td></td> |
philpem@5 | 10119 | <td class="paramtype">const char </td> |
philpem@5 | 10120 | <td class="paramname"> <em>axis</em> = <code>'x'</code>, </td> |
philpem@5 | 10121 | </tr> |
philpem@5 | 10122 | <tr> |
philpem@5 | 10123 | <td class="paramkey"></td> |
philpem@5 | 10124 | <td></td> |
philpem@5 | 10125 | <td class="paramtype">const bool </td> |
philpem@5 | 10126 | <td class="paramname"> <em>cond</em> = <code>true</code></td><td> </td> |
philpem@5 | 10127 | </tr> |
philpem@5 | 10128 | <tr> |
philpem@5 | 10129 | <td></td> |
philpem@5 | 10130 | <td>)</td> |
philpem@5 | 10131 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10132 | </tr> |
philpem@5 | 10133 | </table> |
philpem@5 | 10134 | </div> |
philpem@5 | 10135 | <div class="memdoc"> |
philpem@5 | 10136 | |
philpem@5 | 10137 | <p> |
philpem@5 | 10138 | Compute the result of the Deriche filter. |
philpem@5 | 10139 | <p> |
philpem@5 | 10140 | The Canny-Deriche filter is a recursive algorithm allowing to compute blurred derivatives of order 0,1 or 2 of an image. |
philpem@5 | 10141 | </div> |
philpem@5 | 10142 | </div><p> |
philpem@5 | 10143 | <a class="anchor" name="fcc7e2db6bcdb9da96698da4ef546678"></a><!-- doxytag: member="cimg_library::CImg::blur" ref="fcc7e2db6bcdb9da96698da4ef546678" args="(const float sigmax, const float sigmay, const float sigmaz, const bool cond=true)" --> |
philpem@5 | 10144 | <div class="memitem"> |
philpem@5 | 10145 | <div class="memproto"> |
philpem@5 | 10146 | <table class="memname"> |
philpem@5 | 10147 | <tr> |
philpem@5 | 10148 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& blur </td> |
philpem@5 | 10149 | <td>(</td> |
philpem@5 | 10150 | <td class="paramtype">const float </td> |
philpem@5 | 10151 | <td class="paramname"> <em>sigmax</em>, </td> |
philpem@5 | 10152 | </tr> |
philpem@5 | 10153 | <tr> |
philpem@5 | 10154 | <td class="paramkey"></td> |
philpem@5 | 10155 | <td></td> |
philpem@5 | 10156 | <td class="paramtype">const float </td> |
philpem@5 | 10157 | <td class="paramname"> <em>sigmay</em>, </td> |
philpem@5 | 10158 | </tr> |
philpem@5 | 10159 | <tr> |
philpem@5 | 10160 | <td class="paramkey"></td> |
philpem@5 | 10161 | <td></td> |
philpem@5 | 10162 | <td class="paramtype">const float </td> |
philpem@5 | 10163 | <td class="paramname"> <em>sigmaz</em>, </td> |
philpem@5 | 10164 | </tr> |
philpem@5 | 10165 | <tr> |
philpem@5 | 10166 | <td class="paramkey"></td> |
philpem@5 | 10167 | <td></td> |
philpem@5 | 10168 | <td class="paramtype">const bool </td> |
philpem@5 | 10169 | <td class="paramname"> <em>cond</em> = <code>true</code></td><td> </td> |
philpem@5 | 10170 | </tr> |
philpem@5 | 10171 | <tr> |
philpem@5 | 10172 | <td></td> |
philpem@5 | 10173 | <td>)</td> |
philpem@5 | 10174 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10175 | </tr> |
philpem@5 | 10176 | </table> |
philpem@5 | 10177 | </div> |
philpem@5 | 10178 | <div class="memdoc"> |
philpem@5 | 10179 | |
philpem@5 | 10180 | <p> |
philpem@5 | 10181 | Return a blurred version of the image, using a Canny-Deriche filter. |
philpem@5 | 10182 | <p> |
philpem@5 | 10183 | Blur the image with an anisotropic exponential filter (Deriche filter of order 0). |
philpem@5 | 10184 | </div> |
philpem@5 | 10185 | </div><p> |
philpem@5 | 10186 | <a class="anchor" name="8df01b5bf7b7fee8719ac0b261d3f5d8"></a><!-- doxytag: member="cimg_library::CImg::blur_anisotropic" ref="8df01b5bf7b7fee8719ac0b261d3f5d8" args="(const CImg< t > &G, const float amplitude=60, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true)" --> |
philpem@5 | 10187 | <div class="memitem"> |
philpem@5 | 10188 | <div class="memproto"> |
philpem@5 | 10189 | <table class="memname"> |
philpem@5 | 10190 | <tr> |
philpem@5 | 10191 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& blur_anisotropic </td> |
philpem@5 | 10192 | <td>(</td> |
philpem@5 | 10193 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< t > & </td> |
philpem@5 | 10194 | <td class="paramname"> <em>G</em>, </td> |
philpem@5 | 10195 | </tr> |
philpem@5 | 10196 | <tr> |
philpem@5 | 10197 | <td class="paramkey"></td> |
philpem@5 | 10198 | <td></td> |
philpem@5 | 10199 | <td class="paramtype">const float </td> |
philpem@5 | 10200 | <td class="paramname"> <em>amplitude</em> = <code>60</code>, </td> |
philpem@5 | 10201 | </tr> |
philpem@5 | 10202 | <tr> |
philpem@5 | 10203 | <td class="paramkey"></td> |
philpem@5 | 10204 | <td></td> |
philpem@5 | 10205 | <td class="paramtype">const float </td> |
philpem@5 | 10206 | <td class="paramname"> <em>dl</em> = <code>0.8f</code>, </td> |
philpem@5 | 10207 | </tr> |
philpem@5 | 10208 | <tr> |
philpem@5 | 10209 | <td class="paramkey"></td> |
philpem@5 | 10210 | <td></td> |
philpem@5 | 10211 | <td class="paramtype">const float </td> |
philpem@5 | 10212 | <td class="paramname"> <em>da</em> = <code>30</code>, </td> |
philpem@5 | 10213 | </tr> |
philpem@5 | 10214 | <tr> |
philpem@5 | 10215 | <td class="paramkey"></td> |
philpem@5 | 10216 | <td></td> |
philpem@5 | 10217 | <td class="paramtype">const float </td> |
philpem@5 | 10218 | <td class="paramname"> <em>gauss_prec</em> = <code>2</code>, </td> |
philpem@5 | 10219 | </tr> |
philpem@5 | 10220 | <tr> |
philpem@5 | 10221 | <td class="paramkey"></td> |
philpem@5 | 10222 | <td></td> |
philpem@5 | 10223 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10224 | <td class="paramname"> <em>interpolation_type</em> = <code>0</code>, </td> |
philpem@5 | 10225 | </tr> |
philpem@5 | 10226 | <tr> |
philpem@5 | 10227 | <td class="paramkey"></td> |
philpem@5 | 10228 | <td></td> |
philpem@5 | 10229 | <td class="paramtype">const bool </td> |
philpem@5 | 10230 | <td class="paramname"> <em>fast_approx</em> = <code>true</code></td><td> </td> |
philpem@5 | 10231 | </tr> |
philpem@5 | 10232 | <tr> |
philpem@5 | 10233 | <td></td> |
philpem@5 | 10234 | <td>)</td> |
philpem@5 | 10235 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10236 | </tr> |
philpem@5 | 10237 | </table> |
philpem@5 | 10238 | </div> |
philpem@5 | 10239 | <div class="memdoc"> |
philpem@5 | 10240 | |
philpem@5 | 10241 | <p> |
philpem@5 | 10242 | Blur the image anisotropically following a field of diffusion tensors. |
philpem@5 | 10243 | <p> |
philpem@5 | 10244 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10245 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10246 | <tr><td valign="top"></td><td valign="top"><em>G</em> </td><td>= Field of square roots of diffusion tensors used to drive the smoothing. </td></tr> |
philpem@5 | 10247 | <tr><td valign="top"></td><td valign="top"><em>amplitude</em> </td><td>= amplitude of the smoothing. </td></tr> |
philpem@5 | 10248 | <tr><td valign="top"></td><td valign="top"><em>dl</em> </td><td>= spatial discretization. </td></tr> |
philpem@5 | 10249 | <tr><td valign="top"></td><td valign="top"><em>da</em> </td><td>= angular discretization. </td></tr> |
philpem@5 | 10250 | <tr><td valign="top"></td><td valign="top"><em>gauss_prec</em> </td><td>= precision of the gaussian function. </td></tr> |
philpem@5 | 10251 | <tr><td valign="top"></td><td valign="top"><em>interpolation</em> </td><td>Used interpolation scheme (0 = nearest-neighbor, 1 = linear, 2 = Runge-Kutta) </td></tr> |
philpem@5 | 10252 | <tr><td valign="top"></td><td valign="top"><em>fast_approx</em> </td><td>= Tell to use the fast approximation or not. </td></tr> |
philpem@5 | 10253 | </table> |
philpem@5 | 10254 | </dl> |
philpem@5 | 10255 | |
philpem@5 | 10256 | </div> |
philpem@5 | 10257 | </div><p> |
philpem@5 | 10258 | <a class="anchor" name="2d20cc794442bfdcd9ff8e1a78e76224"></a><!-- doxytag: member="cimg_library::CImg::blur_anisotropic" ref="2d20cc794442bfdcd9ff8e1a78e76224" args="(const CImg< tm > &mask, const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const bool fast_approx=true, const float geom_factor=1)" --> |
philpem@5 | 10259 | <div class="memitem"> |
philpem@5 | 10260 | <div class="memproto"> |
philpem@5 | 10261 | <table class="memname"> |
philpem@5 | 10262 | <tr> |
philpem@5 | 10263 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& blur_anisotropic </td> |
philpem@5 | 10264 | <td>(</td> |
philpem@5 | 10265 | <td class="paramtype">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a>< tm > & </td> |
philpem@5 | 10266 | <td class="paramname"> <em>mask</em>, </td> |
philpem@5 | 10267 | </tr> |
philpem@5 | 10268 | <tr> |
philpem@5 | 10269 | <td class="paramkey"></td> |
philpem@5 | 10270 | <td></td> |
philpem@5 | 10271 | <td class="paramtype">const float </td> |
philpem@5 | 10272 | <td class="paramname"> <em>amplitude</em>, </td> |
philpem@5 | 10273 | </tr> |
philpem@5 | 10274 | <tr> |
philpem@5 | 10275 | <td class="paramkey"></td> |
philpem@5 | 10276 | <td></td> |
philpem@5 | 10277 | <td class="paramtype">const float </td> |
philpem@5 | 10278 | <td class="paramname"> <em>sharpness</em> = <code>0.7f</code>, </td> |
philpem@5 | 10279 | </tr> |
philpem@5 | 10280 | <tr> |
philpem@5 | 10281 | <td class="paramkey"></td> |
philpem@5 | 10282 | <td></td> |
philpem@5 | 10283 | <td class="paramtype">const float </td> |
philpem@5 | 10284 | <td class="paramname"> <em>anisotropy</em> = <code>0.3f</code>, </td> |
philpem@5 | 10285 | </tr> |
philpem@5 | 10286 | <tr> |
philpem@5 | 10287 | <td class="paramkey"></td> |
philpem@5 | 10288 | <td></td> |
philpem@5 | 10289 | <td class="paramtype">const float </td> |
philpem@5 | 10290 | <td class="paramname"> <em>alpha</em> = <code>0.6f</code>, </td> |
philpem@5 | 10291 | </tr> |
philpem@5 | 10292 | <tr> |
philpem@5 | 10293 | <td class="paramkey"></td> |
philpem@5 | 10294 | <td></td> |
philpem@5 | 10295 | <td class="paramtype">const float </td> |
philpem@5 | 10296 | <td class="paramname"> <em>sigma</em> = <code>1.1f</code>, </td> |
philpem@5 | 10297 | </tr> |
philpem@5 | 10298 | <tr> |
philpem@5 | 10299 | <td class="paramkey"></td> |
philpem@5 | 10300 | <td></td> |
philpem@5 | 10301 | <td class="paramtype">const float </td> |
philpem@5 | 10302 | <td class="paramname"> <em>dl</em> = <code>0.8f</code>, </td> |
philpem@5 | 10303 | </tr> |
philpem@5 | 10304 | <tr> |
philpem@5 | 10305 | <td class="paramkey"></td> |
philpem@5 | 10306 | <td></td> |
philpem@5 | 10307 | <td class="paramtype">const float </td> |
philpem@5 | 10308 | <td class="paramname"> <em>da</em> = <code>30</code>, </td> |
philpem@5 | 10309 | </tr> |
philpem@5 | 10310 | <tr> |
philpem@5 | 10311 | <td class="paramkey"></td> |
philpem@5 | 10312 | <td></td> |
philpem@5 | 10313 | <td class="paramtype">const float </td> |
philpem@5 | 10314 | <td class="paramname"> <em>gauss_prec</em> = <code>2</code>, </td> |
philpem@5 | 10315 | </tr> |
philpem@5 | 10316 | <tr> |
philpem@5 | 10317 | <td class="paramkey"></td> |
philpem@5 | 10318 | <td></td> |
philpem@5 | 10319 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10320 | <td class="paramname"> <em>interpolation_type</em> = <code>0</code>, </td> |
philpem@5 | 10321 | </tr> |
philpem@5 | 10322 | <tr> |
philpem@5 | 10323 | <td class="paramkey"></td> |
philpem@5 | 10324 | <td></td> |
philpem@5 | 10325 | <td class="paramtype">const bool </td> |
philpem@5 | 10326 | <td class="paramname"> <em>fast_approx</em> = <code>true</code>, </td> |
philpem@5 | 10327 | </tr> |
philpem@5 | 10328 | <tr> |
philpem@5 | 10329 | <td class="paramkey"></td> |
philpem@5 | 10330 | <td></td> |
philpem@5 | 10331 | <td class="paramtype">const float </td> |
philpem@5 | 10332 | <td class="paramname"> <em>geom_factor</em> = <code>1</code></td><td> </td> |
philpem@5 | 10333 | </tr> |
philpem@5 | 10334 | <tr> |
philpem@5 | 10335 | <td></td> |
philpem@5 | 10336 | <td>)</td> |
philpem@5 | 10337 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10338 | </tr> |
philpem@5 | 10339 | </table> |
philpem@5 | 10340 | </div> |
philpem@5 | 10341 | <div class="memdoc"> |
philpem@5 | 10342 | |
philpem@5 | 10343 | <p> |
philpem@5 | 10344 | Blur an image in an anisotropic way. |
philpem@5 | 10345 | <p> |
philpem@5 | 10346 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10347 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10348 | <tr><td valign="top"></td><td valign="top"><em>mask</em> </td><td>Binary mask. </td></tr> |
philpem@5 | 10349 | <tr><td valign="top"></td><td valign="top"><em>amplitude</em> </td><td>Amplitude of the anisotropic blur. </td></tr> |
philpem@5 | 10350 | <tr><td valign="top"></td><td valign="top"><em>sharpness</em> </td><td>Contour preservation. </td></tr> |
philpem@5 | 10351 | <tr><td valign="top"></td><td valign="top"><em>anisotropy</em> </td><td>Smoothing anisotropy. </td></tr> |
philpem@5 | 10352 | <tr><td valign="top"></td><td valign="top"><em>alpha</em> </td><td>Image pre-blurring (gaussian). </td></tr> |
philpem@5 | 10353 | <tr><td valign="top"></td><td valign="top"><em>sigma</em> </td><td>Regularity of the tensor-valued geometry. </td></tr> |
philpem@5 | 10354 | <tr><td valign="top"></td><td valign="top"><em>dl</em> </td><td>Spatial discretization. </td></tr> |
philpem@5 | 10355 | <tr><td valign="top"></td><td valign="top"><em>da</em> </td><td>Angular discretization. </td></tr> |
philpem@5 | 10356 | <tr><td valign="top"></td><td valign="top"><em>gauss_prec</em> </td><td>Precision of the gaussian function. </td></tr> |
philpem@5 | 10357 | <tr><td valign="top"></td><td valign="top"><em>interpolation_type</em> </td><td>Used interpolation scheme (0 = nearest-neighbor, 1 = linear, 2 = Runge-Kutta) </td></tr> |
philpem@5 | 10358 | <tr><td valign="top"></td><td valign="top"><em>fast_approx</em> </td><td>Tell to use the fast approximation or not </td></tr> |
philpem@5 | 10359 | <tr><td valign="top"></td><td valign="top"><em>geom_factor</em> </td><td>Geometry factor. </td></tr> |
philpem@5 | 10360 | </table> |
philpem@5 | 10361 | </dl> |
philpem@5 | 10362 | |
philpem@5 | 10363 | </div> |
philpem@5 | 10364 | </div><p> |
philpem@5 | 10365 | <a class="anchor" name="5171719110ee9897b557b21f773655b7"></a><!-- doxytag: member="cimg_library::CImg::blur_bilateral" ref="5171719110ee9897b557b21f773655b7" args="(const float sigmax, const float sigmay, const float sigmaz, const float sigmar, const int bgridx, const int bgridy, const int bgridz, const int bgridr, const bool interpolation_type=true)" --> |
philpem@5 | 10366 | <div class="memitem"> |
philpem@5 | 10367 | <div class="memproto"> |
philpem@5 | 10368 | <table class="memname"> |
philpem@5 | 10369 | <tr> |
philpem@5 | 10370 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& blur_bilateral </td> |
philpem@5 | 10371 | <td>(</td> |
philpem@5 | 10372 | <td class="paramtype">const float </td> |
philpem@5 | 10373 | <td class="paramname"> <em>sigmax</em>, </td> |
philpem@5 | 10374 | </tr> |
philpem@5 | 10375 | <tr> |
philpem@5 | 10376 | <td class="paramkey"></td> |
philpem@5 | 10377 | <td></td> |
philpem@5 | 10378 | <td class="paramtype">const float </td> |
philpem@5 | 10379 | <td class="paramname"> <em>sigmay</em>, </td> |
philpem@5 | 10380 | </tr> |
philpem@5 | 10381 | <tr> |
philpem@5 | 10382 | <td class="paramkey"></td> |
philpem@5 | 10383 | <td></td> |
philpem@5 | 10384 | <td class="paramtype">const float </td> |
philpem@5 | 10385 | <td class="paramname"> <em>sigmaz</em>, </td> |
philpem@5 | 10386 | </tr> |
philpem@5 | 10387 | <tr> |
philpem@5 | 10388 | <td class="paramkey"></td> |
philpem@5 | 10389 | <td></td> |
philpem@5 | 10390 | <td class="paramtype">const float </td> |
philpem@5 | 10391 | <td class="paramname"> <em>sigmar</em>, </td> |
philpem@5 | 10392 | </tr> |
philpem@5 | 10393 | <tr> |
philpem@5 | 10394 | <td class="paramkey"></td> |
philpem@5 | 10395 | <td></td> |
philpem@5 | 10396 | <td class="paramtype">const int </td> |
philpem@5 | 10397 | <td class="paramname"> <em>bgridx</em>, </td> |
philpem@5 | 10398 | </tr> |
philpem@5 | 10399 | <tr> |
philpem@5 | 10400 | <td class="paramkey"></td> |
philpem@5 | 10401 | <td></td> |
philpem@5 | 10402 | <td class="paramtype">const int </td> |
philpem@5 | 10403 | <td class="paramname"> <em>bgridy</em>, </td> |
philpem@5 | 10404 | </tr> |
philpem@5 | 10405 | <tr> |
philpem@5 | 10406 | <td class="paramkey"></td> |
philpem@5 | 10407 | <td></td> |
philpem@5 | 10408 | <td class="paramtype">const int </td> |
philpem@5 | 10409 | <td class="paramname"> <em>bgridz</em>, </td> |
philpem@5 | 10410 | </tr> |
philpem@5 | 10411 | <tr> |
philpem@5 | 10412 | <td class="paramkey"></td> |
philpem@5 | 10413 | <td></td> |
philpem@5 | 10414 | <td class="paramtype">const int </td> |
philpem@5 | 10415 | <td class="paramname"> <em>bgridr</em>, </td> |
philpem@5 | 10416 | </tr> |
philpem@5 | 10417 | <tr> |
philpem@5 | 10418 | <td class="paramkey"></td> |
philpem@5 | 10419 | <td></td> |
philpem@5 | 10420 | <td class="paramtype">const bool </td> |
philpem@5 | 10421 | <td class="paramname"> <em>interpolation_type</em> = <code>true</code></td><td> </td> |
philpem@5 | 10422 | </tr> |
philpem@5 | 10423 | <tr> |
philpem@5 | 10424 | <td></td> |
philpem@5 | 10425 | <td>)</td> |
philpem@5 | 10426 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10427 | </tr> |
philpem@5 | 10428 | </table> |
philpem@5 | 10429 | </div> |
philpem@5 | 10430 | <div class="memdoc"> |
philpem@5 | 10431 | |
philpem@5 | 10432 | <p> |
philpem@5 | 10433 | Blur an image using the bilateral filter. |
philpem@5 | 10434 | <p> |
philpem@5 | 10435 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10436 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10437 | <tr><td valign="top"></td><td valign="top"><em>sigmax</em> </td><td>Amount of blur along the X-axis. </td></tr> |
philpem@5 | 10438 | <tr><td valign="top"></td><td valign="top"><em>sigmay</em> </td><td>Amount of blur along the Y-axis. </td></tr> |
philpem@5 | 10439 | <tr><td valign="top"></td><td valign="top"><em>sigmaz</em> </td><td>Amount of blur along the Z-axis. </td></tr> |
philpem@5 | 10440 | <tr><td valign="top"></td><td valign="top"><em>sigmar</em> </td><td>Amount of blur along the range axis. </td></tr> |
philpem@5 | 10441 | <tr><td valign="top"></td><td valign="top"><em>bgridx</em> </td><td>Size of the bilateral grid along the X-axis. </td></tr> |
philpem@5 | 10442 | <tr><td valign="top"></td><td valign="top"><em>bgridy</em> </td><td>Size of the bilateral grid along the Y-axis. </td></tr> |
philpem@5 | 10443 | <tr><td valign="top"></td><td valign="top"><em>bgridz</em> </td><td>Size of the bilateral grid along the Z-axis. </td></tr> |
philpem@5 | 10444 | <tr><td valign="top"></td><td valign="top"><em>bgridr</em> </td><td>Size of the bilateral grid along the range axis. </td></tr> |
philpem@5 | 10445 | <tr><td valign="top"></td><td valign="top"><em>interpolation_type</em> </td><td>Use interpolation for image slicing. </td></tr> |
philpem@5 | 10446 | </table> |
philpem@5 | 10447 | </dl> |
philpem@5 | 10448 | <dl class="note" compact><dt><b>Note:</b></dt><dd>This algorithm uses the optimisation technique proposed by S. Paris and F. Durand, in ECCV'2006 (extended for 3D volumetric images). </dd></dl> |
philpem@5 | 10449 | |
philpem@5 | 10450 | </div> |
philpem@5 | 10451 | </div><p> |
philpem@5 | 10452 | <a class="anchor" name="09afff280828c5a8d5a7bef22993dacc"></a><!-- doxytag: member="cimg_library::CImg::haar" ref="09afff280828c5a8d5a7bef22993dacc" args="(const char axis, const bool invert=false, const unsigned int nb_scales=1)" --> |
philpem@5 | 10453 | <div class="memitem"> |
philpem@5 | 10454 | <div class="memproto"> |
philpem@5 | 10455 | <table class="memname"> |
philpem@5 | 10456 | <tr> |
philpem@5 | 10457 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& haar </td> |
philpem@5 | 10458 | <td>(</td> |
philpem@5 | 10459 | <td class="paramtype">const char </td> |
philpem@5 | 10460 | <td class="paramname"> <em>axis</em>, </td> |
philpem@5 | 10461 | </tr> |
philpem@5 | 10462 | <tr> |
philpem@5 | 10463 | <td class="paramkey"></td> |
philpem@5 | 10464 | <td></td> |
philpem@5 | 10465 | <td class="paramtype">const bool </td> |
philpem@5 | 10466 | <td class="paramname"> <em>invert</em> = <code>false</code>, </td> |
philpem@5 | 10467 | </tr> |
philpem@5 | 10468 | <tr> |
philpem@5 | 10469 | <td class="paramkey"></td> |
philpem@5 | 10470 | <td></td> |
philpem@5 | 10471 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10472 | <td class="paramname"> <em>nb_scales</em> = <code>1</code></td><td> </td> |
philpem@5 | 10473 | </tr> |
philpem@5 | 10474 | <tr> |
philpem@5 | 10475 | <td></td> |
philpem@5 | 10476 | <td>)</td> |
philpem@5 | 10477 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10478 | </tr> |
philpem@5 | 10479 | </table> |
philpem@5 | 10480 | </div> |
philpem@5 | 10481 | <div class="memdoc"> |
philpem@5 | 10482 | |
philpem@5 | 10483 | <p> |
philpem@5 | 10484 | Compute the Haar multiscale wavelet transform (monodimensional version). |
philpem@5 | 10485 | <p> |
philpem@5 | 10486 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10487 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10488 | <tr><td valign="top"></td><td valign="top"><em>axis</em> </td><td>Axis considered for the transform. </td></tr> |
philpem@5 | 10489 | <tr><td valign="top"></td><td valign="top"><em>invert</em> </td><td>Set inverse of direct transform. </td></tr> |
philpem@5 | 10490 | <tr><td valign="top"></td><td valign="top"><em>nb_scales</em> </td><td>Number of scales used for the transform. </td></tr> |
philpem@5 | 10491 | </table> |
philpem@5 | 10492 | </dl> |
philpem@5 | 10493 | |
philpem@5 | 10494 | </div> |
philpem@5 | 10495 | </div><p> |
philpem@5 | 10496 | <a class="anchor" name="dbb11ae1fffb253f45f3d0ff85a6857b"></a><!-- doxytag: member="cimg_library::CImg::haar" ref="dbb11ae1fffb253f45f3d0ff85a6857b" args="(const bool invert=false, const unsigned int nb_scales=1)" --> |
philpem@5 | 10497 | <div class="memitem"> |
philpem@5 | 10498 | <div class="memproto"> |
philpem@5 | 10499 | <table class="memname"> |
philpem@5 | 10500 | <tr> |
philpem@5 | 10501 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& haar </td> |
philpem@5 | 10502 | <td>(</td> |
philpem@5 | 10503 | <td class="paramtype">const bool </td> |
philpem@5 | 10504 | <td class="paramname"> <em>invert</em> = <code>false</code>, </td> |
philpem@5 | 10505 | </tr> |
philpem@5 | 10506 | <tr> |
philpem@5 | 10507 | <td class="paramkey"></td> |
philpem@5 | 10508 | <td></td> |
philpem@5 | 10509 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10510 | <td class="paramname"> <em>nb_scales</em> = <code>1</code></td><td> </td> |
philpem@5 | 10511 | </tr> |
philpem@5 | 10512 | <tr> |
philpem@5 | 10513 | <td></td> |
philpem@5 | 10514 | <td>)</td> |
philpem@5 | 10515 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10516 | </tr> |
philpem@5 | 10517 | </table> |
philpem@5 | 10518 | </div> |
philpem@5 | 10519 | <div class="memdoc"> |
philpem@5 | 10520 | |
philpem@5 | 10521 | <p> |
philpem@5 | 10522 | Compute the Haar multiscale wavelet transform. |
philpem@5 | 10523 | <p> |
philpem@5 | 10524 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10525 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10526 | <tr><td valign="top"></td><td valign="top"><em>invert</em> </td><td>Set inverse of direct transform. </td></tr> |
philpem@5 | 10527 | <tr><td valign="top"></td><td valign="top"><em>nb_scales</em> </td><td>Number of scales used for the transform. </td></tr> |
philpem@5 | 10528 | </table> |
philpem@5 | 10529 | </dl> |
philpem@5 | 10530 | |
philpem@5 | 10531 | </div> |
philpem@5 | 10532 | </div><p> |
philpem@5 | 10533 | <a class="anchor" name="0a8ac68afbfb317c60b7554f5cdcbbd5"></a><!-- doxytag: member="cimg_library::CImg::select" ref="0a8ac68afbfb317c60b7554f5cdcbbd5" args="(CImgDisplay &disp, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0)" --> |
philpem@5 | 10534 | <div class="memitem"> |
philpem@5 | 10535 | <div class="memproto"> |
philpem@5 | 10536 | <table class="memname"> |
philpem@5 | 10537 | <tr> |
philpem@5 | 10538 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& select </td> |
philpem@5 | 10539 | <td>(</td> |
philpem@5 | 10540 | <td class="paramtype"><a class="el" href="structcimg__library_1_1CImgDisplay.html">CImgDisplay</a> & </td> |
philpem@5 | 10541 | <td class="paramname"> <em>disp</em>, </td> |
philpem@5 | 10542 | </tr> |
philpem@5 | 10543 | <tr> |
philpem@5 | 10544 | <td class="paramkey"></td> |
philpem@5 | 10545 | <td></td> |
philpem@5 | 10546 | <td class="paramtype">const int </td> |
philpem@5 | 10547 | <td class="paramname"> <em>select_type</em> = <code>2</code>, </td> |
philpem@5 | 10548 | </tr> |
philpem@5 | 10549 | <tr> |
philpem@5 | 10550 | <td class="paramkey"></td> |
philpem@5 | 10551 | <td></td> |
philpem@5 | 10552 | <td class="paramtype">unsigned int *const </td> |
philpem@5 | 10553 | <td class="paramname"> <em>XYZ</em> = <code>0</code>, </td> |
philpem@5 | 10554 | </tr> |
philpem@5 | 10555 | <tr> |
philpem@5 | 10556 | <td class="paramkey"></td> |
philpem@5 | 10557 | <td></td> |
philpem@5 | 10558 | <td class="paramtype">const unsigned char *const </td> |
philpem@5 | 10559 | <td class="paramname"> <em>color</em> = <code>0</code></td><td> </td> |
philpem@5 | 10560 | </tr> |
philpem@5 | 10561 | <tr> |
philpem@5 | 10562 | <td></td> |
philpem@5 | 10563 | <td>)</td> |
philpem@5 | 10564 | <td></td><td></td><td><code> [inline]</code></td> |
philpem@5 | 10565 | </tr> |
philpem@5 | 10566 | </table> |
philpem@5 | 10567 | </div> |
philpem@5 | 10568 | <div class="memdoc"> |
philpem@5 | 10569 | |
philpem@5 | 10570 | <p> |
philpem@5 | 10571 | Simple interface to select a shape from an image. |
philpem@5 | 10572 | <p> |
philpem@5 | 10573 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10574 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10575 | <tr><td valign="top"></td><td valign="top"><em>selection</em> </td><td>Array of 6 values containing the selection result </td></tr> |
philpem@5 | 10576 | <tr><td valign="top"></td><td valign="top"><em>coords_type</em> </td><td>Determine shape type to select (0=point, 1=vector, 2=rectangle, 3=circle) </td></tr> |
philpem@5 | 10577 | <tr><td valign="top"></td><td valign="top"><em>disp</em> </td><td>Display window used to make the selection </td></tr> |
philpem@5 | 10578 | <tr><td valign="top"></td><td valign="top"><em>XYZ</em> </td><td>Initial XYZ position (for volumetric images only) </td></tr> |
philpem@5 | 10579 | <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>Color of the shape selector. </td></tr> |
philpem@5 | 10580 | </table> |
philpem@5 | 10581 | </dl> |
philpem@5 | 10582 | |
philpem@5 | 10583 | </div> |
philpem@5 | 10584 | </div><p> |
philpem@5 | 10585 | <a class="anchor" name="138dcc5db93d511d224d88405a0041ce"></a><!-- doxytag: member="cimg_library::CImg::load" ref="138dcc5db93d511d224d88405a0041ce" args="(const char *const filename)" --> |
philpem@5 | 10586 | <div class="memitem"> |
philpem@5 | 10587 | <div class="memproto"> |
philpem@5 | 10588 | <table class="memname"> |
philpem@5 | 10589 | <tr> |
philpem@5 | 10590 | <td class="memname"><a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& load </td> |
philpem@5 | 10591 | <td>(</td> |
philpem@5 | 10592 | <td class="paramtype">const char *const </td> |
philpem@5 | 10593 | <td class="paramname"> <em>filename</em> </td> |
philpem@5 | 10594 | <td> ) </td> |
philpem@5 | 10595 | <td><code> [inline]</code></td> |
philpem@5 | 10596 | </tr> |
philpem@5 | 10597 | </table> |
philpem@5 | 10598 | </div> |
philpem@5 | 10599 | <div class="memdoc"> |
philpem@5 | 10600 | |
philpem@5 | 10601 | <p> |
philpem@5 | 10602 | Load an image from a file. |
philpem@5 | 10603 | <p> |
philpem@5 | 10604 | <dl compact><dt><b>Parameters:</b></dt><dd> |
philpem@5 | 10605 | <table border="0" cellspacing="2" cellpadding="0"> |
philpem@5 | 10606 | <tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td>is the name of the image file to load. </td></tr> |
philpem@5 | 10607 | </table> |
philpem@5 | 10608 | </dl> |
philpem@5 | 10609 | <dl class="note" compact><dt><b>Note:</b></dt><dd>The extension of <code>filename</code> defines the file format. If no filename extension is provided, CImg<T>::get_load() will try to load a .<a class="el" href="namespacecimg__library_1_1cimg.html" title="Namespace that encompasses low-level functions and variables of the CImg Library...">cimg</a> file. </dd></dl> |
philpem@5 | 10610 | |
philpem@5 | 10611 | </div> |
philpem@5 | 10612 | </div><p> |
philpem@5 | 10613 | <a class="anchor" name="4fd91f4fb021d20c5b62329c49733bd9"></a><!-- doxytag: member="cimg_library::CImg::save" ref="4fd91f4fb021d20c5b62329c49733bd9" args="(const char *const filename, const int number=-1) const " --> |
philpem@5 | 10614 | <div class="memitem"> |
philpem@5 | 10615 | <div class="memproto"> |
philpem@5 | 10616 | <table class="memname"> |
philpem@5 | 10617 | <tr> |
philpem@5 | 10618 | <td class="memname">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& save </td> |
philpem@5 | 10619 | <td>(</td> |
philpem@5 | 10620 | <td class="paramtype">const char *const </td> |
philpem@5 | 10621 | <td class="paramname"> <em>filename</em>, </td> |
philpem@5 | 10622 | </tr> |
philpem@5 | 10623 | <tr> |
philpem@5 | 10624 | <td class="paramkey"></td> |
philpem@5 | 10625 | <td></td> |
philpem@5 | 10626 | <td class="paramtype">const int </td> |
philpem@5 | 10627 | <td class="paramname"> <em>number</em> = <code>-1</code></td><td> </td> |
philpem@5 | 10628 | </tr> |
philpem@5 | 10629 | <tr> |
philpem@5 | 10630 | <td></td> |
philpem@5 | 10631 | <td>)</td> |
philpem@5 | 10632 | <td></td><td></td><td> const<code> [inline]</code></td> |
philpem@5 | 10633 | </tr> |
philpem@5 | 10634 | </table> |
philpem@5 | 10635 | </div> |
philpem@5 | 10636 | <div class="memdoc"> |
philpem@5 | 10637 | |
philpem@5 | 10638 | <p> |
philpem@5 | 10639 | Save the image as a file. |
philpem@5 | 10640 | <p> |
philpem@5 | 10641 | The used file format is defined by the file extension in the filename <code>filename</code>. Parameter <code>number</code> can be used to add a 6-digit number to the filename before saving. |
philpem@5 | 10642 | </div> |
philpem@5 | 10643 | </div><p> |
philpem@5 | 10644 | <a class="anchor" name="fdab21cdc4ef778bfaf4e123b28c9aa0"></a><!-- doxytag: member="cimg_library::CImg::save_graphicsmagick_external" ref="fdab21cdc4ef778bfaf4e123b28c9aa0" args="(const char *const filename, const unsigned int quality=100) const " --> |
philpem@5 | 10645 | <div class="memitem"> |
philpem@5 | 10646 | <div class="memproto"> |
philpem@5 | 10647 | <table class="memname"> |
philpem@5 | 10648 | <tr> |
philpem@5 | 10649 | <td class="memname">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& save_graphicsmagick_external </td> |
philpem@5 | 10650 | <td>(</td> |
philpem@5 | 10651 | <td class="paramtype">const char *const </td> |
philpem@5 | 10652 | <td class="paramname"> <em>filename</em>, </td> |
philpem@5 | 10653 | </tr> |
philpem@5 | 10654 | <tr> |
philpem@5 | 10655 | <td class="paramkey"></td> |
philpem@5 | 10656 | <td></td> |
philpem@5 | 10657 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10658 | <td class="paramname"> <em>quality</em> = <code>100</code></td><td> </td> |
philpem@5 | 10659 | </tr> |
philpem@5 | 10660 | <tr> |
philpem@5 | 10661 | <td></td> |
philpem@5 | 10662 | <td>)</td> |
philpem@5 | 10663 | <td></td><td></td><td> const<code> [inline]</code></td> |
philpem@5 | 10664 | </tr> |
philpem@5 | 10665 | </table> |
philpem@5 | 10666 | </div> |
philpem@5 | 10667 | <div class="memdoc"> |
philpem@5 | 10668 | |
philpem@5 | 10669 | <p> |
philpem@5 | 10670 | Save the image using GraphicsMagick's gm. |
philpem@5 | 10671 | <p> |
philpem@5 | 10672 | Function that saves the image for other file formats that are not natively handled by <a class="el" href="structcimg__library_1_1CImg.html" title="Class representing an image (up to 4 dimensions wide), each pixel being of type T...">CImg</a>, using the tool 'gm' from the GraphicsMagick package.<br> |
philpem@5 | 10673 | This is the case for all compressed image formats (GIF,PNG,JPG,TIF, ...). You need to install the GraphicsMagick package in order to get this function working properly (see <a href="http://www.graphicsmagick.org">http://www.graphicsmagick.org</a> ). |
philpem@5 | 10674 | </div> |
philpem@5 | 10675 | </div><p> |
philpem@5 | 10676 | <a class="anchor" name="b0ff4f35fc74d40fda4893b7e2fdbe7b"></a><!-- doxytag: member="cimg_library::CImg::save_imagemagick_external" ref="b0ff4f35fc74d40fda4893b7e2fdbe7b" args="(const char *const filename, const unsigned int quality=100) const " --> |
philpem@5 | 10677 | <div class="memitem"> |
philpem@5 | 10678 | <div class="memproto"> |
philpem@5 | 10679 | <table class="memname"> |
philpem@5 | 10680 | <tr> |
philpem@5 | 10681 | <td class="memname">const <a class="el" href="structcimg__library_1_1CImg.html">CImg</a><T>& save_imagemagick_external </td> |
philpem@5 | 10682 | <td>(</td> |
philpem@5 | 10683 | <td class="paramtype">const char *const </td> |
philpem@5 | 10684 | <td class="paramname"> <em>filename</em>, </td> |
philpem@5 | 10685 | </tr> |
philpem@5 | 10686 | <tr> |
philpem@5 | 10687 | <td class="paramkey"></td> |
philpem@5 | 10688 | <td></td> |
philpem@5 | 10689 | <td class="paramtype">const unsigned int </td> |
philpem@5 | 10690 | <td class="paramname"> <em>quality</em> = <code>100</code></td><td> </td> |
philpem@5 | 10691 | </tr> |
philpem@5 | 10692 | <tr> |
philpem@5 | 10693 | <td></td> |
philpem@5 | 10694 | <td>)</td> |
philpem@5 | 10695 | <td></td><td></td><td> const<code> [inline]</code></td> |
philpem@5 | 10696 | </tr> |
philpem@5 | 10697 | </table> |
philpem@5 | 10698 | </div> |
philpem@5 | 10699 | <div class="memdoc"> |
philpem@5 | 10700 | |
philpem@5 | 10701 | <p> |
philpem@5 | 10702 | Save the image using ImageMagick's convert. |
philpem@5 | 10703 | <p> |
philpem@5 | 10704 | Function that saves the image for other file formats that are not natively handled by <a class="el" href="structcimg__library_1_1CImg.html" title="Class representing an image (up to 4 dimensions wide), each pixel being of type T...">CImg</a>, using the tool 'convert' from the ImageMagick package.<br> |
philpem@5 | 10705 | This is the case for all compressed image formats (GIF,PNG,JPG,TIF, ...). You need to install the ImageMagick package in order to get this function working properly (see <a href="http://www.imagemagick.org">http://www.imagemagick.org</a> ). |
philpem@5 | 10706 | </div> |
philpem@5 | 10707 | </div><p> |
philpem@5 | 10708 | <hr><h2>Member Data Documentation</h2> |
philpem@5 | 10709 | <a class="anchor" name="ca34d28e3d8bcbcadb8edb4e3af24f8c"></a><!-- doxytag: member="cimg_library::CImg::width" ref="ca34d28e3d8bcbcadb8edb4e3af24f8c" args="" --> |
philpem@5 | 10710 | <div class="memitem"> |
philpem@5 | 10711 | <div class="memproto"> |
philpem@5 | 10712 | <table class="memname"> |
philpem@5 | 10713 | <tr> |
philpem@5 | 10714 | <td class="memname">unsigned int <a class="el" href="structcimg__library_1_1CImg.html#ca34d28e3d8bcbcadb8edb4e3af24f8c">width</a> </td> |
philpem@5 | 10715 | </tr> |
philpem@5 | 10716 | </table> |
philpem@5 | 10717 | </div> |
philpem@5 | 10718 | <div class="memdoc"> |
philpem@5 | 10719 | |
philpem@5 | 10720 | <p> |
philpem@5 | 10721 | Variable representing the width of the instance image (i.e. dimensions along the X-axis). |
philpem@5 | 10722 | <p> |
philpem@5 | 10723 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 10724 | <li>Prefer using the function <a class="el" href="structcimg__library_1_1CImg.html#afae58d5a77ea4190e6f2c818238bd1a" title="Return the number of columns of the instance image (size along the X-axis, i.e image...">CImg<T>::dimx()</a> to get information about the width of an image.</li><li>Use function <a class="el" href="structcimg__library_1_1CImg.html#a930a4b0563d7d0794661231310b36c4" title="Resize an image.">CImg<T>::resize()</a> to set a new width for an image. Setting directly the variable <code>width</code> would probably result in a library crash.</li><li>Empty images have <code>width</code> defined to <code>0</code>. </li></ul> |
philpem@5 | 10725 | </dd></dl> |
philpem@5 | 10726 | |
philpem@5 | 10727 | </div> |
philpem@5 | 10728 | </div><p> |
philpem@5 | 10729 | <a class="anchor" name="b2e78c61905b4419fcc7b4cfc500fe85"></a><!-- doxytag: member="cimg_library::CImg::height" ref="b2e78c61905b4419fcc7b4cfc500fe85" args="" --> |
philpem@5 | 10730 | <div class="memitem"> |
philpem@5 | 10731 | <div class="memproto"> |
philpem@5 | 10732 | <table class="memname"> |
philpem@5 | 10733 | <tr> |
philpem@5 | 10734 | <td class="memname">unsigned int <a class="el" href="structcimg__library_1_1CImg.html#b2e78c61905b4419fcc7b4cfc500fe85">height</a> </td> |
philpem@5 | 10735 | </tr> |
philpem@5 | 10736 | </table> |
philpem@5 | 10737 | </div> |
philpem@5 | 10738 | <div class="memdoc"> |
philpem@5 | 10739 | |
philpem@5 | 10740 | <p> |
philpem@5 | 10741 | Variable representing the height of the instance image (i.e. dimensions along the Y-axis). |
philpem@5 | 10742 | <p> |
philpem@5 | 10743 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 10744 | <li>Prefer using the function <a class="el" href="structcimg__library_1_1CImg.html#fc3244815fd1b4cea186b6a63bfb635d" title="Return the number of rows of the instance image (size along the Y-axis, i.e image...">CImg<T>::dimy()</a> to get information about the height of an image.</li><li>Use function <a class="el" href="structcimg__library_1_1CImg.html#a930a4b0563d7d0794661231310b36c4" title="Resize an image.">CImg<T>::resize()</a> to set a new height for an image. Setting directly the variable <code>height</code> would probably result in a library crash.</li><li>1D signals have <code>height</code> defined to <code>1</code>.</li><li>Empty images have <code>height</code> defined to <code>0</code>. </li></ul> |
philpem@5 | 10745 | </dd></dl> |
philpem@5 | 10746 | |
philpem@5 | 10747 | </div> |
philpem@5 | 10748 | </div><p> |
philpem@5 | 10749 | <a class="anchor" name="5081a26baa914156df8541b03d09492e"></a><!-- doxytag: member="cimg_library::CImg::depth" ref="5081a26baa914156df8541b03d09492e" args="" --> |
philpem@5 | 10750 | <div class="memitem"> |
philpem@5 | 10751 | <div class="memproto"> |
philpem@5 | 10752 | <table class="memname"> |
philpem@5 | 10753 | <tr> |
philpem@5 | 10754 | <td class="memname">unsigned int <a class="el" href="structcimg__library_1_1CImg.html#5081a26baa914156df8541b03d09492e">depth</a> </td> |
philpem@5 | 10755 | </tr> |
philpem@5 | 10756 | </table> |
philpem@5 | 10757 | </div> |
philpem@5 | 10758 | <div class="memdoc"> |
philpem@5 | 10759 | |
philpem@5 | 10760 | <p> |
philpem@5 | 10761 | Variable representing the depth of the instance image (i.e. dimensions along the Z-axis). |
philpem@5 | 10762 | <p> |
philpem@5 | 10763 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 10764 | <li>Prefer using the function <a class="el" href="structcimg__library_1_1CImg.html#b310ef9114198b570d035fd914d5a215" title="Return the number of slices of the instance image (size along the Z-axis).">CImg<T>::dimz()</a> to get information about the depth of an image.</li><li>Use function <a class="el" href="structcimg__library_1_1CImg.html#a930a4b0563d7d0794661231310b36c4" title="Resize an image.">CImg<T>::resize()</a> to set a new depth for an image. Setting directly the variable <code>depth</code> would probably result in a library crash.</li><li>Classical 2D images have <code>depth</code> defined to <code>1</code>.</li><li>Empty images have <code>depth</code> defined to <code>0</code>. </li></ul> |
philpem@5 | 10765 | </dd></dl> |
philpem@5 | 10766 | |
philpem@5 | 10767 | </div> |
philpem@5 | 10768 | </div><p> |
philpem@5 | 10769 | <a class="anchor" name="d335dc2821e58000fb6d0f0ed6ba835f"></a><!-- doxytag: member="cimg_library::CImg::dim" ref="d335dc2821e58000fb6d0f0ed6ba835f" args="" --> |
philpem@5 | 10770 | <div class="memitem"> |
philpem@5 | 10771 | <div class="memproto"> |
philpem@5 | 10772 | <table class="memname"> |
philpem@5 | 10773 | <tr> |
philpem@5 | 10774 | <td class="memname">unsigned int <a class="el" href="structcimg__library_1_1CImg.html#d335dc2821e58000fb6d0f0ed6ba835f">dim</a> </td> |
philpem@5 | 10775 | </tr> |
philpem@5 | 10776 | </table> |
philpem@5 | 10777 | </div> |
philpem@5 | 10778 | <div class="memdoc"> |
philpem@5 | 10779 | |
philpem@5 | 10780 | <p> |
philpem@5 | 10781 | Variable representing the number of channels of the instance image (i.e. dimensions along the V-axis). |
philpem@5 | 10782 | <p> |
philpem@5 | 10783 | <dl class="remark" compact><dt><b>Remarks:</b></dt><dd><ul> |
philpem@5 | 10784 | <li>Prefer using the function <a class="el" href="structcimg__library_1_1CImg.html#36c46653147af22bf9163663c058ec6f" title="Return the number of vector channels of the instance image (size along the V-axis)...">CImg<T>::dimv()</a> to get information about the depth of an image.</li><li>Use function <a class="el" href="structcimg__library_1_1CImg.html#a930a4b0563d7d0794661231310b36c4" title="Resize an image.">CImg<T>::resize()</a> to set a new vector dimension for an image. Setting directly the variable <code>dim</code> would probably result in a library crash.</li><li>Scalar-valued images (one value per pixel) have <code>dim</code> defined to <code>1</code>.</li><li>Empty images have <code>depth</code> defined to <code>0</code>. </li></ul> |
philpem@5 | 10785 | </dd></dl> |
philpem@5 | 10786 | |
philpem@5 | 10787 | </div> |
philpem@5 | 10788 | </div><p> |
philpem@5 | 10789 | </div> |
philpem@5 | 10790 | <hr noshade="noshade" size="1" width="100%"> |
philpem@5 | 10791 | <a href="http://sourceforge.net"> |
philpem@5 | 10792 | <img src="http://sourceforge.net/sflogo.php?group_id=96492&type=3" border="0" height="37" width="125"></img> |
philpem@5 | 10793 | </a> |
philpem@5 | 10794 | <!-- Start of StatCounter Code --> |
philpem@5 | 10795 | <script type="text/javascript" language="javascript"> |
philpem@5 | 10796 | <!-- |
philpem@5 | 10797 | var sc_project=895001; |
philpem@5 | 10798 | var sc_invisible=1; |
philpem@5 | 10799 | var sc_partition=7; |
philpem@5 | 10800 | var sc_security="5ea85181"; |
philpem@5 | 10801 | //--> |
philpem@5 | 10802 | </script> |
philpem@5 | 10803 | <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c8.statcounter.com/counter.php?sc_project=895001&java=0&security=5ea85181&invisible=1" alt="counter stats" border="0"></a> </noscript> |
philpem@5 | 10804 | <!-- End of StatCounter Code --> |
philpem@5 | 10805 | </body> |
philpem@5 | 10806 | </html> |