-
Create a conda environment using our environment.yml file.
conda env create -f environment.yml conda activate paraenv
-
Create viewpoints using make_data.py with N_VIEWS viewpoints (stored in data.csv)
python3 make_data.py N_VIEWS
-
Run the MPI code surf_optim for surface rendering for NUM_PROCESSES processes and N_VIEWS viewpoints (where N_VIEWS > NUM_PROCESSES and number of rendering processes is NUM_PROCESSES - 1)
mpiexec -n NUM_PROCESSES pvbatch surf_optim.py N_VIEWS
Run the code vol_optim for volume rendering for NUM_PROCESSES processes and N_VIEWS viewpoints (where N_VIEWS > NUM_PROCESSES and number of rendering processes is NUM_PROCESSES - 1)
mpiexec -n NUM_PROCESSES pvbatch vol_optim.py N_VIEWS
The initial images will be saved in InitImages and Optimised images will be saved in OptiImages
-
The time taken for surface rendering optimization is stored in results1.csv and volume rendering optimization is stored in results2.csv. The columns in results1/2.csv represent number of processes, number of viewpoints, time taken.
-
This can be analysed by opttime.
-
Similarity results can be reproduced using similaritygraphs.ipynb. The similarity and opttime codes are in the helper files.
-
Notifications
You must be signed in to change notification settings - Fork 0
PrateekSogra/CS677-Parallel-optimised-View-Synthesis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published