-
-
Notifications
You must be signed in to change notification settings - Fork 978
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
Add Hyperplane
and Ray
API
#1963
Conversation
for more information, see https://pre-commit.ci
|
||
|
||
# NOTE: not very clear if this is a module or custom Tensor | ||
# tensor subclass doesn't like to override methods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Module, I guess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should explore this https://colab.research.google.com/drive/1WiuUjznGVOyDvn03bt8ZUbCtGS8lqOBN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @stevenlovegrove for awareness— context is a discussion we had in slack to model a BaseVectorType to mimic Eigen::Vector , Eigen::Matrix, etc to build on top of that things like Vec2, Vec3, RotationMatrix, HomographyMatrix, ProjectionMatrix, etc.
also one attempt is did some time ago to model a Image api, that maybe we could align with new Sophus Image or pangolin : #1562
Only "drawback" is that will be pytorch only , while we have been recently exploring how to extend/adapt Kornia code to run given other backends like numpy/numba, triton, jax, etc
* initial commit for hyperplane * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixes and add tests * add fit_plane * add line plane intersection * add intersect mask * fix test * make Ray alias * jit ignore * remove line from plane for now * implement dot, squared_norm * add note comment * restore kornia check type * better message * undo jit ignore Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Changes
Fixes #1753
Type of change
Checklist