Title: Grey Scale Manipulation
1Grey Scale Manipulation
- False contouring
- Apply the sawtooth operator to the image colours
- Change gradual changes into rapid changes from
dark to bright values - The sawtooth operator can be implemented easily
using the modulo function, 128 mod 108.
output
255
0
input
2Grey Level Manipulation
- False Contouring
- Highlight local intensity variations
- Image divided into regions according to pixels
intensities
3Grey Level Manipulation
4Grey Scale Manipulation
- The program may have the following codes to
perform the sawtooth operation
For Y 1 To maxY For X 1 To maxX
NewColor (OldColor mod 60)255/60 Next X Next
Y
5Grey Level Manipulation
Some regions become dark
Local changes are highlighted
6Grey Level Manipulation
Area split into small regions
Local changes are highlighted
7Histogram Manipulation
- The program may have the following codes
For Y 1 To maxY For X 1 To maxX
oldColor Pixel(X, Y) newColor
Int(CumulativePixels(oldColor) (maxGrey -
minGrey) / PixelCount) Mod 256 Next X Next Y
Where CumulativePixels(oldColor) is an array
that stores the number of pixels with intensity
less than or equal to the index.
8Histogram Manipulation
Slightly darker
Equalized image
9Histogram Manipulation
brighter
Equalized image