Essentials of Mechatronics ISBN:
0-471-72341-X- ©John Billingsley 2006 - published
John Wiley & Sons, Inc
12/3/6.htm Edge enhancment with a 'two-way' filter
The starting image is a shade gradient with a lighter diamond
added over it.
The object of the image processing is to remove the shading, while
sharpening up the edge of the diamond.
We make two copies of the array and smooth the first with the 'low
pass' technique of the previous example.
Then we subtract this smoothed array from the original version, adding
an overall grey level since the difference has both positive and
negative values.
Run sharpen.bas or sharpen.htm