Class cv::text::ERFilter#
Base class for 1st and 2nd stages of Neumann and Matas scene text detection algorithm [228]. : View details
#include <opencv2/text/erfilter.hpp>Collaboration diagram for cv::text::ERFilter:
Public Member Functions#
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Base class for 1st and 2nd stages of Neumann and Matas scene text detection algorithm Neumann12. :
Extracts the component tree (if needed) and filter the extremal regions (ER’s) by using a given classifier.
Member Function Documentation#
getNumRejected()#
int cv::text::ERFilter::getNumRejected()
run()#
void cv::text::ERFilter::run(
InputArray image,
std::vector< ERStat > & regions )
The key method of ERFilter algorithm.
Takes image on input and returns the selected regions in a vector of ERStat only distinctive ERs which correspond to characters are selected by a sequential classifier
Extracts the component tree (if needed) and filter the extremal regions (ER’s) by using a given classifier.
Parameters
image— Single channel image CV_8UC1regions— Output for the 1st stage and Input/Output for the 2nd. The selected Extremal Regions are stored here.
setCallback()#
void cv::text::ERFilter::setCallback(const Ptr< ERFilter::Callback > & cb)
set/get methods to set the algorithm properties,
setMaxArea()#
void cv::text::ERFilter::setMaxArea(float maxArea)
setMinArea()#
void cv::text::ERFilter::setMinArea(float minArea)
setMinProbability()#
void cv::text::ERFilter::setMinProbability(float minProbability)
setMinProbabilityDiff()#
void cv::text::ERFilter::setMinProbabilityDiff(float minProbabilityDiff)
setNonMaxSuppression()#
void cv::text::ERFilter::setNonMaxSuppression(bool nonMaxSuppression)
setThresholdDelta()#
void cv::text::ERFilter::setThresholdDelta(int thresholdDelta)
Source file#
The documentation for this class was generated from the following file:
opencv2/text/erfilter.hpp