Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 743

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CImage.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <div class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </div><div class="right"></div>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">CImage.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="utils__defs_8h_source.html">mrpt/utils/utils_defs.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_serializable_8h_source.html">mrpt/utils/CSerializable.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_matrix_8h_source.html">mrpt/math/CMatrix.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_canvas_8h_source.html">mrpt/utils/CCanvas.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_t_camera_8h_source.html">mrpt/utils/TCamera.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="os_8h_source.html">mrpt/system/os.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="exceptions_8h_source.html">mrpt/utils/exceptions.h</a>&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for CImage.h:</div>
<div class="dyncontent">
<div class="center"><img src="_c_image_8h__incl.png" border="0" usemap="#_c_image_8h" alt=""/></div>
<map name="_c_image_8h" id="_c_image_8h">
<area shape="rect" id="node3" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="911,677,1057,704"/><area shape="rect" id="node7" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="554,752,677,779"/><area shape="rect" id="node87" href="_c_serializable_8h.html" title="mrpt/utils/CSerializable.h" alt="" coords="240,379,408,405"/><area shape="rect" id="node100" href="exceptions_8h.html" title="mrpt/utils/exceptions.h" alt="" coords="775,528,928,555"/><area shape="rect" id="node107" href="_c_matrix_8h.html" title="mrpt/math/CMatrix.h" alt="" coords="261,229,403,256"/><area shape="rect" id="node120" href="_c_canvas_8h.html" title="mrpt/utils/CCanvas.h" alt="" coords="556,80,703,107"/><area shape="rect" id="node132" href="_t_camera_8h.html" title="mrpt/utils/TCamera.h" alt="" coords="731,155,876,181"/><area shape="rect" id="node20" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="134,827,305,853"/><area shape="rect" id="node23" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="497,901,647,928"/><area shape="rect" id="node25" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="1805,827,1928,853"/><area shape="rect" id="node41" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="330,827,496,853"/><area shape="rect" id="node44" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="906,752,1080,779"/><area shape="rect" id="node73" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="2053,752,2280,779"/><area shape="rect" id="node84" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="1715,752,1825,779"/><area shape="rect" id="node75" href="containers__fixes_8hpp.html" title="containers_fixes.hpp" alt="" coords="2205,901,2347,928"/><area shape="rect" id="node77" href="exceptions_8hpp.html" title="exceptions.hpp" alt="" coords="2155,827,2265,853"/><area shape="rect" id="node89" href="_c_object_8h.html" title="mrpt/utils/CObject.h" alt="" coords="460,528,599,555"/><area shape="rect" id="node92" href="safe__pointers_8h.html" title="mrpt/utils/safe_pointers.h" alt="" coords="338,603,507,629"/><area shape="rect" id="node96" href="_c_stream_8h.html" title="mrpt/utils/CStream.h" alt="" coords="549,453,691,480"/><area shape="rect" id="node110" href="_c_matrix_template_numeric_8h.html" title="mrpt/math/CMatrixTemplateNumeric.h" alt="" coords="49,304,295,331"/><area shape="rect" id="node116" href="_c_matrix_fixed_numeric_8h.html" title="mrpt/math/CMatrixFixedNumeric.h" alt="" coords="451,304,673,331"/><area shape="rect" id="node123" href="_t_color_8h.html" title="mrpt/utils/TColor.h" alt="" coords="564,155,693,181"/><area shape="rect" id="node126" href="ops__matrices_8h.html" title="This file implements miscelaneous matrix and matrix/vector operations, plus internal functions in mrp..." alt="" coords="354,155,528,181"/><area shape="rect" id="node136" href="_c_loadable_options_8h.html" title="mrpt/utils/CLoadableOptions.h" alt="" coords="998,379,1196,405"/><area shape="rect" id="node139" href="_c_config_file_base_8h.html" title="mrpt/utils/CConfigFileBase.h" alt="" coords="1055,453,1245,480"/><area shape="rect" id="node145" href="_c_config_file_memory_8h.html" title="mrpt/utils/CConfigFileMemory.h" alt="" coords="767,379,973,405"/><area shape="rect" id="node151" href="_c_pose3_d_quat_8h.html" title="mrpt/poses/CPose3DQuat.h" alt="" coords="529,229,716,256"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="_c_image_8h__dep__incl.png" border="0" usemap="#_c_image_8hdep" alt=""/></div>
<map name="_c_image_8hdep" id="_c_image_8hdep">
<area shape="rect" id="node3" href="base_2include_2mrpt_2utils_8h.html" title="utils.h" alt="" coords="301,155,357,181"/><area shape="rect" id="node7" href="_c_image___s_s_e3_8cpp.html" title="CImage_SSE3.cpp" alt="" coords="111,304,245,331"/><area shape="rect" id="node9" href="_c_image___s_s_e2_8cpp.html" title="CImage_SSE2.cpp" alt="" coords="361,304,495,331"/><area shape="rect" id="node15" href="_c_mapped_image_8h.html" title="CMappedImage.h" alt="" coords="367,80,492,107"/><area shape="rect" id="node18" href="_c_object_detection_8h.html" title="CObjectDetection.h" alt="" coords="723,80,860,107"/><area shape="rect" id="node29" href="_c_observation3_d_range_scan_8h.html" title="CObservation3DRangeScan.h" alt="" coords="1345,80,1543,107"/><area shape="rect" id="node50" href="_c_display_window_8h.html" title="CDisplayWindow.h" alt="" coords="2230,80,2364,107"/><area shape="rect" id="node57" href="_c_open_g_l_viewport_8h.html" title="COpenGLViewport.h" alt="" coords="2526,80,2668,107"/><area shape="rect" id="node63" href="_c_display_window3_d_8h.html" title="CDisplayWindow3D.h" alt="" coords="2555,379,2705,405"/><area shape="rect" id="node66" href="_c_f_b_o_render_8h.html" title="CFBORender.h" alt="" coords="2560,229,2671,256"/><area shape="rect" id="node70" href="_c_mesh_8h.html" title="CMesh.h" alt="" coords="2696,229,2769,256"/><area shape="rect" id="node73" href="_c_textured_object_8h.html" title="CTexturedObject.h" alt="" coords="2897,80,3028,107"/><area shape="rect" id="node77" href="_c_display_window_plots_8h.html" title="CDisplayWindowPlots.h" alt="" coords="2746,379,2909,405"/><area shape="rect" id="node80" href="_wx_utils_8h.html" title="WxUtils.h" alt="" coords="3053,80,3132,107"/><area shape="rect" id="node82" href="_c_occupancy_grid_map2_d_8h.html" title="COccupancyGridMap2D.h" alt="" coords="901,155,1075,181"/><area shape="rect" id="node85" href="_c_random_field_grid_map2_d_8h.html" title="CRandomFieldGridMap2D.h" alt="" coords="3157,80,3344,107"/><area shape="rect" id="node87" href="_c_reflectivity_grid_map2_d_8h.html" title="CReflectivityGridMap2D.h" alt="" coords="3369,80,3543,107"/><area shape="rect" id="node89" href="_c_observation_image_8h.html" title="CObservationImage.h" alt="" coords="2056,80,2204,107"/><area shape="rect" id="node94" href="_c_feature_extraction_8h.html" title="CFeatureExtraction.h" alt="" coords="3699,304,3845,331"/><area shape="rect" id="node96" href="_c_feature_8h.html" title="CFeature.h" alt="" coords="3850,155,3936,181"/><area shape="rect" id="node98" href="vision_2include_2mrpt_2vision_2utils_8h.html" title="utils.h" alt="" coords="3743,229,3800,256"/><area shape="rect" id="node101" href="_c_video_file_writer_8h.html" title="CVideoFileWriter.h" alt="" coords="4091,304,4223,331"/><area shape="rect" id="node104" href="multi_desc__utils_8h.html" title="multiDesc_utils.h" alt="" coords="3876,229,3999,256"/><area shape="rect" id="node106" href="tracking_8h.html" title="tracking.h" alt="" coords="4023,229,4101,256"/><area shape="rect" id="node108" href="vision_2include_2mrpt_2vision_2types_8h.html" title="types.h" alt="" coords="3861,80,3925,107"/><area shape="rect" id="node112" href="chessboard__camera__calib_8h.html" title="chessboard_camera_calib.h" alt="" coords="3591,155,3775,181"/><area shape="rect" id="node116" href="chessboard__find__corners_8h.html" title="chessboard_find_corners.h" alt="" coords="4063,155,4241,181"/><area shape="rect" id="node122" href="_c_f_f_m_p_e_g___input_stream_8h.html" title="CFFMPEG_InputStream.h" alt="" coords="2291,155,2467,181"/><area shape="rect" id="node125" href="_c_observation_stereo_images_8h.html" title="CObservationStereoImages.h" alt="" coords="1568,80,1763,107"/><area shape="rect" id="node129" href="_c_observation_stereo_images_features_8h.html" title="CObservationStereoImagesFeatures.h" alt="" coords="1787,80,2032,107"/><area shape="rect" id="node133" href="_c_image_pyramid_8h.html" title="CImagePyramid.h" alt="" coords="4418,80,4544,107"/><area shape="rect" id="node135" href="_c_undistort_map_8h.html" title="CUndistortMap.h" alt="" coords="4569,80,4689,107"/><area shape="rect" id="node5" href="base_8h.html" title="base.h" alt="" coords="297,229,359,256"/><area shape="rect" id="node11" href="_c_l_m_s100eth_8h.html" title="CLMS100eth.h" alt="" coords="383,229,492,256"/><area shape="rect" id="node13" href="_c_abstract_holonomic_reactive_method_8h.html" title="CAbstractHolonomicReactiveMethod.h" alt="" coords="23,229,272,256"/><area shape="rect" id="node20" href="_c_cascade_classifier_detection_8h.html" title="CCascadeClassifierDetection.h" alt="" coords="618,155,824,181"/><area shape="rect" id="node22" href="_c_face_detection_8h.html" title="CFaceDetection.h" alt="" coords="779,229,907,256"/><area shape="rect" id="node24" href="detectors_8h.html" title="detectors.h" alt="" coords="678,304,764,331"/><area shape="rect" id="node32" href="_c_simple_points_map_8h.html" title="CSimplePointsMap.h" alt="" coords="1526,155,1671,181"/><area shape="rect" id="node34" href="slam_8h.html" title="slam.h" alt="" coords="1568,229,1629,256"/><area shape="rect" id="node36" href="_c_weighted_points_map_8h.html" title="CWeightedPointsMap.h" alt="" coords="1201,155,1360,181"/><area shape="rect" id="node38" href="_c_swiss_ranger3_d_camera_8h.html" title="CSwissRanger3DCamera.h" alt="" coords="1981,155,2165,181"/><area shape="rect" id="node42" href="_c_kinect_8h.html" title="CKinect.h" alt="" coords="1877,155,1956,181"/><area shape="rect" id="node45" href="_c_ibeo_lux_e_t_h_8h.html" title="CIbeoLuxETH.h" alt="" coords="1386,155,1501,181"/><area shape="rect" id="node47" href="obs_8h.html" title="obs.h" alt="" coords="1747,155,1801,181"/><area shape="rect" id="node40" href="_c_camera_sensor_8h.html" title="CCameraSensor.h" alt="" coords="2047,229,2176,256"/><area shape="rect" id="node52" href="gui_8h.html" title="gui.h" alt="" coords="2605,453,2656,480"/><area shape="rect" id="node59" href="_c_open_g_l_scene_8h.html" title="COpenGLScene.h" alt="" coords="2541,155,2669,181"/><area shape="rect" id="node61" href="opengl_8h.html" title="opengl.h" alt="" coords="2581,304,2651,331"/></map>
</div>
</div>
<p><a href="_c_image_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1utils_1_1_c_image_ptr.html">mrpt::utils::CImagePtr</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_image.html">mrpt::utils::CImage</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A class for storing images as grayscale or RGB bitmaps.  <a href="classmrpt_1_1utils_1_1_c_image.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html">mrpt::utils</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL. </p>
<br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_image_8h.html#a05d8a871017c9c7214faf67311e33525">CH_GRAY</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_image_8h.html#abbb5a64a224fe607fbf2fc5ac29e31cb">CH_RGB</a>&#160;&#160;&#160;3</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#a8669b520cea0ec8220809c77721f60eb">mrpt::utils::TImageChannels</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For use in <a class="el" href="classmrpt_1_1utils_1_1_c_image.html" title="A class for storing images as grayscale or RGB bitmaps.">mrpt::utils::CImage</a>.  <a href="#a8669b520cea0ec8220809c77721f60eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef CImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#a851f869238d6384e20d7428ce37f51ee">mrpt::utils::CMRPTImage</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Deprecated name.  <a href="#a851f869238d6384e20d7428ce37f51ee"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mrpt__base__grp.html#gaaa1dce60212047066cc950eb834e96fd">mrpt::utils::TInterpolationMethod</a> { <a class="el" href="group__mrpt__base__grp.html#ggaaa1dce60212047066cc950eb834e96fda4a0d8049d078f18d5a655b4f50ad943c">mrpt::utils::IMG_INTERP_NN</a> =  0, 
<a class="el" href="group__mrpt__base__grp.html#ggaaa1dce60212047066cc950eb834e96fda998c25e4b4040a1948a085e843acdb76">mrpt::utils::IMG_INTERP_LINEAR</a> = 1, 
<a class="el" href="group__mrpt__base__grp.html#ggaaa1dce60212047066cc950eb834e96fda84a87b003bc5b51e87b2b6e3d43144b7">mrpt::utils::IMG_INTERP_CUBIC</a> = 2, 
<a class="el" href="group__mrpt__base__grp.html#ggaaa1dce60212047066cc950eb834e96fda57bfbf4deebe359987bafa0fd1c6eec0">mrpt::utils::IMG_INTERP_AREA</a> = 3
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interpolation methods for images.  <a href="group__mrpt__base__grp.html#gaaa1dce60212047066cc950eb834e96fd">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#a3769f80743e0397ea2fd598c6029889f">mrpt::utils::TConstructorFlags_CImage</a> { <a class="el" href="namespacemrpt_1_1utils.html#a3769f80743e0397ea2fd598c6029889fa1a19665aa9e0290bf5d5dc8295fdfc9c">mrpt::utils::UNINITIALIZED_IMAGE</a> =  0, 
<a class="el" href="namespacemrpt_1_1utils.html#a3769f80743e0397ea2fd598c6029889fa5f66ba7e420abc6fe334f1099c10d6b2">mrpt::utils::FAST_REF_OR_CONVERT_TO_GRAY</a> =  1
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For usage in one of the CImage constructors.  <a href="namespacemrpt_1_1utils.html#a3769f80743e0397ea2fd598c6029889f">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">::<a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#a3494fa57d68d04e85f10edc3801debb3">mrpt::utils::operator&gt;&gt;</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;in, CImagePtr &amp;pObj)</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a05d8a871017c9c7214faf67311e33525"></a><!-- doxytag: member="CImage.h::CH_GRAY" ref="a05d8a871017c9c7214faf67311e33525" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH_GRAY&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_image_8h_source.html#l00058">58</a> of file <a class="el" href="_c_image_8h_source.html">CImage.h</a>.</p>

</div>
</div>
<a class="anchor" id="abbb5a64a224fe607fbf2fc5ac29e31cb"></a><!-- doxytag: member="CImage.h::CH_RGB" ref="abbb5a64a224fe607fbf2fc5ac29e31cb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH_RGB&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_image_8h_source.html#l00059">59</a> of file <a class="el" href="_c_image_8h_source.html">CImage.h</a>.</p>

<p>Referenced by <a class="el" href="_c_display_window_8h_source.html#l00093">mrpt::gui::CDisplayWindow::showImageAndPoints()</a>.</p>

</div>
</div>
</div>
<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table>  </body></html>