File:Equalized Histogram.svg

Summary

Description Greyscale frequency histogram of Equalized Hawkes Bay NZ.jpg. X-axis shows image intensity, y-axis number of pixels with that intensity. Black curve shows cumulative histogram.
Date
Source self-made based on Image:Equalized Histogram.gif file by Konstable
Author Jarekt
SVG development
InfoField
Source code
InfoField

MATLAB code

I = rgb2gray(imread('Unequalized_Hawkes_Bay_NZ.jpg'));
h = hist(double(I(:)),0:255);
map = cumsum(h)/prod(size(I));
J = 255*map(I+1);
[h x]=hist(double(J(:)),0:255);
map = cumsum(h)/prod(size(J));
figure(1)
hold on
bar(x, h, 'r');
plot(x, 30000*map, 'k')
xlim([0 256]);
ylim([0 31000]);
plot2svg('Equalized Histogram.svg')

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Category:Self-published work#Equalized%20Histogram.svgCategory:PD-self#Equalized%20Histogram.svg Category:Image processing histograms Category:Plots by Jarek Tuszynski
Category:Image processing histograms Category:PD-self Category:Plots by Jarek Tuszynski Category:Self-published work Category:Valid SVG created with MATLAB code