Tuesday, July 28, 2009

(3)Linearly reduce the influence based on the radius






Alway reordering
r is the distance between the pixel and the center of the spiral mask.
if(Ii>Tii)
in = 255-Ii;
else
{
in = 255 - Ii;
in = in * (1 - 0.03 * r);// linear
}

No comments:

Post a Comment