dicengine / dice

Digital Image Correlation Engine (DICe): a stereo DIC application that runs on Mac, Windows, and Linux
Other
336 stars 125 forks source link

How to use parallel processing through the gui? #156

Open zjj0930 opened 4 years ago

zjj0930 commented 4 years ago

Hi,

Thanks for your software and contribution. I am using the GUI of DICe to process an image sequence. And I did not see the option of parallel processing in GUI. So how to toggle on the multi-processing function using GUI?

Regards.

dicengine commented 4 years ago

The short answer to your question is that the GUI doesn't have a way to enable parallel at the moment. The long answer is that we're currently experimenting with several ways to decompose the DIC problem to make the best use of parallel processing. At a minimum, we'd like to make better use of GPUs and threading, but we haven't settled on a particular algorithm to do so. Once the dust settles on how we will make use of parallel processing it will likely happen seamlessly for the GUI.

zjj0930 commented 4 years ago

Thank you for your reply. And I have another question which is how to calibrate the image, i.e. tell the software the scale of the image (pixel: actual length). Because I would like to get the results related to the actual displacement or strain.

dicengine commented 4 years ago

If you are doing 2d correlation, you can calibrate the analysis using calibration images and the calibration tool in the GUI. If you check the box that says "calibrate results" you will see a button for "perform cal". For this you will need several images of a calibration pattern with one image of the calibration pattern in the plane of the sample you are analyzing (this is the pose estimation frame). Once the cal is complete if you accept the cal results the results from your DIC measurements will now be in terms of physical units.

nedisy commented 4 months ago

Hello, any update on this? I am running DICe for 200-300 images with size of 6000x4000. Without GPU parallelization, it took 2+ hours. I need to do a total of 12 analysis, which would make 24 hours of computing time. Also the latest pre-release does not have many ROI options in it.