Tesseract
3.02
|
00001 /********************************************************************** 00002 * File: crakedge.h (Formerly: crkedge.h) 00003 * Description: Sturctures for the Crack following edge detector. 00004 * Author: Ray Smith 00005 * Created: Fri Mar 22 16:06:38 GMT 1991 00006 * 00007 * (C) Copyright 1991, Hewlett-Packard Ltd. 00008 ** Licensed under the Apache License, Version 2.0 (the "License"); 00009 ** you may not use this file except in compliance with the License. 00010 ** You may obtain a copy of the License at 00011 ** http://www.apache.org/licenses/LICENSE-2.0 00012 ** Unless required by applicable law or agreed to in writing, software 00013 ** distributed under the License is distributed on an "AS IS" BASIS, 00014 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 ** See the License for the specific language governing permissions and 00016 ** limitations under the License. 00017 * 00018 **********************************************************************/ 00019 00020 #ifndef CRAKEDGE_H 00021 #define CRAKEDGE_H 00022 00023 #include "points.h" 00024 #include "mod128.h" 00025 00026 class CRACKEDGE { 00027 public: 00028 CRACKEDGE() {} 00029 00030 ICOORD pos; /*position of crack */ 00031 inT8 stepx; //edge step 00032 inT8 stepy; 00033 inT8 stepdir; //chaincode 00034 CRACKEDGE *prev; /*previous point */ 00035 CRACKEDGE *next; /*next point */ 00036 }; 00037 #endif