Analyzers#
Analyzers are internal callbacks that are passed to scan_subsets
and provide custom processing of exhaustive template matching results. This flexibility enables on the fly analysis, logging, or additional processing at the level of individual rotations. The exact workflow can be adapted to individual requirements.
Specification#
AbstractAnalyzer
serves as specification for new analyzers.
Abstract base class for template matching analyzers. |
Score aggregation#
|
Determine the rotation maximizing the score over all possible translations. |
|
Determine the translation maximizing the score over all possible rotations. |
|
Implements constrained template matching using rejection sampling. |
Peak calling#
|
Base class for peak calling algorithms. |
|
A |
|
Find local maxima by applying a maximum filter and enforcing a distance constraint subsequently. |
|
Subdivides the score space into squares with edge length |
|
Identifies peaks iteratively by selecting the top score and masking a region around it. |
|
Peak calling using |