1.elliptic_axis 计算等效椭圆的参数
2.hough_lines 利用霍夫变换检测边缘图像中的线,并将其返回到HNF中。
gen_region_hline 将黑森范式中描述的输入行存储为区域。
3.create_lexicon(‘label’, [‘BEST’,‘BEFORE’,‘END’], LexiconHandle)
do_ocr_word_cnn (Word, ImageReduced, OCRHandle, ‘
4.set_mshape 设置当前鼠标指针形状。
get_mposition 查询鼠标位置。
button=4 右键按下
button=1 左键按下
set_tposition 设置文本光标的位置。
5.overpaint_gray(ImageDestination, ImageSource::?
overpaint_gray将ImageSource中给出的图像的灰度值复制到ImageDestination中的图像中。只复制ImageSource域的灰度值(参见reduce_domain)。
如果不希望修改ImageDestination本身,可以使用paint_gray操作符,它将在新创建的图像中返回结果。
6.创建可缩放模板
create_scaled_shape_model
find_scaled_shape_models
7.create_shape_model
create_variation_model 创建变异模型
train_variation_model 训练模板
get_variation_model 得到模板
prepare_variation_model 准备一个变异模型与图像进行比较。
clear_train_data_variation_model 清除训练模板
find_shape_model
compare_variation_model 将图像与变异模型进行比较。