Changeset 3540
- Timestamp:
- 05/30/09 18:01:29 (4 years ago)
- File:
-
- 1 edited
-
libpipi/trunk/examples/img2twit.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/examples/img2twit.cpp
r3539 r3540 750 750 751 751 // Try to attenuate peak artifacts 752 //k /= (0.1 * (RANGE_X * RANGE_X + RANGE_Y * RANGE_Y) 753 // + (myx - fx) * (myx - fx) + (myy - fy) * (myy - fy)); 752 k *= pow(((myx - fx) * (myx - fx) + (myy - fy) * (myy - fy) 753 + 0.01) / (RANGE_X * RANGE_X + RANGE_Y * RANGE_Y), 754 -0.5); 754 755 755 756 // Cute circles
Note: See TracChangeset
for help on using the changeset viewer.
