?? structcimg__library_1_1_c_img.html
字號(hào):
<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><tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0717c2dda8b546d9dc0563e49874e5cf"></a><!-- doxytag: member="cimg_library::CImg::is_sameV" ref="0717c2dda8b546d9dc0563e49874e5cf" args="(const CImg< t > &img) const" -->template<typename t> </td></tr><tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#0717c2dda8b546d9dc0563e49874e5cf">is_sameV</a> (const <a class="el" href="structcimg__library_1_1_c_img.html">CImg</a>< t > &img) const</td></tr><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><tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="00e88f9e762bd64e556ef53c8f1de9d7"></a><!-- doxytag: member="cimg_library::CImg::is_sameXY" ref="00e88f9e762bd64e556ef53c8f1de9d7" args="(const CImg< t > &img) const" -->template<typename t> </td></tr><tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#00e88f9e762bd64e556ef53c8f1de9d7">is_sameXY</a> (const <a class="el" href="structcimg__library_1_1_c_img.html">CImg</a>< t > &img) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if images have same width and same height. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d33946f08bb0ccf623b6a18bc9a9dcac"></a><!-- doxytag: member="cimg_library::CImg::is_sameXY" ref="d33946f08bb0ccf623b6a18bc9a9dcac" args="(const CImgDisplay &disp) const" -->bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#d33946f08bb0ccf623b6a18bc9a9dcac">is_sameXY</a> (const <a class="el" href="structcimg__library_1_1_c_img_display.html">CImgDisplay</a> &disp) const</td></tr><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><tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ad1216f9c45dad3b1cea898ec7433180"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYZ" ref="ad1216f9c45dad3b1cea898ec7433180" args="(const CImg< t > &img) const" -->template<typename t> </td></tr><tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#ad1216f9c45dad3b1cea898ec7433180">is_sameXYZ</a> (const <a class="el" href="structcimg__library_1_1_c_img.html">CImg</a>< t > &img) const</td></tr><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><tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="2ace7bddb66553197ce09f68665c64c0"></a><!-- doxytag: member="cimg_library::CImg::is_sameXYZV" ref="2ace7bddb66553197ce09f68665c64c0" args="(const CImg< t > &img) const" -->template<typename t> </td></tr><tr><td class="memTemplItemLeft" nowrap align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#2ace7bddb66553197ce09f68665c64c0">is_sameXYZV</a> (const <a class="el" href="structcimg__library_1_1_c_img.html">CImg</a>< t > &img) const</td></tr><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><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="004ba5214f02c2831685cfe0420122a9"></a><!-- doxytag: member="cimg_library::CImg::contains" ref="004ba5214f02c2831685cfe0420122a9" args="(const int x, const int y=0, const int z=0, const int v=0) const " -->bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#004ba5214f02c2831685cfe0420122a9">contains</a> (const int x, const int y=0, const int z=0, const int v=0) const </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if pixel (x,y,z,v) is inside the image boundaries. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a2b7a58dc85678d08752945ff655362"></a><!-- doxytag: member="cimg_library::CImg::is_empty" ref="5a2b7a58dc85678d08752945ff655362" args="() const" -->bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#5a2b7a58dc85678d08752945ff655362">is_empty</a> () const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return <code>true</code> if current image is empty. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#6a0a6abb9f1b7b2795917fb66ed9ffc8">offset</a> (const int x=0, const int y=0, const int z=0, const int v=0) const</td></tr><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="#6a0a6abb9f1b7b2795917fb66ed9ffc8"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">T * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#7db159a7785f3d85acc39c4d9dd6545d">ptr</a> (const unsigned int x=0, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)</td></tr><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="#7db159a7785f3d85acc39c4d9dd6545d"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d69bd11391be1a1dba5c8202259664f8"></a><!-- doxytag: member="cimg_library::CImg::begin" ref="d69bd11391be1a1dba5c8202259664f8" args="()" --><a class="el" href="structcimg__library_1_1_c_img.html#35c955cacac6aacaa1e82874b1628865">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#d69bd11391be1a1dba5c8202259664f8">begin</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return an iterator to the first image pixel. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cad38d52497a975bfb6f2f6acd76631f"></a><!-- doxytag: member="cimg_library::CImg::end" ref="cad38d52497a975bfb6f2f6acd76631f" args="()" --><a class="el" href="structcimg__library_1_1_c_img.html#35c955cacac6aacaa1e82874b1628865">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#cad38d52497a975bfb6f2f6acd76631f">end</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return an iterator to the last image pixel. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.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><tr><td class="mdescLeft"> </td><td class="mdescRight">Fast access to pixel value for reading or writing. <a href="#b8fbc19527504258380aaed12c4bec4b"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e88f440949a6cd9c8fbb6d2acd78f0f"></a><!-- doxytag: member="cimg_library::CImg::at" ref="1e88f440949a6cd9c8fbb6d2acd78f0f" args="(const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)" -->T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#1e88f440949a6cd9c8fbb6d2acd78f0f">at</a> (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return pixel value at a given position. Equivalent to operator(). <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#87f4042f1af3428fa0ad1a9480286abe">operator[]</a> (const unsigned long off)</td></tr><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><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94c484819f66b605343298653d4b1d07"></a><!-- doxytag: member="cimg_library::CImg::back" ref="94c484819f66b605343298653d4b1d07" args="()" -->T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#94c484819f66b605343298653d4b1d07">back</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the last image value. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="55d9a449187445866021859f0cf708d0"></a><!-- doxytag: member="cimg_library::CImg::front" ref="55d9a449187445866021859f0cf708d0" args="()" -->T & </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#55d9a449187445866021859f0cf708d0">front</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the first image value. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#8efd4b52c0601ef4ca261236db647897">pix4d</a> (const int x, const int y, const int z, const int v, const T &out_val) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet or Neumann boundary conditions. <a href="#8efd4b52c0601ef4ca261236db647897"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7a66d5891fa7471fb04f6fa6edbccc2"></a><!-- doxytag: member="cimg_library::CImg::pix3d" ref="d7a66d5891fa7471fb04f6fa6edbccc2" args="(const int x, const int y, const int z, const int v, const T &out_val) const" -->T </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#d7a66d5891fa7471fb04f6fa6edbccc2">pix3d</a> (const int x, const int y, const int z, const int v, const T &out_val) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet or Neumann boundary conditions for the three first coordinates (<code>x</code>,<code>y</code>,<code>z</code>). <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0ad23bbf6d86b2e93afbd231f497bde"></a><!-- doxytag: member="cimg_library::CImg::pix2d" ref="c0ad23bbf6d86b2e93afbd231f497bde" args="(const int x, const int y, const int z, const int v, const T &out_val) const" -->T </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#c0ad23bbf6d86b2e93afbd231f497bde">pix2d</a> (const int x, const int y, const int z, const int v, const T &out_val) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet or Neumann boundary conditions for the two first coordinates (<code>x</code>,<code>y</code>). <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9196973c401cca5c6e040ae401be88c0"></a><!-- doxytag: member="cimg_library::CImg::pix1d" ref="9196973c401cca5c6e040ae401be88c0" args="(const int x, const int y, const int z, const int v, const T &out_val) const" -->T </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#9196973c401cca5c6e040ae401be88c0">pix1d</a> (const int x, const int y, const int z, const int v, const T &out_val) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value with Dirichlet or Neumann boundary conditions for the first coordinate <code>x</code>. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">cimg::largest< T, float <br>>::type </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#ee7eeef5c371a5c523fa77eec1e12de1">linear_pix4d</a> (const float fx, const float fy, const float fz, const float fv, const T &out_val) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation. <a href="#ee7eeef5c371a5c523fa77eec1e12de1"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">cimg::largest< T, float <br>>::type </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#1fa9f7ce29198ddaf6e2cf6beec9ec90">linear_pix3d</a> (const float fx, const float fy, const float fz, const int v, const T &out_val) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation for the three first coordinates (<code>cx</code>,<code>cy</code>,<code>cz</code>). <a href="#1fa9f7ce29198ddaf6e2cf6beec9ec90"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">cimg::largest< T, float <br>>::type </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#6b0bca04c4a70ebce7573acdd818b1b2">linear_pix2d</a> (const float fx, const float fy, const int z, const int v, const T &out_val) const </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation for the two first coordinates (<code>cx</code>,<code>cy</code>). <a href="#6b0bca04c4a70ebce7573acdd818b1b2"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">cimg::largest< T, float <br>>::type </td><td class="memItemRight" valign="bottom"><a class="el" href="structcimg__library_1_1_c_img.html#80ca0c53c1bb15050b5968ce2ecb1e2c">linear_pix1d</a> (const float fx, const int y, const int z, const int v, const T &out_val) const</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Read a pixel value using linear interpolation for the first coordinate <code>cx</code>. <a href="#80ca0c53c1bb15050b5968ce2ecb1e2c"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">cimg::largest< T, float <br>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -