DownScaling of too large connectedComponents, Progressbar
A new parameter allows setting a maximum size of connected Components. Larger components are scaled down accordingly to avoid MemoryErrors. A progress bar is implemented for visualizing the detection progress. The progress bar is put in a dedicated class (in uielements.py) and it is now also used by opticalscan and ramanscanui.
Showing with 224 additions and 56 deletions