Why does the "bwskel" function perform poorly after adding parallel processing to my workflow?
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!