Similarity matching.
More...
|
| def | __init__ (self, theParams=CfgSimilar()) |
| |
| def | compare (self, piece_A, piece_B) |
| |
| tuple[float, np.ndarray] | estimateAffineMatch (self, piece_A, piece_B) |
| | Estimate the rigid affine transform that aligns piece A to piece B. More...
|
| |
| def | extractFeature (self, piece) |
| | Process raw puzzle piece data to obtain encoded description of piece. More...
|
| |
| "Matcher" | fit (self, groups, list[str]|None labels=None) |
| | Given raw data regarding expected element instances, identify model to differentiate them if possible for this matcher type. More...
|
| |
| "Matcher" | fitFromImageSegmented (self, Irgb, Iseg, hasLabs=False) |
| | Given an image and a segmentation, generate fit. More...
|
| |
| def | score (self, piece_A, piece_B) |
| | Compute the score between two passed puzzle piece data. More...
|
| |
| def | solveMatchedPuzzle (self, puzzle, sol) |
| |
|
| tuple[np.ndarray, np.ndarray] | pcaFrame (piece) |
| | Estimate a signed PCA frame from a puzzle piece's foreground pixels. More...
|
| |
| | params |
| |
◆ __init__()
@brief Constructor for the puzzle piece matchSimilar class.
@param[in] tau Threshold param to determine similarity.
Reimplemented from Matcher.
Reimplemented in SIFTCV.
◆ compare()
| def compare |
( |
|
self, |
|
|
|
piece_A, |
|
|
|
piece_B |
|
) |
| |
@brief Compare between two passed puzzle piece data.
@param[in] piece_A First puzzle piece.
@param[in] piece_B Second puzzle piece.
@param[out] Binary indicator of similarity (True = similar).
Reimplemented from Matcher.
Reimplemented in Sift.
The documentation for this class was generated from the following file:
- /home/mary/python/puzzle_solver/puzzle/pieces/matcher.py