reset button.
in
Programming Questions
•
1 year ago
hi all,
i have a project for my study, i make a program using processing, to make histogram of image, then equalize the histogram. when i press the button equalize, then i want to make a button that the function to reset the image, so the image have the original color value, how can i do that?
i'm try create function to save pixel value in an array. but, it still didn't work, when i press the reset button there is no chage with my image. because value that be read with reset function is value after equalize.
can you give me some solution??
thanks,
1