2 # lmrcImageFourierNeighborCorrelation.h : $Revision$
5 # Usage : lmrcImageFourierNeighborCorrelation.h
12 #ifndef LMRCIMAGE_FOURIER_NEIGHBOR_CORRELATION_H
13 #define LMRCIMAGE_FOURIER_NEIGHBOR_CORRELATION_H
20 typedef enum lmrcImageFourierNeighborCorrelationCentreMode {
21 lmrcImageFourierNeighborCorrelationCentreModeCentre = 0,
22 lmrcImageFourierNeighborCorrelationCentreModeBottomLeft = 1,
23 lmrcImageFourierNeighborCorrelationCentreModeUseStartN = 2
24 } lmrcImageFourierNeighborCorrelationCentreMode;
30 typedef struct lmrcImageFourierNeighborCorrelationInfo {
31 lmrcImageFourierNeighborCorrelationCentreMode flagCentre;
32 mrcPixelDataHowToGet shiftMode;
36 mrcImage objMask; // 1: Object
37 mrcImage backMask; // 1: Background
38 } lmrcImageFourierNeighborCorrelationInfo;
40 typedef struct lmrcImageFourierNeighborCorrelationResult {
58 int flagNoiseWeighted;
60 double* NoiseWeighted;
62 } lmrcImageFourierNeighborCorrelationResult;
72 lmrcImageFourierNeighborCorrelation(lmrcImageFourierNeighborCorrelationResult* res,
74 lmrcImageFourierNeighborCorrelationInfo linfo, int mode);
77 lmrcImageFourierNeighborCorrelationPrint(FILE* fpt,
78 lmrcImageFourierNeighborCorrelationResult* res,
79 lmrcImageFourierNeighborCorrelationInfo linfo, int mode);
82 lmrcImageFourierNeighborCorrelationPrintCentreMode(FILE* fpt);
89 #endif /* LMRCIMAGE_FOURIER_NEIGHBOR_CORRELATION_H */