Rabbit-R1/switch port/java/sources/com/google/zxing/Binarizer.java
2024-05-21 17:08:36 -04:00

32 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();
}
}