@Reference(type=Inproceedings, author={"Liu, X.","Samarabandu, J."}, title="Multiscale Edge-Based Text Extraction from Complex Images", year="2006", booktitle="Multimedia and Expo, 2006 IEEE International Conference on", pages={"1721 ","1724"}, month="july", number="", volume="", customData={"keywords","multiscale edge-based text extraction;printed document image;scene text;text detection;document image processing;edge detection;feature extraction;text analysis;","doi","10.1109/ICME.2006.262882","ISSN",""}) public class LiuSamarabanduTextExtractorMultiscale extends TextExtractor<FImage>
This multiscale text extractor uses a Gaussian pyramid to produce the
multiscale feature vector. From this, the basic text extraction algorithm
is used (see the LiuSamarabanduTextExtractorBasic
implementation)
on each image and the results combined using across-scale addition.
Modifier and Type | Class and Description |
---|---|
class |
LiuSamarabanduTextExtractorMultiscale.PyramidTextExtractor
This is the main processor for this text extractor.
|
Constructor and Description |
---|
LiuSamarabanduTextExtractorMultiscale() |
Modifier and Type | Method and Description |
---|---|
protected void |
forceWait()
Helper method for debugging when viewing images
|
Map<Rectangle,FImage> |
getTextRegions()
Get the text regions that can be extracted from an image.
|
boolean |
isDoubleSizePyramid()
Whether the initial image in the pyramid is being double sized.
|
void |
processImage(FImage image)
Process an image.
|
void |
setDoubleSizePyramid(boolean doubleSizePyramid)
Set whether to double the size of the pyramid
|
getOCRProcessor, getText, getTextStrings, setOCRProcessor
public LiuSamarabanduTextExtractorMultiscale()
protected void forceWait()
public void processImage(FImage image)
Image.internalAssign(Image)
.image
- The image to process in place.ImageProcessor.processImage(org.openimaj.image.Image)
public Map<Rectangle,FImage> getTextRegions()
getTextRegions
in class TextExtractor<FImage>
TextExtractor.getTextRegions()
public boolean isDoubleSizePyramid()
public void setDoubleSizePyramid(boolean doubleSizePyramid)
doubleSizePyramid
- TRUE to double the size of the initial image.