PointSerializationOrder

Enums · AiDotNet.Enums

The built-in space-filling curve orders Point Transformer V3 serializes points with.

For Beginners

Each value is a different way of drawing one line through every cell of a 3D grid. Using several lines lets each attention patch see a different neighbourhood. To use a curve of your own, implement ISpaceFillingCurve and pass its registered name to PointTransformerV3Encoder.

How It Works

PTv3 (Wu et al., CVPR 2024, Sec. 3.1) sorts voxelised points by a space-filling curve code and runs attention over consecutive patches of the sorted list. The paper uses all four orders below, cycling through them block by block (Pointcept order=("z", "z-trans", "hilbert", "hilbert-trans")). The transposed variants swap the x and y axes before encoding.

Fields

Field Summary
PointSerializationOrder Hilbert The Hilbert curve, Pointcept hilbert.
PointSerializationOrder HilbertTransposed The Hilbert curve with x and y swapped, Pointcept hilbert-trans.
PointSerializationOrder ZOrder The Z-order (Morton) curve, Pointcept z.
PointSerializationOrder ZOrderTransposed The Z-order curve with x and y swapped, Pointcept z-trans.
int value__