spt: add more conditions for eliminating fronts
spt: add more conditions for eliminating fronts

1) average gradmag along the front should be larger then 0.25; and
2) length of the front should be larger then 50 pixels

csdirs/spt,csdirs/spt