<li><ahref="../../../com/google/zxing/NotFoundException.html"title="class in com.google.zxing"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../com/google/zxing/Reader.html"title="interface in com.google.zxing"><spanclass="typeNameLink">Next Class</span></a></li>
<li><ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<h3>Methods inherited from class com.google.zxing.<ahref="../../../com/google/zxing/LuminanceSource.html"title="class in com.google.zxing">LuminanceSource</a></h3>
<h3>Methods inherited from class java.lang.<ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"title="class or interface in java.lang">clone</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"title="class or interface in java.lang">equals</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"title="class or interface in java.lang">finalize</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"title="class or interface in java.lang">getClass</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"title="class or interface in java.lang">hashCode</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"title="class or interface in java.lang">notify</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--"title="class or interface in java.lang">notifyAll</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--"title="class or interface in java.lang">wait</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-"title="class or interface in java.lang">wait</a>, <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-"title="class or interface in java.lang">wait</a></code></li>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../com/google/zxing/LuminanceSource.html#getRow-int-byte:A-">LuminanceSource</a></code></span></div>
<divclass="block">Fetches one row of luminance data from the underlying platform's bitmap. Values range from
0 (black) to 255 (white). Because Java does not have an unsigned byte type, callers will have
to bitwise and with 0xff for each value. It is preferable for implementations of this method
to only fetch this row rather than the whole image, since no 2D Readers may be installed and
<dd><code><ahref="../../../com/google/zxing/LuminanceSource.html#getRow-int-byte:A-">getRow</a></code> in class <code><ahref="../../../com/google/zxing/LuminanceSource.html"title="class in com.google.zxing">LuminanceSource</a></code></dd>
<dd><code>y</code> - The row to fetch, which must be in [0,getHeight())</dd>
<dd><code>row</code> - An optional preallocated array. If null or too small, it will be ignored.
Always use the returned object, and ignore the .length of the array.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>An array containing the luminance data.</dd>
</dl>
</li>
</ul>
<aname="getMatrix--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getMatrix</h4>
<pre>public byte[] getMatrix()</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../com/google/zxing/LuminanceSource.html#getMatrix--">LuminanceSource</a></code></span></div>
<divclass="block">Fetches luminance data for the underlying bitmap. Values should be fetched using:
<code>int luminance = array[y * width + x] & 0xff</code></div>
<dd><code><ahref="../../../com/google/zxing/LuminanceSource.html#getMatrix--">getMatrix</a></code> in class <code><ahref="../../../com/google/zxing/LuminanceSource.html"title="class in com.google.zxing">LuminanceSource</a></code></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>A row-major 2D array of luminance values. Do not use result.length as it may be
larger than width * height bytes on some platforms. Do not modify the contents
<dd><code><ahref="../../../com/google/zxing/LuminanceSource.html#isCropSupported--">isCropSupported</a></code> in class <code><ahref="../../../com/google/zxing/LuminanceSource.html"title="class in com.google.zxing">LuminanceSource</a></code></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>Whether this subclass supports cropping.</dd>
</dl>
</li>
</ul>
<aname="crop-int-int-int-int-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>crop</h4>
<pre>public <ahref="../../../com/google/zxing/LuminanceSource.html"title="class in com.google.zxing">LuminanceSource</a> crop(int left,
int top,
int width,
int height)</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../com/google/zxing/LuminanceSource.html#crop-int-int-int-int-">LuminanceSource</a></code></span></div>
<divclass="block">Returns a new object with cropped image data. Implementations may keep a reference to the
original data rather than a copy. Only callable if isCropSupported() is true.</div>
<dd><code><ahref="../../../com/google/zxing/LuminanceSource.html#crop-int-int-int-int-">crop</a></code> in class <code><ahref="../../../com/google/zxing/LuminanceSource.html"title="class in com.google.zxing">LuminanceSource</a></code></dd>
<li><ahref="../../../com/google/zxing/NotFoundException.html"title="class in com.google.zxing"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../com/google/zxing/Reader.html"title="interface in com.google.zxing"><spanclass="typeNameLink">Next Class</span></a></li>