File:Equalized Histogram.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 712 × 470 pixels, file size: 61 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

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
 
The SVG code is valid.
 
This diagram was created with MATLAB.
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[edit]

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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:57, 4 April 2008Thumbnail for version as of 15:57, 4 April 2008712 × 470 (61 KB)Jarekt (talk | contribs)== Summary == {{Information |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

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata