uk.co.silentsoftware.core.converters.image.orderedditherstrategy
Interface OrderedDitherStrategy

All Known Implementing Classes:
BayerEightByEightDitherStrategy, BayerFourByFourDitherStrategy, BayerTwoByOneOrderedDitherStrategy, BayerTwoByTwoOrderedDitherStrategy, LightnessOrderedDitherStrategy, MagicSquareDitherStrategy, NasikMagicSquareDitherStrategy, OmegaOrderedDitherStrategy

public interface OrderedDitherStrategy

Interface for ordered dither algorithms


Method Summary
 int[] applyDither(int[] outRgb)
          Applies the dither to the set of rgb pixels
 int getMatrixHeight()
          The matrix height of this dither (just 1 dimension)
 int getMatrixWidth()
          The matrix width of this dither (just 1 dimension)
 

Method Detail

getMatrixWidth

int getMatrixWidth()
The matrix width of this dither (just 1 dimension)


getMatrixHeight

int getMatrixHeight()
The matrix height of this dither (just 1 dimension)


applyDither

int[] applyDither(int[] outRgb)
Applies the dither to the set of rgb pixels

Parameters:
outRgb -
Returns: