Emboss

Function
With the Emboss function, you control the gain and light direction.

Note: The Emboss function converts your image to a BWA image (since there is no color information).

If you do an extreme gain, you may start to see terracing on your image. To correct this, insert a Bytes node before the Emboss node, and boost your image to 2 bytes per channel. You can get interesting patterns with a Bytes node set to 2 bytes, followed by a Blur node, and then the Emboss node. The elevation is set to 30 because it makes the median grey value .5.

Parameters
Type
Defaults
Function
gain
float
10 The amount of emboss.
azimuth
float
45 The direction of the light. 0 and 360 means from the right side of the image, 90 means the top, etc
elevation
float
30

This is the "height" of the light. 0 means parallel to the image, 90 means the same axis as a line from your nose to the image. Assuming you are facing the image, I guess.


Synopsis

image Emboss( image, 
  float gain,
  float azimuth,
  float elevation
);


Script

image = Emboss( image, gain, azimuth, elevation );


Command Line

shake -emboss gain azimuth elevation