Showing posts with label Maths. Show all posts
Showing posts with label Maths. Show all posts

Tuesday, November 4, 2014

Image Processing: Matlab code - Local Histogram equalization 3x3 window

Letus begin by considering following 64x64 image.

Letus apply local window processing by taking 3x3 window and move certral pixel of local window x(2,2) to output image J. Store above image to your harddisk folder and provide name in path variable below (line#2).


clear all
path = 'E:\xxx\woman_1.gif'
I = imread(path)
[row, col]=size(I);
eI = histeq(I);
h = imhist(I);
for i=2:row-1
for j=2:col-1
a = i
b = j
win = I(i-1:i+1, j-1:j+1);
ewin = histeq(win)
J(i,j) = ewin(2,2)
end
end
imshow(I); 
imhist(I);
imshow(J);
imshow(J);

Result of the local window processing is as follows:





And
to



Note: it may take certain time :)

Alogrithms: 28 Greek Letters and Their Names



When you are working with mathematics, physics and algorithms, we deal with a lot of Greek letters.
There are 24 Letters of the Greek Alphabet.

Name
Capital  letters
Small letters
Pronunciation
Alpha
Α
α
AL-phuh
Beta
Β
β
BAY-tuh
gamma
Γ
γ
GAMM-muh
delta
Δ
δ
DELL-tuh
epsilon
Ε
ε
EPP-sih-lonn
zeta
Ζ
ζ
ZAY-tuh
eta
Η
η
AY-tuh
theta
Θ
θ
THAY-tuh
iota
Ι
ι
ee-OH-tuh
kappa
Κ
κ
CAPP-uh
lambda
Λ
λ
LAMM-duh
mu
Μ
μ
myoo
nu
Ν
ν
noo
xi
Ξ
ξ
ksee
omicron
Ο
ο
OH-mih-kronn
pi
Π
π
piy (Like apple "pie".)
rho
Ρ
ρ
roh (Like "row, row,
row your boat".)
sigma
Σ
σ /ς
SIGG-muh
tau
Τ
τ
tow (like the first syllable of "towel")
upsilon
Υ
υ
OOPS-ih-lonn
phi
Φ
φ
fiy (Like "fee, fie,
fo, fum")
chi
Χ
χ
kiy
psi
Ψ
ψ
psiy
omega
Ω
ω
oh-MAY-guh