Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b9bbdf8
Handle RVL compressed depth images in re_mcap
makeecat Nov 11, 2025
6558704
add encoded depth image archetype
makeecat Nov 12, 2025
aec5459
add re_depth_compression (RVL only now)
makeecat Nov 12, 2025
360fcda
integrate EncodedDepthImage into viewer
makeecat Nov 12, 2025
37dc6df
integrate EncodedDepthImage into re_mcap
makeecat Nov 12, 2025
dbf3622
add docs
makeecat Nov 12, 2025
0c52174
fix codegen lint error of docs
makeecat Nov 12, 2025
ceda8bd
resolve lint error of re_depth_compression
makeecat Nov 12, 2025
77deb1e
Merge branch 'main' into users/yang/EncodedDepthImage
makeecat Nov 12, 2025
5c300c3
change version for re_depth_compression
makeecat Nov 12, 2025
a4e7668
add re_depth_compression in workspace.dependencies
makeecat Nov 12, 2025
0c59b34
fix README of re_depth_compression and pass lint
makeecat Nov 12, 2025
50a7954
add EncodedDepthImage into rerun_py gen_common_index.py
makeecat Nov 12, 2025
2baf7e0
add empty example for encoded_depth_image to pass lint
makeecat Nov 12, 2025
1ed9178
fix empty example for encoded_depth_image to pass lint
makeecat Nov 12, 2025
9a54e99
pass clippy lint
makeecat Nov 12, 2025
b3d6328
fix increment_count for EncodedDepthImage in view_2d
makeecat Nov 12, 2025
b6b7f91
fmt
makeecat Nov 13, 2025
da0acda
use depth image visualizer and encoded depth image visualizer
makeecat Nov 13, 2025
203f027
re-export EncodedDepthImage in rerun_py
makeecat Nov 13, 2025
aea216a
add EncodedDepthImage.snap for re_viewer tests snapshot
makeecat Nov 13, 2025
5eeeb54
add example for EncodedDepthImage
makeecat Nov 13, 2025
cfd7c38
allow encoded_depth.png in check_large_files
makeecat Nov 13, 2025
013babb
add PNG decoding for EncodedDepthImage
makeecat Nov 13, 2025
f7bfdfc
fix compare_snippet_output lint
makeecat Nov 14, 2025
8100b1f
fix codegen lint
makeecat Nov 14, 2025
949c4af
fix cpp-fmt
makeecat Nov 18, 2025
888b0c3
fix rs lint
makeecat Nov 18, 2025
723d665
support rvl as media_type
makeecat Nov 18, 2025
7447e55
Refactor rvl logic into re_viewer_context instead of separte crate
makeecat Nov 18, 2025
5446d7a
fix codegen lint
makeecat Nov 18, 2025
d0e267e
add rvl_matcher for MediaType::guess_from_data, fix typo for stl_matc…
makeecat Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ Update instructions:
| re_case | Case conversions, the way Rerun likes them |
| re_crash_handler | Detect panics and signals, logging them and optionally sending them to analytics. |
| re_error | Helpers for handling errors. |
| re_depth_compression | Codecs for depth compression including RVL and PNG. |
| re_format | Miscellaneous tools to format and parse numbers, durations, etc. |
| re_int_histogram | A histogram with `i64` keys and `u32` counts, supporting both sparse and dense uses. |
| re_log | Helpers for setting up and doing text logging in the Rerun crates. |
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10336,6 +10336,7 @@ dependencies = [
"bit-vec",
"bitflags 2.9.4",
"bytemuck",
"byteorder",
"crossbeam",
"datafusion",
"directories",
Expand Down
1 change: 1 addition & 0 deletions crates/store/re_types/definitions/rerun/archetypes.fbs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
namespace rerun.archetypes;

/// A depth image encoded with a codec (e.g. RVL or PNG).
///
/// Rerun also supports uncompressed depth images with the [`archetypes.DepthImage`](https://rerun.io/docs/reference/types/archetypes/depth_image).
///
/// \example archetypes/encoded_depth_image
table EncodedDepthImage(
"attr.cpp.no_field_ctors",
"attr.docs.category": "Image & tensor",
"attr.docs.view_types": "Spatial2DView, Spatial3DView: if logged under a projection",
"attr.rerun.state": "unstable",
"attr.rust.derive": "PartialEq"
) {
// --- Required ---

/// The encoded depth payload (e.g. RVL, depth-PNG).
blob: rerun.components.Blob ("attr.rerun.component_required", order: 1000);

/// Image format (width, height, datatype).
///
/// Unlike generic [archetypes.EncodedImage], most depth codecs do not carry full headers,
/// so width/height/datatype must be logged explicitly.
format: rerun.components.ImageFormat ("attr.rerun.component_required", order: 1100);

// --- Recommended ---

/// Media type of the blob, e.g.:
///
/// * `application/rvl` (RVL-compressed 16-bit)
/// * `image/png`
media_type: rerun.components.MediaType ("attr.rerun.component_recommended", nullable, order: 2000);

/// Conversion from native units to meters (e.g. `0.001` for millimeters).
meter: rerun.components.DepthMeter ("attr.rerun.component_recommended", nullable, order: 2100);

// --- Optional ---

/// Optional colormap for visualization of decoded depth.
colormap: rerun.components.Colormap ("attr.rerun.component_optional", nullable, order: 3000);

/// Optional visualization range for depth values.
depth_range: rerun.components.ValueRange ("attr.rerun.component_optional", nullable, order: 3050);

/// Optional point fill ratio for point-cloud projection.
point_fill_ratio: rerun.components.FillRatio ("attr.rerun.component_optional", nullable, order: 3100);

/// Optional 2D draw order.
draw_order: rerun.components.DrawOrder ("attr.rerun.component_optional", nullable, order: 3200);
}
1 change: 1 addition & 0 deletions crates/store/re_types/src/archetypes/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading