Since ProcessImage runs on a thread outside of the UI thread, the UI thread can send calls to ImageProcessor to add/remove points etc. while ProcessImage is running. This should never be the case, because it can cause the application to crash, or cause graphical errors.
Since ProcessImage runs on a thread outside of the UI thread, the UI thread can send calls to ImageProcessor to add/remove points etc. while ProcessImage is running. This should never be the case, because it can cause the application to crash, or cause graphical errors.