Piers Cowburn wrote:
You can do a lot of things, including sharpen, with the ConvulsionFilter:
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7da3.html
Use this kind of matrix:
[0, -1, 0
-1, 5, -1
0, -1, 0]
Larger matrices and different values will give a different range of sharpening.
If you want to hook up sliders to control the radius and strength (like the
Unsharp Mask filter in PS), you need to have them adjust these values.
Piers
I know of a good book about this:
http://www.dspguide.com/pdfbook.htm
If you manage to survive it, you should fully understand how to use the
convulsion filter.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders