Input: Image
Output: Flag set , where means the feature is selected.
Extract color feature of and edge feature ;
Calculate by Eq. (1);
if    then
;
else
;
end if
Region growing with flag set ;
Calculate number of segments ;
if    then
;
end if
Algorithm 1: SSF.