tesseract v5.3.3.20231005
scanedg.h
Go to the documentation of this file.
1/**********************************************************************
2 * File: scanedg.h (Formerly scanedge.h)
3 * Description: Raster scanning crack based edge extractor.
4 * Author: Ray Smith
5 *
6 * (C) Copyright 1991, Hewlett-Packard Ltd.
7 ** Licensed under the Apache License, Version 2.0 (the "License");
8 ** you may not use this file except in compliance with the License.
9 ** You may obtain a copy of the License at
10 ** http://www.apache.org/licenses/LICENSE-2.0
11 ** Unless required by applicable law or agreed to in writing, software
12 ** distributed under the License is distributed on an "AS IS" BASIS,
13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ** See the License for the specific language governing permissions and
15 ** limitations under the License.
16 *
17 **********************************************************************/
18
19#ifndef SCANEDG_H
20#define SCANEDG_H
21
22#include "image.h"
23#include "params.h"
24
25struct Pix;
26
27namespace tesseract {
28
29class C_OUTLINE_IT;
30class PDBLK;
31
32void block_edges(Image t_image, // thresholded image
33 PDBLK *block, // block in image
34 C_OUTLINE_IT *outline_it);
35
36} // namespace tesseract
37
38#endif
void block_edges(Image t_pix, PDBLK *block, C_OUTLINE_IT *outline_it)
Definition: scanedg.cpp:62