|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.silentsoftware.core.converters.image.orderedditherstrategy.AbstractOrderedDitherStrategy
public abstract class AbstractOrderedDitherStrategy
Base class for applying an ordered dither strategy
| Constructor Summary | |
|---|---|
AbstractOrderedDitherStrategy()
|
|
| Method Summary | |
|---|---|
int[] |
applyDither(int[] outRgb)
Applies the sub class' dither coefficients to the given rgb matrix from an image |
abstract int[] |
getCoefficients()
Retrieves the coefficients to apply |
abstract int |
getMatrixHeight()
Retrieves the height of the matrix (1 dimension only) |
abstract int |
getMatrixWidth()
Retrieves the width of the matrix (1 dimension only) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOrderedDitherStrategy()
| Method Detail |
|---|
public int[] applyDither(int[] outRgb)
outRgb -
public abstract int[] getCoefficients()
public abstract int getMatrixWidth()
public abstract int getMatrixHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||