Question: function [ out , F ] = myhisteq ( in , L ) ; % % [ out , F ] = myhisteq ( in
function outFmyhisteqinL;
outFmyhisteqinL;
My histogram equalization function
Takes an L level input image inmust be integers
and maps it to an L Level output
with an approximately flat histogram.
out equalized image L levels
F mapping function
in input image L levels, integer values
L # levels in input image
HwP: Run this code in Matlab after you write this function outFmyhisteqinL;
Ca
load wva
test wva::;
histtest; figure;
imagetest; colormapgray; axis image
testmyhisteqtest;
figure; histtest; figure;
imagetest; colormapgray; axis image
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
