Image Processing Reference
In-Depth Information
Algorithm 1 fuzzy-based histogram hyperbolization
Step-1: Parameter initialization
1:
Setting the shape of membership function (triangular)
2:
Setting the value of fuzzifier β. such that β =−0.75µ + 1.5.
Step-2: Fuzzy data
3:
for (i=0;i¡hieght;i++) do
4:
for (j=0;j¡width;j++) do
5:
if data[i][j]<100 then
6:
FuzzyData[i][j]=0
7:
end if
8:
if (data[i][j]>=100) & (data[i][j]<=200) then
9:
FuzzyData[i][j]=(0.01*data[i][j])-1
10:
end if
11:
if ((data[i][j]>200)&(data[i][j]<=255)) then
12:
FuzzyData[i][j]=1
13:
end if
14:
end for
15:
end for
Step-3: Modify the membership values
16:
Set ModificationBeta=2
17:
for i=0;i<hieght;i++ do
18:
for j=0;j<width;j++ do
19:
power=pow(FuzzyData[i][j],ModificationBeta)
20:
end for
21:
end for
Step-4: Generation of new gray levels
maxgray
22:
Set m =
1
23:
EnhancedData[i][j]=m*(exp((-1*power))-1)
0
.
367879
−
Search WWH ::
Custom Search