1 vin.geometry.semidense_schema

vin.geometry.semidense_schema

Semidense projection feature schema for VIN geometry helpers.

This module owns the stable ordering of semidense projection summary features and grid channels used by aria_nbv.vin.geometry.semidense_projection and model-owned heads such as aria_nbv.vin.models.scene_myopic.VinModelV3. It is deliberately pure metadata: no PyTorch, camera, or model imports belong here.

1.1 Attributes

Name Description
SEMIDENSE_GRID_CHANNELS Channel count for semidense projection grid tensors.
SEMIDENSE_GRID_FEATURES Screen-space grid channels consumed by VIN semidense CNN encoders.
SEMIDENSE_PROJ_DIM Feature dimension for semidense projection summary tensors.
SEMIDENSE_PROJ_FEATURES Ordered per-candidate projection statistics used by VIN scorers.

1.2 Functions

Name Description
semidense_proj_feature_index Resolve a canonical semidense projection feature name to its index.

1.2.1 semidense_proj_feature_index

vin.geometry.semidense_schema.semidense_proj_feature_index(name)

Resolve a canonical semidense projection feature name to its index.

1.2.1.1 Parameters

name: Canonical feature name from SEMIDENSE_PROJ_FEATURES.

1.2.1.2 Returns

int Zero-based channel index in the projection summary tensor.

1.2.1.3 Raises

ValueError If name does not identify a known projection summary feature.

Back to top