IMP
2.2.1
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 () |
virtual void | do_destroy () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
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) |
virtual std::string | get_type_name () const |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
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 |