IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | List of all members
MatchSimilar Class Reference

Similarity matching. More...

Inheritance diagram for MatchSimilar:
Inheritance graph
[legend]
Collaboration diagram for MatchSimilar:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, theParams=CfgSimilar())
 
def compare (self, piece_A, piece_B)
 
- Public Member Functions inherited from Matcher
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)
 

Additional Inherited Members

- Static Public Member Functions inherited from Matcher
tuple[np.ndarray, np.ndarray] pcaFrame (piece)
 Estimate a signed PCA frame from a puzzle piece's foreground pixels. More...
 
- Public Attributes inherited from Matcher
 params
 

Detailed Description

Similarity matching.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  theParams = CfgSimilar() 
)
@brief  Constructor for the puzzle piece matchSimilar class.

@param[in]  tau     Threshold param to determine similarity.

Reimplemented from Matcher.

Reimplemented in SIFTCV.

Member Function Documentation

◆ 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: