Commit e2b0e081 authored by Mohammad Mahfuzur Rahman Mamun's avatar Mohammad Mahfuzur Rahman Mamun
Browse files

calculation of horizontal and vertical projection profile done

parent 4d33b929
This diff is collapsed.
...@@ -200,11 +200,19 @@ class OKULAR_EXPORT TextPage ...@@ -200,11 +200,19 @@ class OKULAR_EXPORT TextPage
**/ **/
void addNecessarySpace(); void addNecessarySpace();
// //comparison function which compares two TinyTextEntity by left position /**
// bool compareTinyTextEntityX(TinyTextEntity first, TinyTextEntity second); Functions necessary for document file segmentation into text regions for document layout
analysis.
**/
void XYCutForBoundingBoxes();
/**
The Method for creating horizontal and vertical projection profile within the Region
**/
void createProjectionProfiles();
// // by top
// bool compareTinyTextEntityX(TinyTextEntity first, TinyTextEntity second);
private: private:
TextPagePrivate* const d; TextPagePrivate* const d;
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
class SearchPoint; class SearchPoint;
class TinyTextEntity; class TinyTextEntity;
class RegionText;
namespace Okular namespace Okular
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment