This commit is contained in:
ob-yalian
2025-10-29 02:39:39 +00:00
parent ac354bacb3
commit 85de221b5a
114 changed files with 1736 additions and 3310 deletions
@@ -6,7 +6,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>4.7. Compressed Image &mdash; OrbbecSDK V2 ROS2 Wrapper documentation</title>
<title>4.5. Compressed Image &mdash; OrbbecSDK V2 ROS2 Wrapper documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=63de077d" />
@@ -21,8 +21,8 @@
<script src="../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="4.8. Enabling and Visualizing Point Cloud in ROS 2" href="point_cloud.html" />
<link rel="prev" title="4.6. TF from coordinate A to coordinate B:" href="tf_transformations.html" />
<link rel="next" title="4.6. Enabling and Visualizing Point Cloud in ROS 2" href="point_cloud.html" />
<link rel="prev" title="4.4. ROS2 Robot Coordinate System vs Camera Optical Coordinate System" href="coordinate_and_tf.html" />
</head>
<body class="wy-body-for-nav">
@@ -150,31 +150,31 @@
<li class="toctree-l3"><a class="reference internal" href="topics.html#device-status-diagnostics">4.3.4. Device Status &amp; Diagnostics</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="coordinate_systems.html">4.4. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a><ul>
<li class="toctree-l3"><a class="reference internal" href="coordinate_systems.html#using-ros2-tf-tools">4.4.1. Using ROS2 TF Tools</a><ul>
<li class="toctree-l4"><a class="reference internal" href="coordinate_systems.html#view-tf-tree-structure">4.4.1.1. View TF Tree Structure</a></li>
<li class="toctree-l4"><a class="reference internal" href="coordinate_systems.html#visualize-tf-tree-in-rviz2">4.4.1.2. Visualize TF Tree in rviz2</a></li>
<li class="toctree-l2"><a class="reference internal" href="coordinate_and_tf.html">4.4. ROS2 Robot Coordinate System vs Camera Optical Coordinate System</a><ul>
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#using-ros2-tf-tools">4.4.1. Using ROS2 TF Tools</a><ul>
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#view-tf-tree-structure">4.4.1.1. View TF Tree Structure</a></li>
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#visualize-tf-tree-in-rviz2">4.4.1.2. Visualize TF Tree in rviz2</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="coordinate_systems.html#camera-tf-calculation-and-publishing-mechanism">4.4.2. Camera TF Calculation and Publishing Mechanism</a><ul>
<li class="toctree-l4"><a class="reference internal" href="coordinate_systems.html#core-function-obcameranode-calcandpublishstatictransform">4.4.2.1. Core Function: <code class="docutils literal notranslate"><span class="pre">OBCameraNode::calcAndPublishStaticTransform()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="coordinate_systems.html#function-breakdown">4.4.2.2. Function Breakdown</a></li>
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-tf-calculation-and-publishing-mechanism">4.4.2. Camera TF Calculation and Publishing Mechanism</a><ul>
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#core-function-obcameranode-calcandpublishstatictransform">4.4.2.1. Core Function: <code class="docutils literal notranslate"><span class="pre">OBCameraNode::calcAndPublishStaticTransform()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="coordinate_and_tf.html#function-breakdown">4.4.2.2. Function Breakdown</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#camera-sensor-structure">4.4.3. Camera sensor structure</a></li>
<li class="toctree-l3"><a class="reference internal" href="coordinate_and_tf.html#tf-from-coordinate-a-to-coordinate-b">4.4.4. TF from coordinate A to coordinate B:</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="camera_sensor_structure.html">4.5. Camera sensor structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="tf_transformations.html">4.6. TF from coordinate A to coordinate B:</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">4.7. Compressed Image</a></li>
<li class="toctree-l2"><a class="reference internal" href="point_cloud.html">4.8. Enabling and Visualizing Point Cloud in ROS 2</a><ul>
<li class="toctree-l3"><a class="reference internal" href="point_cloud.html#enabling-depth-point-cloud">4.8.1. Enabling Depth Point Cloud</a><ul>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#command-to-enable-depth-point-cloud">4.8.1.1. Command to Enable Depth Point Cloud</a></li>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#visualizing-depth-point-cloud-in-rviz2">4.8.1.2. Visualizing Depth Point Cloud in RViz2</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">4.5. Compressed Image</a></li>
<li class="toctree-l2"><a class="reference internal" href="point_cloud.html">4.6. Enabling and Visualizing Point Cloud in ROS 2</a><ul>
<li class="toctree-l3"><a class="reference internal" href="point_cloud.html#enabling-depth-point-cloud">4.6.1. Enabling Depth Point Cloud</a><ul>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#command-to-enable-depth-point-cloud">4.6.1.1. Command to Enable Depth Point Cloud</a></li>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#visualizing-depth-point-cloud-in-rviz2">4.6.1.2. Visualizing Depth Point Cloud in RViz2</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="point_cloud.html#enabling-colored-point-cloud">4.8.2. Enabling Colored Point Cloud</a><ul>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#command-to-enable-colored-point-cloud">4.8.2.1. Command to Enable Colored Point Cloud</a></li>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#visualizing-colored-point-cloud-in-rviz2">4.8.2.2. Visualizing Colored Point Cloud in RViz2</a></li>
<li class="toctree-l3"><a class="reference internal" href="point_cloud.html#enabling-colored-point-cloud">4.6.2. Enabling Colored Point Cloud</a><ul>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#command-to-enable-colored-point-cloud">4.6.2.1. Command to Enable Colored Point Cloud</a></li>
<li class="toctree-l4"><a class="reference internal" href="point_cloud.html#visualizing-colored-point-cloud-in-rviz2">4.6.2.2. Visualizing Colored Point Cloud in RViz2</a></li>
</ul>
</li>
</ul>
@@ -349,7 +349,7 @@
<ul class="wy-breadcrumbs">
<li><a href="../../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="application_guide.html"><span class="section-number">4. </span>Application Guide</a></li>
<li class="breadcrumb-item active"><span class="section-number">4.7. </span>Compressed Image</li>
<li class="breadcrumb-item active"><span class="section-number">4.5. </span>Compressed Image</li>
<li class="wy-breadcrumbs-aside">
<a href="../../_sources/source/4_application_guide/compressed_image.md.txt" rel="nofollow"> View page source</a>
</li>
@@ -360,7 +360,7 @@
<div itemprop="articleBody">
<div class="lang-switch" style="margin:0 0 1em 0; font-size:0.9em;"><a class="lang-other" href="#">中文</a> | <a class="lang-current" href="#">English</a></div><script>(function(){var p=window.location.pathname;var isEn=p.indexOf('/en/')!==-1 && p.indexOf('/zh/')===-1;if(p.indexOf('/zh/')!==-1) isEn=false;var other = isEn ? p.replace(/\/en\//, '/zh/') : p.replace(/\/zh\//, '/en/');var current=p;var sw=document.querySelector('.lang-switch'); if(!sw) return;var o=sw.querySelector('.lang-other'); var c=sw.querySelector('.lang-current');if(isEn){ o.textContent='中文'; c.textContent='English'; } else { o.textContent='English'; c.textContent='中文'; }o.setAttribute('href', other); c.setAttribute('href', current);})();</script><section id="compressed-image">
<h1><span class="section-number">4.7. </span>Compressed Image<a class="headerlink" href="#compressed-image" title="Link to this heading"></a></h1>
<h1><span class="section-number">4.5. </span>Compressed Image<a class="headerlink" href="#compressed-image" title="Link to this heading"></a></h1>
<p>You can use <code class="docutils literal notranslate"><span class="pre">image_transport</span></code> to compress the image using <code class="docutils literal notranslate"><span class="pre">jpeg</span></code>. Below is an example of how to use it:</p>
<p>To access the compressed color image, you can use the following command:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ros2<span class="w"> </span>topic<span class="w"> </span><span class="nb">echo</span><span class="w"> </span>/camera/color/image_raw/compressed<span class="w"> </span>--no-arr
@@ -373,15 +373,15 @@
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="tf_transformations.html" class="btn btn-neutral float-left" title="4.6. TF from coordinate A to coordinate B:" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="point_cloud.html" class="btn btn-neutral float-right" title="4.8. Enabling and Visualizing Point Cloud in ROS 2" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
<a href="coordinate_and_tf.html" class="btn btn-neutral float-left" title="4.4. ROS2 Robot Coordinate System vs Camera Optical Coordinate System" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="point_cloud.html" class="btn btn-neutral float-right" title="4.6. Enabling and Visualizing Point Cloud in ROS 2" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright 2025, ORBBEC INC. www.orbbec.com..
<span class="lastupdated">Last updated on 2025-10-29 02:21:32.
<span class="lastupdated">Last updated on 2025-10-29 02:39:33.
</span></p>
</div>