← All projects
Project record1 mention
Originally shared on Hacker News

flatpoints

flatpoints flattens 3D point clouds into 2D geometry images, storing the point cloud as an image whose pixels are the points, so regular grids can serve as a data structure that is easier to integrate into ML pipelines; demonstrated use cases include point cloud compression (x20 on the bunny via JPEG XL) and grid operations such as neighbor queries and convolution.

Last shared
01 / The problem

What it addresses

Irregular 3D point clouds need preprocessing to be flattened to 2D so they can be sorted better and stored in regular grid data structures.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. flatpoints

    flatpoints flattens 3D point clouds into 2D geometry images, storing the point cloud as an image whose pixels are the points, so regular grids can serve as a data structure that is easier to integrate into ML pipelines; demonstrated use cases include point cloud compression (x20 on the bunny via JPEG XL) and grid operations such as neighbor queries and convolution.

    Problem: Irregular 3D point clouds need preprocessing to be flattened to 2D so they can be sorted better and stored in regular grid data structures.

    Posted by @adec314 · Original source ↗

    Story title · @adec314 · · Source ↗

    Show HN: 3D to 2D, point clouds flattening (geometry images)

    Submitted URL · @adec314 · · Source ↗

    https://github.com/Neighborhood-Grid/flatpoints

    Source text · @adec314 · · Source ↗

    I have been trying for a while to put irregular things (point clouds) in regular grids, to use the grid itself as a data structure.

    Source text · @adec314 · · Source ↗

    grids are more structured than e.g. trees and thus easier integrate into ML pipelines

    Source text · @adec314 · · Source ↗

    I need some kind of preprocessing, to make the points flat (2d insteed of 3d). When they are already flat I can sort them better.

    Source text · @adec314 · · Source ↗

    the point cloud is stored as an image, and the pixels are the points

    Source text · @adec314 · · Source ↗

    Promising application is point cloud compression, but I can think of others: matrix storage is maybe not as accurate as e.g. kdtree storage, but very convenient to use, eg for neighbor querys, convolution...

    Source text · @adec314 · · Source ↗

    here I get x20 compression on the bunny for a very correct output. (pip install flatpoints[viz] pyjpegxl)