mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
33 lines
887 B
Java
33 lines
887 B
Java
|
package com.google.zxing;
|
||
|
|
||
|
import com.google.zxing.common.BitArray;
|
||
|
import com.google.zxing.common.BitMatrix;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public abstract class Binarizer {
|
||
|
private final LuminanceSource source;
|
||
|
|
||
|
public abstract Binarizer createBinarizer(LuminanceSource luminanceSource);
|
||
|
|
||
|
public abstract BitMatrix getBlackMatrix() throws NotFoundException;
|
||
|
|
||
|
public abstract BitArray getBlackRow(int i, BitArray bitArray) throws NotFoundException;
|
||
|
|
||
|
public final LuminanceSource getLuminanceSource() {
|
||
|
return this.source;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public Binarizer(LuminanceSource luminanceSource) {
|
||
|
this.source = luminanceSource;
|
||
|
}
|
||
|
|
||
|
public final int getWidth() {
|
||
|
return this.source.getWidth();
|
||
|
}
|
||
|
|
||
|
public final int getHeight() {
|
||
|
return this.source.getHeight();
|
||
|
}
|
||
|
}
|