public class HTDetector extends SearchBasedDetector
| 构造器和说明 |
|---|
HTDetector() |
HTDetector(SearchStrategy strategy)
Create a skew detector
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected double |
getCost(int[] pixels,
int width,
int height,
double theta)
Calculate cost for a angle(lower is better)
|
detectpublic HTDetector()
public HTDetector(SearchStrategy strategy)
strategy - protected double getCost(int[] pixels,
int width,
int height,
double theta)
SearchBasedDetectorgetCost 在类中 SearchBasedDetectorpixels - pixel arraywidth - width of the bitmapheight - height of the bitmaptheta - angleCopyright © 2019. All rights reserved.