Skip to content

Conversation

anhtu293
Copy link
Contributor

@anhtu293 anhtu293 commented May 6, 2022

New feature

  • Add projection and distortion as new properties of SpatialAugmentedTensor so that we can inherit for other types of tensor. Two projection models are supported: pinhole and equidistant. Default values are pinhole and 1.0 for distortion so it won't change anything for initialization if we are working on "pinhole" image. Only aloscene.Depth is supported for distortion and equidistant projection at this time.
  • Depth.as_points3d is now supported equidistant model with distortion. If no projection model and distortion are specified in arguments, as_points3d uses the projection and distortion property.
  • Depth.as_planar and Depth.as_euclidean now use projection and distortion property if there is no projection model and distortion specified in arguments.
  • Depth.__get_view__ now has color legend if legend is set True.

@anhtu293 anhtu293 requested a review from thibo73800 May 6, 2022 12:11
@anhtu293 anhtu293 added the aloscene aloscene label May 6, 2022
@anhtu293 anhtu293 self-assigned this May 6, 2022
@thibo73800 thibo73800 merged commit 33b49e2 into master May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aloscene aloscene
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants