Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Tifxyz <-> RGB png - #200

Merged
giorgioangel merged 1 commit into
dev-nextfrom
rgb-img
Sep 5, 2025
Merged

giorgioangel merged 1 commit into
dev-nextfrom
rgb-img

Conversation

@giorgioangel

Copy link
Copy Markdown
Member

We can convert a tifxyz to a RGB png image, encoding the 3D positions as colors (normalizing the 3D bounding box to [0...1])

Assuming we keep the metadata of the original tifxyz, we can convert the .png back.

Example commands

vc_tifxyz2rgb /volpkgs/P0343P.volpkg/paths/auto_grown_20250608111729990

vc_rgb2tifxyz \
  /volpkgs/P0343P.volpkg/rgb/auto_grown_20250608111729990.png \
  /volpkgs/P0343P.volpkg/paths/auto_grown_20250608111729990/meta.json \
  /volpkgs/P0343P.volpkg/paths/test_rgb2 \
  --invalid-black

@giorgioangel
giorgioangel merged commit 3e0c6da into dev-next Sep 5, 2025
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant