ISubA

Function
This is identical to ISub, except that it takes the absolute value of the result. This is to see if similar images are different by subtracting one from another. If the second image is brighter, ISub won't reveal anything, but ISubA will (ie, .5 - .8 = -.3, absolute value of -.3 = .3).

Parameters
Type
Defaults
Function
clipMode
int
1
Toggles between foreground (0) and background resolution (1)
percent
float
100
A built-in fade parameter. This is the amount of the second image that is taken into consideration. Full strength is 100. If you set it to 50, the added amount is reduced by 50 percent.


Synopsis

image ISubA( 
  image Foreground, 
  image Background, 
  int clipMode, 
  float percent 
);


Script

image = ISubA( 
  Foreground, 
  Background, 
  clipMode, 
  percent 
);


Command Line

shake -isuba image clipMode percent


See Also
IMult, IAdd, ISub, IDiv