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

Geometry primitives #5

Closed
KonstantinUshenin opened this issue Sep 7, 2022 · 5 comments
Closed

Geometry primitives #5

KonstantinUshenin opened this issue Sep 7, 2022 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@KonstantinUshenin
Copy link
Collaborator

We need geometrical primitives in math_core.py. The code should provide implicit representation of shapes.

Examples:

List of expected 3D objects:

  • Sphere
  • Box
  • Tetrahedron (equilateral)

List of expected 2D objects:

  • Circle
  • Square
  • Triangle (equilateral)
@KonstantinUshenin KonstantinUshenin added enhancement New feature or request good first issue Good for newcomers labels Sep 7, 2022
@KonstantinUshenin
Copy link
Collaborator Author

@hanuel-89 , could you look at this issue? I think it is an easy task for one more contribute.

@hanuel-89
Copy link
Contributor

Sure. I'll look into it.

@KonstantinUshenin
Copy link
Collaborator Author

KonstantinUshenin commented Sep 15, 2022

@hanuel-89 I want to tell you more about the maintainer goals. We want to implement as many as possible methods from computational anatomy using neural networks. Computational anatomy includes a lot of heterogeneous tasks. There are some examples: https://team.inria.fr/epione/en/research/computational-anatomy/ https://en.wikipedia.org/wiki/Computational_anatomy

We are forced to use JAX+HAIKU because PyTorch and Tensorflow are really bad choices for physically informed neural networks and implicit representation.

3D objects may be presented for calculation as voxel models, surface mesh, or point clouds. Implicit representation with neural networks is an advanced approach. The key concept for our code is the signed distance function.

@KonstantinUshenin
Copy link
Collaborator Author

@hanuel-89 , I have just added sdf_primitive_sphere here https://github.com/KonstantinUshenin/nndt/blob/main/nndt/math_core.py
It is the first primitive in this list.

@KonstantinUshenin
Copy link
Collaborator Author

Separate this to #128 #127 #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants