Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handle distortion coef #238

Merged
merged 1 commit into from
Nov 9, 2022
Merged

better handle distortion coef #238

merged 1 commit into from
Nov 9, 2022

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
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