Skip to content

Preserve original LAS/LAZ intensity field through raycloud pipeline#18

Merged
tim-devereux merged 1 commit into
Leaf2Landscape:mainfrom
tim-devereux:las_io
May 19, 2026
Merged

Preserve original LAS/LAZ intensity field through raycloud pipeline#18
tim-devereux merged 1 commit into
Leaf2Landscape:mainfrom
tim-devereux:las_io

Conversation

@tim-devereux

Copy link
Copy Markdown
Collaborator

Extends the passthrough buffer from 8 to 10 bytes per point, adding the original uint16 sensor intensity so it is restored verbatim on write. Alpha is now read from extra_bytes[12/16] rather than point->intensity, keeping it separate from the sensor intensity value. Also fixes a weak-return misclassification where a low-intensity real return could be truncated to intensity=0 and flagged as unbounded.

Extends the passthrough buffer from 8 to 10 bytes per point, adding the
original uint16 sensor intensity so it is restored verbatim on write.
Alpha is now read from extra_bytes[12/16] rather than point->intensity,
keeping it separate from the sensor intensity value. Also fixes a
weak-return misclassification where a low-intensity real return could be
truncated to intensity=0 and flagged as unbounded.
@tim-devereux tim-devereux merged commit 188862c into Leaf2Landscape:main May 19, 2026
0 of 3 checks passed
@tim-devereux tim-devereux deleted the las_io branch June 18, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant