#include <ShapeRec_FeatureDetector.hxx>
| ShapeRec_FeatureDetector::ShapeRec_FeatureDetector |
( |
| ) |
|
| bool ShapeRec_FeatureDetector::ComputeContours |
( |
bool |
useROI = false, |
|
|
ShapeRec_Parameters * |
parameters = 0 |
|
) |
| |
| void ShapeRec_FeatureDetector::ComputeCorners |
( |
bool |
useROI = false, |
|
|
ShapeRec_Parameters * |
parameters = 0 |
|
) |
| |
Computes the corners of the image located at imagePath
References cornerCount, corners, ShapeRec_CornersParameters::epsilon, imagePath, imgHeight, imgWidth, ShapeRec_Parameters::kernelSize, ShapeRec_CornersParameters::maxIter, ShapeRec_CornersParameters::minDistance, ShapeRec_CornersParameters::qualityLevel, rect, and ShapeRec_CornersParameters::typeCriteria.
| bool ShapeRec_FeatureDetector::ComputeLines |
( |
| ) |
|
Computes the lines in the image located at imagePath
References imagePath, and lines.
| std::string ShapeRec_FeatureDetector::CroppImage |
( |
| ) |
|
Crops the image located at imagePath to the region of interest given by the user via SetROI and stores the result in /tmp
- Parameters
-
| theRect | - Region Of Interest of the image located at imagePath |
References imagePath, NULL, and rect.
| std::vector<cv::Vec4i> ShapeRec_FeatureDetector::GetContoursHierarchy |
( |
| ) |
|
|
inline |
| int ShapeRec_FeatureDetector::GetCornerCount |
( |
| ) |
|
|
inline |
| CvPoint2D32f* ShapeRec_FeatureDetector::GetCorners |
( |
| ) |
|
|
inline |
| int ShapeRec_FeatureDetector::GetImgHeight |
( |
| ) |
|
|
inline |
| int ShapeRec_FeatureDetector::GetImgWidth |
( |
| ) |
|
|
inline |
| std::vector<cv::Vec4i> ShapeRec_FeatureDetector::GetLines |
( |
| ) |
|
|
inline |
| void ShapeRec_FeatureDetector::SetPath |
( |
const std::string & |
thePath | ) |
|
Sets the path of the image file to be processed
- Parameters
-
| thePath | - Location of the image file |
References imagePath, imgHeight, and imgWidth.
| void ShapeRec_FeatureDetector::SetROI |
( |
const QRect & |
theRect | ) |
|
Stores a region of interest given by user in rect
- Parameters
-
| theRect | - Region Of Interest of the image located at imagePath |
References rect.
| int ShapeRec_FeatureDetector::cornerCount |
|
private |
| CvPoint2D32f* ShapeRec_FeatureDetector::corners |
|
private |
| std::vector<cv::Vec4i> ShapeRec_FeatureDetector::hierarchy |
|
private |
| std::string ShapeRec_FeatureDetector::imagePath |
|
private |
| int ShapeRec_FeatureDetector::imgHeight |
|
private |
| int ShapeRec_FeatureDetector::imgWidth |
|
private |
| std::vector<cv::Vec4i> ShapeRec_FeatureDetector::lines |
|
private |
| CvRect ShapeRec_FeatureDetector::rect |
|
private |
The documentation for this class was generated from the following files: