fluidimage.calcul.subpix#

Find subpixel peak#

class fluidimage.calcul.subpix.SubPix(method='centroid', nsubpix=None)[source]#

Bases: object

Subpixel finder

Todo

  • evaluate subpix methods.

compute_subpix(correl, ix, iy, method=None, nsubpix=None)[source]#

Find peak

Parameters:
correl: numpy.ndarray

Normalized correlation

ix: integer
iy: integer
method: str {‘centroid’, ‘2d_gaussian’}

Notes

The two methods…

using linalg.solve (buggy?)

Functions

compute_subpix_2d_gaussian2(correl, ix, iy)

Classes

SubPix([method, nsubpix])

Subpixel finder