Question: using Matlab create the following code steps: 1. Load a color (RGB) image I, and display it. 2. Display the histograms of all three color
using Matlab create the following code
steps:
1. Load a color (RGB) image I, and display it.
2. Display the histograms of all three color channels of I.
3. Select a pixel location p in the image, and
(a). display the 11 11 square window W 11,11 around pixel p (i.e., p is the reference p
point of this window),
(b). show the RGB values of your image I at p,
(c). compute the intensity value [R(p) + G(p) + B(p)]/3 at p
4. Convert RGB image I to grayscale, display the histogram, and compute the mean and
variance.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
