back to Table of Contents


ModifyContrast (function)

At the minimum value all contrast is lost and all of the image is turned dull gray. At the maximum value the image becomes a thresholded image for maximum contrast. 0.0 means no change. The alpha channel of the source image is retained and copied 1:1.


SYNTAX:

newImg& = ModifyContrast& (shan&, change#, minX%, minY%, maxX%, maxY%, mask&)

INPUTS:

change# (DOUBLE)

shan&, mask& (LONGs)

minX%, minY%, maxX%, maxY% (INTEGERs)


RESULT:

newImg& (LONG)


back to Table of Contents