#ifndef __GETBOUNDARY_H__ #define __GETBOUNDARY_H__ #pragma once #include<iostream> #include<fstream> #include<malloc.h> #include<math.h> #include"bmp_io.h" #include"mytemplate.h" #define maxnoisesize 38 #define magicnumber 15 //#define threshold 250 //#define leftposition 180 //#define rightposition 780 struct Point2D { Point2D(); int x; int y; }; struct headtail { Point2D head; Point2D tail; }; #ifdef __cplusplus extern "C" { #endif List<headtail>* getboundary(char*, int, int, int); #ifdef __cplusplus } #endif #endif