|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.zxing.qrcode.decoder.Decoder
public final class Decoder
The main class which implements QR Code decoding -- as opposed to locating and extracting the QR Code from an image.
| Constructor Summary | ||
|---|---|---|
Decoder()
|
||
| Method Summary | ||
|---|---|---|
DecoderResult |
decode(boolean[][] image)
Convenience method that can decode a QR Code represented as a 2D array of booleans. |
|
DecoderResult |
decode(BitMatrix bits)
Decodes a QR Code represented as a BitMatrix. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Decoder()
| Method Detail |
|---|
public DecoderResult decode(boolean[][] image)
throws ReaderException
Convenience method that can decode a QR Code represented as a 2D array of booleans. "true" is taken to mean a black module.
image - booleans representing white/black QR Code modules
ReaderException - if the QR Code cannot be decoded
public DecoderResult decode(BitMatrix bits)
throws ReaderException
Decodes a QR Code represented as a BitMatrix. A 1 or "true" is taken to mean a black module.
bits - booleans representing white/black QR Code modules
ReaderException - if the QR Code cannot be decoded
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.