ex::alg::LatticeSearch
The lattice search algorithm is one of the more complex algorithms provided by IPLT. To quote a recent publication (submitted) on IPLT:
In a first step a peak search is performed and the parameters (sensitivity and desired peak size) of the peak search algorithms are refined according to the number of peaks found. This is done to avoid too many peaks (likely to introduce more noise peaks) or too few peaks. From this peak list, the distance vector between each pair of peaks is calculated. All these distance vectors contribute to a new image, the vector image. The vector image is generated starting from an image with all the pixel values set to zero. The pixel value is increased by one at each position of the image (index) defined by the components of the distance vectors. On this image a second peak search is performed and a second vector image is generated from these peaks. In this second vector image the two closest points to the centre that are not collinear are taken as a first guess for the lattice vectors.
As a consequence, there are lots of parameters to set, as detailed in the interface description below.
Interface
Initialization
- LatticeSearch()
- Inializes a lattice search with default parameters
Parameters
Functions
- UpdateFromInfo(LatticeSearch s, InfoGroup g)
- Updates a given lattice search object from the given info group. The following entries are recognized:
| Name | Type |
| GaussFilterStrength | float |
| PeakSearchSensitivity | float |
| MinimalLatticeLength | float |
| MaximalLatticeLength | float |
| PeakSearchParams/OuterWindowSize | int |
| PeakSearchParams/OuterWindowSensitivity | float |
| PeakSearchParams/InnerWindowSize | int |
| PeakSearchParams/InnerWindowSensitivity | float |
Examples
Info Entry
<LatticeSearch> <GaussFilterStrength value="1.0" type="float"/> <PeakSearchSensitivity value="0.1" type="float"/> <MinimalLatticeLength value="10.0" type="float"/> <MaximalLatticeLength value="1.0e4" type="float"/> <PeakSearchParams> <OuterWindowSize value="10" type="int"/> <OuterWindowSensitivity value="1.0" type="float"/> <InnerWindowSize value="0" type="int"/> <InnerWindowSensitivity value="0.0" type="float"/> </PeakSearchParams> </LatticeSearch>
back to the ex module overview
