Question: Please write the following Matlab function: Write the function compute histogram that takes a grayscale image as input and returns a length 256 vector h
Please write the following Matlab function:

Write the function compute histogram that takes a grayscale image as input and returns a length 256 vector h which is the normalized histogram of the values in the image h should have values from 0 to 1 and its components should sum to 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
