|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
The puzzle piece matching scores are based on differences. More...


Public Member Functions | |
| def | __init__ (self, theParams=CfgDifferent()) |
| Constructor for the difference matcher class. More... | |
| def | compare (self, piece_A, piece_B) |
| Compare two puzzle pieces. More... | |
Public Member Functions inherited from Matcher | |
| def | extractFeature (self, piece) |
| Process raw puzzle piece data to obtain encoded description of piece. More... | |
| def | score (self, piece_A, piece_B) |
| Compute the score between two passed puzzle piece data. More... | |
| def | solveMatchedPuzzle (self, puzzle, sol) |
Additional Inherited Members | |
Public Attributes inherited from Matcher | |
| params | |
The puzzle piece matching scores are based on differences.
Lower is better.
| def __init__ | ( | self, | |
theParams = CfgDifferent() |
|||
| ) |
Constructor for the difference matcher class.
| [in] | theParams | The matcher configuration (optional). |
Reimplemented from Matcher.
Reimplemented in PCA, Moments, HistogramCV, and Distance.
| def compare | ( | self, | |
| piece_A, | |||
| piece_B | |||
| ) |
Compare two puzzle pieces.
| [in] | piece_A | First puzzle piece. |
| [in] | piece_B | Second puzzle piece. |
| [out] | Binary | indicator of similarity = not different (True = similar). |
Reimplemented from Matcher.