reference/ocr-new/project.h
changeset 0 6b8091ca909a
equal deleted inserted replaced
-1:000000000000 0:6b8091ca909a
       
     1 #ifndef PROJECT
       
     2 #define PROJECT 1
       
     3 
       
     4 #include "RLEPair.h"
       
     5 #include "RLEMap.h"
       
     6 #include "bitmap.h"
       
     7 #include "histogram.h"
       
     8 
       
     9 void draw_sample(int x, int y);
       
    10 Bitmap* sample_to_2d();
       
    11 Histogram* project_histogram(Bitmap* b, double cut_angle);
       
    12 Histogram* project_histogram(RLEMap* r, double cut_angle);
       
    13 int calculate_one_ray_weight(Bitmap* b, double cut_angle, int row_num);
       
    14 int calculate_one_rle_ray_weight(RLEMap* rlemap, double cut_angle, int row_num);
       
    15 #endif