GRAY LEVEL TRANSFORMATIONS