Bsoft 2.1.4
Bernard's software package
bfcc.cpp File Reference

Fast cross-correlation search for the best fit of a 3D map to a template. More...

#include "rwimg.h"
#include "mg_processing.h"
#include "mg_particle_select.h"
#include "rwmg.h"
#include "linked_list.h"
#include "file_util.h"
#include "options.h"
#include "utilities.h"
#include "timer.h"

Functions

double img_fcc_search (Bimage *p, Bimage *ptemp, View *view, FSI_Kernel *kernel, double hires, double lores, Bimage *pmask)
 Fast cross-correlation searches a 2D/3D density map for a template. More...
 
double img_fcc_for_view (Bimage *p, Bimage *ptemp, View view, FSI_Kernel *kernel, double hires, double lores, Bimage *pmask)
 
double img_cc_for_view (Bimage *p, Bimage *ptemp, View view, FSI_Kernel *kernel, double hires, double lores, double searchrad, Bimage *pmask)
 
int main (int argc, char **argv)
 

Variables

int verbose
 
const char * use []
 

Detailed Description

Fast cross-correlation search for the best fit of a 3D map to a template.

Author
Bernard Heymann
Date
Created: 20130523
Modified: 20160604

Function Documentation

◆ img_cc_for_view()

double img_cc_for_view ( Bimage p,
Bimage ptemp,
View  view,
FSI_Kernel kernel,
double  hires,
double  lores,
double  searchrad,
Bimage pmask 
)

◆ img_fcc_for_view()

double img_fcc_for_view ( Bimage p,
Bimage ptemp,
View  view,
FSI_Kernel kernel,
double  hires,
double  lores,
Bimage pmask 
)

◆ img_fcc_search()

double img_fcc_search ( Bimage p,
Bimage ptemp,
View view,
FSI_Kernel kernel,
double  hires,
double  lores,
Bimage pmask 
)

Fast cross-correlation searches a 2D/3D density map for a template.

Parameters
*pthe Fourier transformed image.
*ptempthe Fourier transformed template to be searched for.
viewview.
*kernelinterpolation kernel.
hireshigh resolution limit.
loreslow resolution limit.
*pmaskmask for cross-correlation (ignored if NULL).
Returns
double correlation coefficient.
The template is rotated to the view and cross-correlated to find
a set of high-scoring fits.
The views must be calculated externally to allow for custom sets.
The best view is returned in the image view record.

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ use

const char* use[]

◆ verbose

int verbose
extern