GridHealer Class Reference

Class that 'heals' the curves after grid lines have been removed. More...

#include <GridHealer.h>

List of all members.

Public Member Functions

 GridHealer (const QImage &imageBefore, const DocumentModelGridRemoval &modelGridRemoval)
 Single constructor.
void erasePixel (int xCol, int yRow)
 Remember that pixel was erased since it belongs to an grid line.
void heal (QImage &imageToHeal)
 Heal the broken curve lines by spanning the gaps across the newly-removed grid lines.

Detailed Description

Class that 'heals' the curves after grid lines have been removed.

Specifically, gaps that span the pixels in the removed grid lines are filled in, if they are less than some epsilon value

Definition at line 37 of file GridHealer.h.


Member Function Documentation

void GridHealer::erasePixel ( int  xCol,
int  yRow 
)

Remember that pixel was erased since it belongs to an grid line.

In the image, erasure correponds to a foreground pixel being changed to the background color

Definition at line 96 of file GridHealer.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends

Generated on 31 May 2016 for Engauge Digitizer by  doxygen 1.6.1