This one may be more complicated than brightness/contrast. The reason being that those can be reversed easily, but thresholding is a "lossy" function. So if the user wants to "undo" their threshold or "go back", a copy of the original image will have to be stored in the Image module. This will likely be a class variable created on init that the threshold function references
This one may be more complicated than brightness/contrast. The reason being that those can be reversed easily, but thresholding is a "lossy" function. So if the user wants to "undo" their threshold or "go back", a copy of the original image will have to be stored in the Image module. This will likely be a class variable created on init that the threshold function references