Solarize

Function
A partial inverse which reverses the high or low end depending on the value of the hi/lo flag. Values above ("hi", or 1) or below ("lo", or 0 ) the threshold are reversed. The resulting images are similar to a popular 60's photographic effect where the print was exposed to light during development which resulted in an image with blended positive and negative value ranges. Gives a metalic effect to color images.

Parameters
Type
Defaults
Function
value
float
.5 The point at which the image is inverted.
mode
int
1

0 means "lo", or below the threshold value at which the color is inverted.

1 means "hi", or above the threshold.


Synopsis

image Solarize( image In, float value, int mode);


Script

image = Solarize( In, value, mode );


Command Line

shake -solarize value mode