Yeah VC,
I'd love to know more details.
I've been fooling with this frequency stuff in my spare time. I loved your post because it gave me some clues.
Threshold the black for example.
Anyway ... so by default does 16 mean we start at 32/width and remove periodic frequencies? What's the period? Do you remove or reduce them? Is the 5% threshold based upon DC as the max?
Here is my try at this..... No thresholding the black. And i did not smooth after the filter. I was really just guessing.
edit:
Image is only processing lines 100-476 Previous image is as
http://trevlac.us/pics/sg1_61190X.jpg