Iterate only over the selectRegionLayer regions (instead of the whole image) to generate the backgroundLayer. Fixed the progress bar to be compatible with iterating over the shapes, and accurately display the proper percentage when multiple regions are created.
Iterate only over the
selectRegionLayer
regions (instead of the whole image) to generate thebackgroundLayer
. Fixed the progress bar to be compatible with iterating over the shapes, and accurately display the proper percentage when multiple regions are created.