Why does the "bwskel" function perform poorly after adding parallel processing to my workflow?
Show older comments
I am trying to perform an image processing task on a set of high resolution satellite images (1350 x 2000 pixels). There are a few thousand images that I would like to process, and it currently takes a lot of time to process them all. For this reason, I tried to add parallel processing to my workflow by using "batch" and "parfor". Unfortunately, I found that my performance was worse after adding a parallel pool with 4 workers to my workflow using my local parallel cluster. After using the "profile" tool on my workflow, I was able to identify that the most time consuming part was the "bwskel" function, which took up a majority of the time.
Why does the "bwskel" function perform so poorly after adding parallel processing to my workflow?
Accepted Answer
More Answers (0)
Categories
Find more on Parallel for-Loops (parfor) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!