Woolz Image Processing
Version 1.7.5
|
Frequency domain cross correlation functions. More...
Functions | |
AlgError | AlgCrossCorrelate2D (double **data0, double **data1, int nX, int nY) |
Cross correlates the given 2D double arrays leaving the result in the first of the two arrays. The cross correlation data are un-normalized. More... | |
void | AlgCrossCorrPeakXY (int *dstMaxX, int *dstMaxY, double *dstMaxVal, double **data, int nX, int nY, int searchX, int searchY) |
Find the maximum correlation value in the given two dimensional array. Because the correlation data are stored in wrap-around order and the maximum is known to lie within a limited search range, only the four corners of the array are searched. More... | |
void | AlgCrossCorrPeakY (int *dstMaxY, double *dstMaxVal, double **data, int nY) |
Finds peak value in cross correlation data, only searching the first column. The search is particularly simple because only the first column of the cross correlation data needs to be searched for the angle of rotation. Data are in wrap around order. More... | |
Frequency domain cross correlation functions.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
void AlgCrossCorrPeakY | ( | int * | dstMaxY, |
double * | dstMaxVal, | ||
double ** | data, | ||
int | nY | ||
) |
Finds peak value in cross correlation data, only searching the first column. The search is particularly simple because only the first column of the cross correlation data needs to be searched for the angle of rotation. Data are in wrap around order.
dstMaxY | Destination ptr for line coordinate with maximum value. correlation maximum. |
dstMaxVal | Cross correlation maximum. |
data | Cross correlation data. |
nY | Number of lines in data array. |