|
FOUND
|
The SimpleEdgeDetection Algorithm class houses the Edge Detection Algorithm. More...
#include <edge.hpp>


Public Member Functions | |
| SimpleEdgeDetectionAlgorithm (unsigned char threshold, int borderLength, decimal offset) | |
| Constructs a new SimpleEdgeDetectionAlgorithm. | |
| virtual | ~SimpleEdgeDetectionAlgorithm () |
| Destroys the algorithm. | |
| Points | Run (const Image &image) override |
| Provides an estimate of the edge points of Earth, as the shared edge between space and Earth. | |
Public Member Functions inherited from found::FunctionStage< Image, Points > | |
| FunctionStage ()=default | |
| Constructs a new Stage. | |
| virtual | ~FunctionStage ()=default |
| Destroys this. | |
| void | DoAction () override |
| Executes Run (with a stored input and storing the output) | |
| Image & | GetResource () |
| Returns the stored input of this. | |
| Points *& | GetProduct () |
| Returns the stored output of this. | |
Public Member Functions inherited from found::Stage< Input, Output > | |
| virtual Output | Run (Input input)=0 |
| Runs this stage. | |
Private Attributes | |
| unsigned char | threshold_ |
| The space-ether threshold to use. | |
| int | borderLength_ |
| The border length to use. | |
| decimal | offset_ |
| The edge offset to use. | |
Additional Inherited Members | |
Protected Attributes inherited from found::FunctionStage< Image, Points > | |
| Image | resource |
| The stored input for this. | |
| Points * | product |
| The pointer to the stored output for this. | |
The SimpleEdgeDetection Algorithm class houses the Edge Detection Algorithm.
This algorithm uses a picture of Earth and finds all points on the horizon within the picture by employing thresholding to identify "space", and then figure out the contour of "space" that is shared by Earth's edge, returning that as the result
|
inline |
Constructs a new SimpleEdgeDetectionAlgorithm.
| threshold | The threshold to use for detecting space |
| borderLength | The thickness of the image's borders |
| offset | The offset to apply to edge points |
|
override |
Provides an estimate of the edge points of Earth, as the shared edge between space and Earth.
| image | The image of Earth |