IMP
2.0.0
The Integrative Modeling Platform
|
#include <IMP/em/PCAAligner.h>
Public Member Functions | |
PCAAligner (IMP::em::DensityMap *map, float density_threshold) | |
algebra::Transformation3Ds | align (const algebra::Vector3Ds &points) const |
IMP::base::VersionInfo | get_version_info () const |
Get information about the module and version of the object. | |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
Related Functions inherited from IMP::base::Object | |
typedef IMP::base::Vector < IMP::base::WeakPointer < Object > > | ObjectsTemp |
class that supports fast alignment of a set of points to the density map using principal components of the map and the points.
This time of alignment is good for low-resolution maps.
Note, that principal components are not well-defined for globular objects, so the method may fail in case of symmetric structures
Definition at line 26 of file PCAAligner.h.
IMP::em::PCAAligner::PCAAligner | ( | IMP::em::DensityMap * | map, |
float | density_threshold | ||
) |
init the distance transform
map | input density map |
density_threshold | a threshold that detemines which voxels belong to the object |
Definition at line 33 of file PCAAligner.h.
algebra::Transformation3Ds IMP::em::PCAAligner::align | ( | const algebra::Vector3Ds & | points | ) | const |
align the principal components of the points to the principal components of the density map.
points | The points for PCA alignment to the map |