Question: USING MATLAB 1. Write a program that will take the negative of either a black and white or color image. It should take in a
USING MATLAB
1. Write a program that will take the negative of either a black and white or color image. It should take in a matrix or a 3D matrix, and return a matrix or 3D matrix of the same size. The resulting matrix should have numbers that are flipped. 0s should become 255s, and all other numbers should be as close to 255 as the original numbers were to 0. For instance, 5 would become 250 and 200 would become 55. For example, it will turn this:

For a color image, it will turn this: Into this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
