33 QList<QPoint>
findPoints (
const QList<PointMatchPixel> &samplePointPixels,
34 const QImage &imageProcessed,
36 const Points &pointsExisting);
41 void allocateMemory(
double** array,
42 fftw_complex** arrayPrime,
49 void assembleLocalMaxima(
double* convolution,
55 void computeConvolution(fftw_complex* imagePrime,
56 fftw_complex* samplePrime,
64 void conjugateMatrix(
int width,
66 fftw_complex* matrix);
69 void dumpToGnuplot (
double* convolution,
72 const QString &filename)
const;
75 void loadImage(
const QImage &imageProcessed,
77 const Points &pointsExisting,
81 fftw_complex** imagePrime);
84 void loadSample(
const QList<PointMatchPixel> &samplePointPixels,
88 fftw_complex** samplePrime,
95 void multiplyMatrices(
int width,
104 int optimizeLengthForFft(
int originalLength);
107 void populateImageArray(
const QImage &imageProcessed,
108 int width,
int height,
112 void populateSampleArray(
const QList<PointMatchPixel> &samplePointPixels,
122 void releaseImageArray(
double* array);
123 void releasePhaseArray(fftw_complex* array);
126 void removePixelsNearExistingPoints(
double* image,
129 const Points &pointsExisting,
130 int pointSeparation);
133 void scanImage(
bool* sampleMaskArray,
135 int sampleMaskHeight,
QList< QPoint > findPoints(const QList< PointMatchPixel > &samplePointPixels, const QImage &imageProcessed, const DocumentModelPointMatch &modelPointMatch, const Points &pointsExisting)
Find points that match the specified sample point pixels. They are sorted by best-to-worst match.