|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoders.ProgressiveDivisibility
public class ProgressiveDivisibility
Note: Scheme requires n >= 4 due to escape value requirements.
| Field Summary | |
|---|---|
static int |
END_C
|
static int |
NEG_VALUE_CASE
Constants to handle negative value case. |
static int |
NON_NEG_VALUE_CASE
|
| Constructor Summary | |
|---|---|
ProgressiveDivisibility()
|
|
| Method Summary | |
|---|---|
static int |
bitsPerInteger(int n)
|
static java.util.ArrayList<PDPixel> |
getPixels(Bitmap bitmap,
int n)
|
static java.util.ArrayList<Pixel> |
getPlainPixels(Bitmap bitmap,
int n)
In some cases (e.g. |
static java.util.LinkedList<java.lang.Integer> |
payloadBitsToIntegers(BitSequence payload,
int n)
Converts a payload BitSequence to a sequence of integers that all satisfy 1 <= i <= n. |
static BitSequence |
payloadIntegersToBits(java.util.LinkedList<java.lang.Integer> payload,
int n)
Converts a payload of integers satisfying 1 <= i <= n into a bit sequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NEG_VALUE_CASE
PDPixel.adjust().
public static final int NON_NEG_VALUE_CASE
public static final int END_C
| Constructor Detail |
|---|
public ProgressiveDivisibility()
| Method Detail |
|---|
public static java.util.ArrayList<PDPixel> getPixels(Bitmap bitmap,
int n)
public static java.util.ArrayList<Pixel> getPlainPixels(Bitmap bitmap,
int n)
bitmap - n -
public static java.util.LinkedList<java.lang.Integer> payloadBitsToIntegers(BitSequence payload,
int n)
payload - n -
public static BitSequence payloadIntegersToBits(java.util.LinkedList<java.lang.Integer> payload,
int n)
payload - n -
public static int bitsPerInteger(int n)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||