|
Algorithm 3 Generation of Individual Image Features Using Custom Method |
procedure GenerateManualFeatures (file)
Read image I from
Adjust I and convert to binary images
Label connected components in to L
Extract properties of regions in L into s
Find the largest region in s as
Extract edge coordinates x, y from
Calculate inscribed circle properties: R, ,
Calculate convex hull points x, y of
Calculate circumscribed circle properties: ,
Compute features: R, , , , etc.
return computed features as ManualFeatures
end procedure
|