Skip to content

Conversation

anhtu293
Copy link
Contributor

@anhtu293 anhtu293 commented Nov 7, 2022

  • New feature 1 : Better handle distortion coef for equidistant projection: both float and list are accepted.
# Python code snippet showing how to use it.
import torch
from aloscene import Depth

x = torch.rand(size=(1, 1, 20, 20))
depth1 = Depth(x, projection="equidistant", distortion=[0.5])
depth2 = Depth(x, projection="equidistant", distortion=0.5)

This pull request includes

  • Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@anhtu293 anhtu293 requested a review from Data-Iab November 7, 2022 14:29
@anhtu293
Copy link
Contributor Author

anhtu293 commented Nov 7, 2022

@tflahaul

@Data-Iab Data-Iab merged commit fd8e8c9 into master Nov 9, 2022
@Data-Iab Data-Iab deleted the dist-coef branch November 9, 2022 09:12
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.

2 participants