<divclass="line"><aid="l00005"name="l00005"></a><spanclass="lineno"> 5</span><spanclass="comment">Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aid="l00006"name="l00006"></a><spanclass="lineno"> 6</span><spanclass="comment">modification, are permitted provided that the following conditions are met:</span></div>
<divclass="line"><aid="l00007"name="l00007"></a><spanclass="lineno"> 7</span><spanclass="comment"> * Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aid="l00008"name="l00008"></a><spanclass="lineno"> 8</span><spanclass="comment"> notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aid="l00009"name="l00009"></a><spanclass="lineno"> 9</span><spanclass="comment"> * Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aid="l00010"name="l00010"></a><spanclass="lineno"> 10</span><spanclass="comment"> notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aid="l00011"name="l00011"></a><spanclass="lineno"> 11</span><spanclass="comment"> documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aid="l00012"name="l00012"></a><spanclass="lineno"> 12</span><spanclass="comment"> * Neither the name of the Universite de Sherbrooke nor the</span></div>
<divclass="line"><aid="l00013"name="l00013"></a><spanclass="lineno"> 13</span><spanclass="comment"> names of its contributors may be used to endorse or promote products</span></div>
<divclass="line"><aid="l00014"name="l00014"></a><spanclass="lineno"> 14</span><spanclass="comment"> derived from this software without specific prior written permission.</span></div>
<divclass="line"><aid="l00016"name="l00016"></a><spanclass="lineno"> 16</span><spanclass="comment">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND</span></div>
<divclass="line"><aid="l00017"name="l00017"></a><spanclass="lineno"> 17</span><spanclass="comment">ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div>
<divclass="line"><aid="l00018"name="l00018"></a><spanclass="lineno"> 18</span><spanclass="comment">WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div>
<divclass="line"><aid="l00019"name="l00019"></a><spanclass="lineno"> 19</span><spanclass="comment">DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY</span></div>
<divclass="line"><aid="l00020"name="l00020"></a><spanclass="lineno"> 20</span><spanclass="comment">DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div>
<divclass="line"><aid="l00021"name="l00021"></a><spanclass="lineno"> 21</span><spanclass="comment">(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<divclass="line"><aid="l00022"name="l00022"></a><spanclass="lineno"> 22</span><spanclass="comment">LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span></div>
<divclass="line"><aid="l00023"name="l00023"></a><spanclass="lineno"> 23</span><spanclass="comment">ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div>
<divclass="line"><aid="l00024"name="l00024"></a><spanclass="lineno"> 24</span><spanclass="comment">(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div>
<divclass="line"><aid="l00025"name="l00025"></a><spanclass="lineno"> 25</span><spanclass="comment">SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="line"><aid="l00075"name="l00075"></a><spanclass="lineno"><aclass="line"href="classrtabmap_1_1CompressionThread.html#a6bdec4c44e47774291bc9f98b3b5c146"> 75</a></span><aclass="code hl_function"href="classrtabmap_1_1CompressionThread.html#a6bdec4c44e47774291bc9f98b3b5c146">CompressionThread</a>(<spanclass="keyword">const</span> cv::Mat & mat, <spanclass="keyword">const</span> std::string & format = <spanclass="stringliteral">""</span>);</div>
<divclass="line"><aid="l00081"name="l00081"></a><spanclass="lineno"><aclass="line"href="classrtabmap_1_1CompressionThread.html#a8cfe0e3d632c888c143b4e7902145fde"> 81</a></span><aclass="code hl_function"href="classrtabmap_1_1CompressionThread.html#a8cfe0e3d632c888c143b4e7902145fde">CompressionThread</a>(<spanclass="keyword">const</span> cv::Mat & bytes, <spanclass="keywordtype">bool</span> isImage);</div>
<divclass="line"><aid="l00097"name="l00097"></a><spanclass="lineno"><aclass="line"href="namespacertabmap.html#a52beb14eea422420c95fd69bdf3ab9dc"> 97</a></span>std::vector<unsigned char> RTABMAP_CORE_EXPORT <aclass="code hl_function"href="namespacertabmap.html#a52beb14eea422420c95fd69bdf3ab9dc">compressImage</a>(<spanclass="keyword">const</span> cv::Mat & image, <spanclass="keyword">const</span> std::string & format = <spanclass="stringliteral">".png"</span>);</div>
<divclass="line"><aid="l00099"name="l00099"></a><spanclass="lineno"><aclass="line"href="namespacertabmap.html#abd9d5523210562abd9b5dc8fa9dbeb99"> 99</a></span>cv::Mat RTABMAP_CORE_EXPORT <aclass="code hl_function"href="namespacertabmap.html#abd9d5523210562abd9b5dc8fa9dbeb99">compressImage2</a>(<spanclass="keyword">const</span> cv::Mat & image, <spanclass="keyword">const</span> std::string & format = <spanclass="stringliteral">".png"</span>);</div>
<divclass="ttc"id="aclassrtabmap_1_1CompressionThread_html"><divclass="ttname"><ahref="classrtabmap_1_1CompressionThread.html">rtabmap::CompressionThread</a></div><divclass="ttdoc">Background thread to compress or uncompress images and generic matrices.</div><divclass="ttdef"><b>Definition</b><ahref="Compression_8h_source.html#l00067">Compression.h:68</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1CompressionThread_html_a6908afb16364f91c7d0744decf6c970d"><divclass="ttname"><ahref="classrtabmap_1_1CompressionThread.html#a6908afb16364f91c7d0744decf6c970d">rtabmap::CompressionThread::getCompressedData</a></div><divclass="ttdeci">const cv::Mat & getCompressedData() const</div><divclass="ttdef"><b>Definition</b><ahref="Compression_8h_source.html#l00083">Compression.h:83</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1CompressionThread_html_a6bdec4c44e47774291bc9f98b3b5c146"><divclass="ttname"><ahref="classrtabmap_1_1CompressionThread.html#a6bdec4c44e47774291bc9f98b3b5c146">rtabmap::CompressionThread::CompressionThread</a></div><divclass="ttdeci">CompressionThread(const cv::Mat &mat, const std::string &format="")</div><divclass="ttdoc">Constructs a thread in compress mode.</div></div>
<divclass="ttc"id="aclassrtabmap_1_1CompressionThread_html_a8cfe0e3d632c888c143b4e7902145fde"><divclass="ttname"><ahref="classrtabmap_1_1CompressionThread.html#a8cfe0e3d632c888c143b4e7902145fde">rtabmap::CompressionThread::CompressionThread</a></div><divclass="ttdeci">CompressionThread(const cv::Mat &bytes, bool isImage)</div><divclass="ttdoc">Constructs a thread in uncompress mode.</div></div>
<divclass="ttc"id="aclassrtabmap_1_1CompressionThread_html_aafdc57cad744cbe94b30a8abfe7711a4"><divclass="ttname"><ahref="classrtabmap_1_1CompressionThread.html#aafdc57cad744cbe94b30a8abfe7711a4">rtabmap::CompressionThread::getUncompressedData</a></div><divclass="ttdeci">cv::Mat & getUncompressedData()</div><divclass="ttdef"><b>Definition</b><ahref="Compression_8h_source.html#l00085">Compression.h:85</a></div></div>
<divclass="ttc"id="anamespacertabmap_html_a462f181a147c9f5315f70b0cd89210e5"><divclass="ttname"><ahref="namespacertabmap.html#a462f181a147c9f5315f70b0cd89210e5">rtabmap::uncompressImage</a></div><divclass="ttdeci">cv::Mat RTABMAP_CORE_EXPORT uncompressImage(const cv::Mat &bytes)</div><divclass="ttdoc">Decodes compressed image bytes to a @cv::Mat.</div></div>
<divclass="ttc"id="anamespacertabmap_html_a4f0dfae296aa7029e959d573b286285a"><divclass="ttname"><ahref="namespacertabmap.html#a4f0dfae296aa7029e959d573b286285a">rtabmap::compressString</a></div><divclass="ttdeci">cv::Mat RTABMAP_CORE_EXPORT compressString(const std::string &str)</div><divclass="ttdoc">Compresses a null-terminated string using compressData2().</div></div>
<divclass="ttc"id="anamespacertabmap_html_a52beb14eea422420c95fd69bdf3ab9dc"><divclass="ttname"><ahref="namespacertabmap.html#a52beb14eea422420c95fd69bdf3ab9dc">rtabmap::compressImage</a></div><divclass="ttdeci">std::vector< unsigned char > RTABMAP_CORE_EXPORT compressImage(const cv::Mat &image, const std::string &format=".png")</div><divclass="ttdoc">Encodes image to a byte buffer (OpenCV imencode or RVL for depth).</div></div>
<divclass="ttc"id="anamespacertabmap_html_a67c525e80a7187b3106e5fd76155cabc"><divclass="ttname"><ahref="namespacertabmap.html#a67c525e80a7187b3106e5fd76155cabc">rtabmap::compressedDepthFormat</a></div><divclass="ttdeci">std::string RTABMAP_CORE_EXPORT compressedDepthFormat(const cv::Mat &bytes)</div><divclass="ttdoc">Detects the compression format of depth image bytes.</div></div>
<divclass="ttc"id="anamespacertabmap_html_a696fffaafe542bfb49fc9ab0da2c66b9"><divclass="ttname"><ahref="namespacertabmap.html#a696fffaafe542bfb49fc9ab0da2c66b9">rtabmap::uncompressData</a></div><divclass="ttdeci">cv::Mat RTABMAP_CORE_EXPORT uncompressData(const cv::Mat &bytes)</div><divclass="ttdoc">Restores a matrix compressed with compressData() or compressData2().</div></div>
<divclass="ttc"id="anamespacertabmap_html_a749adef593d09b887926afb6ebdb5834"><divclass="ttname"><ahref="namespacertabmap.html#a749adef593d09b887926afb6ebdb5834">rtabmap::compressData</a></div><divclass="ttdeci">std::vector< unsigned char > RTABMAP_CORE_EXPORT compressData(const cv::Mat &data)</div><divclass="ttdoc">Compresses a matrix with zlib; appends rows, cols and type at the end.</div></div>
<divclass="ttc"id="anamespacertabmap_html_a811701fc1452e49e82fcab8d4476832f"><divclass="ttname"><ahref="namespacertabmap.html#a811701fc1452e49e82fcab8d4476832f">rtabmap::uncompressString</a></div><divclass="ttdeci">std::string RTABMAP_CORE_EXPORT uncompressString(const cv::Mat &bytes)</div><divclass="ttdoc">Decompresses a string produced by compressString().</div></div>
<divclass="ttc"id="anamespacertabmap_html_abd9d5523210562abd9b5dc8fa9dbeb99"><divclass="ttname"><ahref="namespacertabmap.html#abd9d5523210562abd9b5dc8fa9dbeb99">rtabmap::compressImage2</a></div><divclass="ttdeci">cv::Mat RTABMAP_CORE_EXPORT compressImage2(const cv::Mat &image, const std::string &format=".png")</div><divclass="ttdoc">Same as compressImage() but returns a CV_8UC1 row matrix.</div></div>
<divclass="ttc"id="anamespacertabmap_html_aca82ee9efc46461c648c7ab8999e1d5b"><divclass="ttname"><ahref="namespacertabmap.html#aca82ee9efc46461c648c7ab8999e1d5b">rtabmap::compressData2</a></div><divclass="ttdeci">cv::Mat RTABMAP_CORE_EXPORT compressData2(const cv::Mat &data)</div><divclass="ttdoc">Same as compressData() but returns a CV_8UC1 row matrix.</div></div>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.8 </li>