CVB++ 14.0
SearchResult Class Reference

Search result as returned by the classifier. More...

#include <cvb/shapefinder2/search_result.hpp>

Public Member Functions

Cvb::ShapeFinder2::PrecisionMode PrecisionMode () const noexcept
 PrecisionMode that was used for generating this result. More...
 
Point2D< double > Position () const noexcept
 Result location in the image. More...
 
double X () const noexcept
 X position at which the object has been found. More...
 
double Y () const noexcept
 Y position at which the object has been found. More...
 
double Quality () const noexcept
 Quality measure of the result. More...
 
double Scale () const noexcept
 Scale of the result relative the originally trained object. More...
 
Angle Rotation () const noexcept
 Rotation angle of the result. More...
 
bool operator!= (const SearchResult &rhs) const noexcept
 Comparison operator for SearchResult objects. More...
 
bool operator== (const SearchResult &rhs) const noexcept
 Comparison operator for SearchResult objects. More...
 

Detailed Description

Search result as returned by the classifier.

Examples
ShapeFinder2/QtShapeFinder2.

Member Function Documentation

◆ operator!=()

bool operator!= ( const SearchResult rhs) const
inlinenoexcept

Comparison operator for SearchResult objects.

Parameters
[in]rhsRight hand side operand.
Returns
True if *this != rhs, false otherwise.
Exceptions
Doesnot throw any exception.

◆ operator==()

bool operator== ( const SearchResult rhs) const
inlinenoexcept

Comparison operator for SearchResult objects.

Parameters
[in]rhsRight hand side operand.
Returns
True if *this == rhs, false otherwise.
Exceptions
Doesnot throw any exception.

◆ Position()

Point2D< double > Position ( ) const
inlinenoexcept

Result location in the image.

Returns
Search result position.
Exceptions
Doesnot throw any exception.

◆ PrecisionMode()

PrecisionMode that was used for generating this result.

Returns
Precision mode.
Exceptions
Doesnot throw any exception.

◆ Quality()

double Quality ( ) const
inlinenoexcept

Quality measure of the result.

Returns
Search result quality.
Exceptions
Doesnot throw any exception.
Examples
ShapeFinder2/QtShapeFinder2.

◆ Rotation()

Angle Rotation ( ) const
inlinenoexcept

Rotation angle of the result.

Returns
Search result rotation angle.
Exceptions
Doesnot throw any exception.
Examples
ShapeFinder2/QtShapeFinder2.

◆ Scale()

double Scale ( ) const
inlinenoexcept

Scale of the result relative the originally trained object.

Returns
Search result scale.
Exceptions
Doesnot throw any exception.

◆ X()

double X ( ) const
inlinenoexcept

X position at which the object has been found.

Returns
Search result x-position.
Exceptions
Doesnot throw any exception.
Examples
ShapeFinder2/QtShapeFinder2.

◆ Y()

double Y ( ) const
inlinenoexcept

Y position at which the object has been found.

Returns
Search result y-position.
Exceptions
Doesnot throw any exception.
Examples
ShapeFinder2/QtShapeFinder2.