qtt.deprecated package¶
Submodules¶
qtt.deprecated.linetools module¶
Created on Wed Mar 4 12:40:53 2015
@author: eendebakpt
-
qtt.deprecated.linetools.costFunctionLine(pp, imx, istep, maxshift=12, verbose=0, fig=None, maxangle=1.2217304763960306, ksizemv=12, dthr=8, dwidth=3, alldata=None, px=None)[source]¶ Cost function for line fitting
pp (list or array): line parameters imx (numpy array): image to fit to istep (float) px (array): translational offset to operate from
-
qtt.deprecated.linetools.createH(samplesize, pp, scale=1)[source]¶ Create H matrix to transform image to patch coordinates
-
qtt.deprecated.linetools.findCrossTemplate(imx, ksize=31, fig=None, istep=2, verbose=1, widthmv=6, lenmv=20.0, sepmv=2.0, dy=5)[source]¶ Find crosses in image using template match :param istep: sampling rate in mV/pixel :type istep: float :param widthmv: parameters of the cross model :type widthmv: float :param lenmv: parameters of the cross model :type lenmv: float :param sepmv: parameters of the cross model :type sepmv: float
- Returns
ptsim (array) – fitted points
rr (numpy array) – response of the filter
results (dict) – more results
-
qtt.deprecated.linetools.fitLine(alldata, param0=None, fig=None)[source]¶ Fit a line local to a model
-
qtt.deprecated.linetools.fitModel(param0, imx, verbose=1, cfig=None, ksizemv=41, istep=None, istepmodel=0.5, cb=None, use_abs=False, w=2.5)[source]¶ Fit model of an anti-crossing
This is a wrapper around evaluateCross and the scipy optimization routines.
- Parameters
param0 (array) – parameters for the anti-crossing model
imx (array) – input image
-
qtt.deprecated.linetools.getBlobPosition(ims, label_im, idx)[source]¶ Get starting position from blob
-
qtt.deprecated.linetools.getpatch(ims, pp, samplesize, fig=None)[source]¶ Return image patch from parameters