jchibane / if-net

Implicit Feature Network (IF-Net) - Codebase
305 stars 59 forks source link

Custom dataset #14

Closed markkim1115 closed 3 years ago

markkim1115 commented 3 years ago

Hi. Thank you for great work, Julian!

I need your advice for my research.

I want to reconstruct human mesh data as implicit representation.

but this mesh has big hole.

I'm thinking these days how i can make occupancy data from this.

Can Your watertight mesh construction algorithm make this as a filled occupancy grid?

or do you think any other good ways for this?

thank you again!

jchibane commented 3 years ago

Hi @DuziKim ,

yes, our preprocessing script can handle holes up to a certain amount. I used it on human data, where often the feet had no bottom. The "implicit waterproofing" function (described in the supplementary paper) could handle such holes very well.

See https://github.com/jchibane/if-net/blob/master/data_processing/implicit_waterproofing.py#L31

You give it a mesh (as trimesh object) and a point in 3D space. The output will be if this point is inside or outside of your object, which is what you need to train our IF-Nets. To see if it creates reasonable watertighting on your data you can do the following:

Hope that helps!

Best, Julian

markkim1115 commented 3 years ago

Great, but I concern about "certain amount". I trying to apply this on CoMA mesh data, it has big hole bottom of neck..! Anyway, thank you!!