Expand
Function
This squeezes your data between two points on the X axis of a graph of
your image, increasing the amount of pure black and white (on a per-channel
basis) in the image. Compress will squeeze
them on the Y axis of the image graph.
Parameters
|
Type
|
Defaults
|
Function
|
r,g,b,aLo |
float
|
0, rLo, rLo, rLo |
The low value to which all values are set
to if they are less than this number. 0 means no change. |
r,g,b,aHi |
float
|
1, rHi, rHi, rHi |
The high value to which all values are
set to if they are more than this number. 1 means no change. |
Synopsis
image Expand( image,
float rLo,
float gLo,
float bLo,
float aLo,
float rHi,
float gHi,
float bHi,
float aHi
);
Script
image = Expand( image,
rLo, gLo, bLo, aLo
rHi, gHi, bHi, aHi
);
Command Line
shake -expand rLo rHi gLo etc....
See Also
Compress, ContrastLum,
Lookup, LookupHLS,
LookupHSV
|