Dither an image suitable to quantizing to a lower bit depth.
amplitude
A random number "uniformly" distributed in the range [-amplitude, amplitude] is added to the image (float).
seed
Integer number to seed the random number generator (int).
There is no actual type-conversion. If you need type conversion, you must use additionally call TypeConvert. |
t = floatImage.Dither(1.0/256.0, 1) display = t.TypeConvert(ice.constants.FRACTIONAL) |
The image is assumed to be legal D1 (720x486, two channel YUV/YIQ, chroma-subsampled), and the result is an RGB image, appropriately gamma corrected.
colorStandard
One of IceColorStandard (int):
Gamma correction values are different for PAL and NTSC, as are some intermediate color spaces. |
Return an image encoded in D1 (720x486, two-channel YUV/YIQ, chroma-subsampled, gamma corrected) format.
colorStandard
PAL or NTSC (int).
This operation performs more than a simple data conversion! |
Convert an image to a different type. Attempts to convert to the same type are legal, but do nothing.
destinationType
Data type to convert to one of IceComponents constants: