back to Table of Contents


LimitARGB (function)

Sometimes you may want to limit the intensities of any channel(s) into a given range, eg. to remove noise in the lower intensities or to keep the alpha transparency within a certain range.


SYNTAX:

newImg& = LimitARGB& (shan&, lowARGB&, highARGB&, minX%, minY%, maxX%, maxY%, mask&)

INPUTS:

lowARGB&, highARGB& (LONGs)

shan&, mask& (LONGs)

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


RESULT:

newImg& (LONG)


back to Table of Contents