back to Table of Contents


ExtractBitfields (function)

You can use this effect to remove any bitplanes of an image. This may not seem to be very useful at the first sight, but you can for example check for the amount of noise in your images by displaying the low pixel bits only.

Bits are numbered so that zero (0) is the least significant bit and seven (7) is the highest significant.

If you didn't understand all this explanation, you probably should read some books about computer graphics in general, as well as about binary numbers.


SYNTAX:

newImg& = ExtractBitfields& (shan&, fields%, scale%, channels$, minX%, minY%, maxX%, maxY%, mask&)

INPUTS:

fields% (INTEGER)

scale% (INTEGER)

channels$ (STRING)

shan&, mask& (LONGs)

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


RESULT:

newImg& (LONG)


back to Table of Contents