PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pic::CannyEdgeDetector Class Reference

The CannyEdgeDetector class. More...

#include <canny_edge_detector.hpp>

Public Member Functions

 CannyEdgeDetector ()
 CannyEdgeDetector. More...
 
 ~CannyEdgeDetector ()
 
void update (float sigma=1.4f, float threshold_1=0.05f, float threshold_2=0.3f)
 update More...
 
Imageexecute (Image *img, Image *imgOut)
 execute executes Canny edge detector on img and ouputs imgEdges as results. More...
 

Protected Member Functions

void release ()
 release frees allocated memory for this class. More...
 

Protected Attributes

bool bLum
 
Imagelum
 
float sigma
 
float threshold_1
 
float threshold_2
 

Detailed Description

The CannyEdgeDetector class.

Constructor & Destructor Documentation

◆ CannyEdgeDetector()

pic::CannyEdgeDetector::CannyEdgeDetector ( )
inline

◆ ~CannyEdgeDetector()

pic::CannyEdgeDetector::~CannyEdgeDetector ( )
inline

Member Function Documentation

◆ execute()

Image* pic::CannyEdgeDetector::execute ( Image img,
Image imgOut 
)
inline

execute executes Canny edge detector on img and ouputs imgEdges as results.

Parameters
img
imgEdges
Returns

◆ release()

void pic::CannyEdgeDetector::release ( )
inlineprotected

release frees allocated memory for this class.

◆ update()

void pic::CannyEdgeDetector::update ( float  sigma = 1.4f,
float  threshold_1 = 0.05f,
float  threshold_2 = 0.3f 
)
inline

update

Parameters
sigma
threshold_1
threshold_2

Member Data Documentation

◆ bLum

bool pic::CannyEdgeDetector::bLum
protected

◆ lum

Image* pic::CannyEdgeDetector::lum
protected

◆ sigma

float pic::CannyEdgeDetector::sigma
protected

◆ threshold_1

float pic::CannyEdgeDetector::threshold_1
protected

◆ threshold_2

float pic::CannyEdgeDetector::threshold_2
protected

The documentation for this class was generated from the following file: