class ErrorFeedbackQuantise(config={}, **kwds)[source]

Bases: pyctools.core.base.Transformer

Quantisation with error feedback.

Round data to integer values, using error feedback (see to reduce the visibility of quantisation effects.

Note that if the input image is already quantised this component will have no effect. Hence it is recommended always to be used before any component that truncates the data, such as ImageFileWriterPIL.

Comments or questions? Please email