IMP logo

IMP::em::CoarseConvolution Class Reference


Detailed Description

Convolutes two grids.

The pixels involved are derived from the positions of N particles.


Static Public Member Functions

static float convolution (const DensityMap &em_map, DensityMap &model_map, float voxel_data_threshold, bool recalc_ccnormfac=true)

Member Function Documentation

static float IMP::em::CoarseConvolution::convolution ( const DensityMap em_map,
DensityMap model_map,
float  voxel_data_threshold,
bool  recalc_ccnormfac = true 
) [static]

Cross correlation coefficient between the em density and the density of a model. moddens threshold can be specified that is checked in moddens to reduce elements of summation

Note:
This is not the local CC function
Parameters:
[in] em_map the target map (experimentally determined)
[in] model_map the sampled density map of the model
[in] voxel_data_threshold voxels with value lower than threshold in model_map are not summed (avoid calculating correlation on voxels below the threshold)
[in] recalc_ccnormfac determines wheather the model_map should be normalized prior to the correlation calculation. false is faster, but potentially innacurate
Returns:
the convolution value between two density maps


The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:09:01 2010 for IMP by doxygen 1.5.8