Question: 7. Consider the partial class declarations below. We want to add a method to the ImagePlus class called darkerDarks ( ). This method would change

7. Consider the partial class declarations below. We want to add a method to the ImagePlus class called darkerDarks ( ). This method would change all Pixel values with an average amount of RGB less than 25 to a completely black Pixel. In other words, if the average of red, green, and blue in a Pixel is less than 25 , the red, green, and blue values would be changed to zero. This would happen for all Pixel values in the ImagePlus object. public void darkerDarks() \{
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
