Image-Py / imagepy

Image process framework based on plugin like imagej, it is esay to glue with scipy.ndimage, scikit-image, opencv, simpleitk, mayavi...and any libraries based on numpy
http://imagepy.org
BSD 4-Clause "Original" or "Old" License
1.29k stars 330 forks source link

Do not run an algorithm again after being accepted in the preview #93

Open CsatiZoltan opened 4 years ago

CsatiZoltan commented 4 years ago

I realized that when I tick the preview checkbox or if I click on the OK button, the run method is invoked. If one is satisfied with the preview, the next time the run method is called the algorithm should not be executed again. This can save a lot of time for costly operations.