|
Algorithm 1 Algorithm summary |
|
Require: PSL Image
(a)Preprocessing
-
1:
Input: I
-
Apply Gaussian Filter, Equation (2)
Apply RGB to CIEL*a*b* Color Transform
Separate CIEL*a*b* Image in Image Channels
Calculate Mean value of , Equations (3)–(5)
-
2:
for all
do
-
3:
if
then
-
4:
Assign 1 to
-
5:
else
-
6:
Assign 0 to
-
7:
end if
-
8:
end for
-
9:
for all
do
-
10:
if
then
-
11:
Assign 1 to
-
12:
else
-
13:
Assign 0 to
-
14:
end if
-
15:
end for
-
16:
for all
do
-
17:
if
then
-
18:
Assign 1 to
-
19:
else
-
20:
Assign 0 to
-
21:
end if
-
22:
end for
-
Compute Applying Equation (9) to
Apply Median Filter, size
Compute Bounding Box Algorithm to estimate coordinates of Region Of Interest
Crop from estimated coordinates on &
-
23:
Output: Region of Interest (ROI) Image
(b)Handcraft Features
-
24:
Input:
-
Compute Area, Perimeter, Circularity, Diameter and Eccentricity from Equations (13)–(17)
Compute Asymetry from Equations (10)–(12)
Compute Color Features from Equations (18)–(21) from
Compute Texture Features from Equations (22)–(43) from
-
25:
Concatenate the extracted features H
-
26:
Output: H Handcraft features
(c)Deep Learning features
-
27:
Input:
-
28:
Load the weights from selected CNN architecture
-
29:
Apply the weights to
-
30:
Obtain the D deep learning features
-
31:
Output: D deep learning features
-
(D)Wrapping Features
-
32:
Input:
-
33:
Apply to the extracted features
-
34:
Output: F Full set of extracted features
|