Skip to content

Conversation

@ritvikvasan
Copy link
Contributor

This PR cleans up SDF generation scripts.

To generate scaled segs, meshes, and SDFs for the NPM1 dataset, run

python image_sdfs.py --save_path "./test_img/" --manifest ""../../../../../morphology_appropriate_representation_learning/preprocessed_data/npm1/manifest.csv" --vox_resolution 32 --debug True --global_path "../../../../../"

To get the max bounding box of the scaled segs, run

python get_max_bounding_box.py --save_path './test_img/' --manifest ""../../../../../morphology_appropriate_representation_learning/preprocessed_data/npm1/manifest.csv" --global_path "../../../../../"

To generate SDF point clouds, run

python pc_sdfs.py --save_path "./test_pcs/" --scaled_mesh_path "./test_img/outputs_mesh/" --vox_resolution 32

Copy link
Collaborator

@fatwir fatwir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the three commands worked - the one for computing the bounds is taking quite some time to process and this should be fine I believe!

@ritvikvasan ritvikvasan merged commit e43de1d into main Dec 13, 2024
1 check passed
@ritvikvasan ritvikvasan deleted the SDF_preprocessing branch December 13, 2024 19:57
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.

3 participants