IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
scores2D.h File Reference

Scoring functions for 2D Copyright 2007-2026 IMP Inventors. All rights reserved. More...

#include <IMP/em2d/em2d_config.h>
#include "IMP/em2d/Image.h"
#include "IMP/em2d/Matrix.h"
#include "IMP/em2d/RegistrationResult.h"
#include "IMP/Object.h"
#include <IMP/warning_macros.h>
#include <functional>
Include dependency graph for scores2D.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::em2d::ChiSquaredScore
 Score based on Chi^2 = ((pixels_image - pixels_projection)/stddev_image)^2. More...
class  IMP::em2d::EM2DScore
class  IMP::em2d::HasHigherCCC< T >
 Comparison by value of the ccc. More...
class  IMP::em2d::HasLowerScore< T >
 Compare two classes that return a score. More...
class  IMP::em2d::LessPairBySecond< T >
 Comparison of pairs by checking the second element. More...
class  IMP::em2d::MeanAbsoluteDifference
 Score based on the mean of the absolute difference. More...
class  IMP::em2d::ScoreFunction
 Base class for all scoring functions related to em2d. More...

Namespaces

namespace  IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
namespace  IMP::em2d
 Restraints using electron microscopy 2D images (class averages).

Typedefs

typedef IMP::Vector< IMP::Pointer< ChiSquaredScore > > IMP::em2d::ChiSquaredScores
typedef IMP::Vector< IMP::WeakPointer< ChiSquaredScore > > IMP::em2d::ChiSquaredScoresTemp
typedef IMP::Vector< IMP::Pointer< EM2DScore > > IMP::em2d::EM2DScores
typedef IMP::Vector< IMP::WeakPointer< EM2DScore > > IMP::em2d::EM2DScoresTemp
typedef IMP::Vector< IMP::Pointer< MeanAbsoluteDifference > > IMP::em2d::MeanAbsoluteDifferences
typedef IMP::Vector< IMP::WeakPointer< MeanAbsoluteDifference > > IMP::em2d::MeanAbsoluteDifferencesTemp
typedef IMP::Vector< IMP::Pointer< ScoreFunction > > IMP::em2d::ScoreFunctions
typedef IMP::Vector< IMP::WeakPointer< ScoreFunction > > IMP::em2d::ScoreFunctionsTemp

Functions

double IMP::em2d::get_average_rotation_error (const RegistrationResults &correct_RRs, const RegistrationResults &computed_RRs)
double IMP::em2d::get_average_shift_error (const RegistrationResults &correct_RRs, const RegistrationResults &computed_RRs)
double IMP::em2d::get_cross_correlation_coefficient (const DoubleMatrix &m1, const DoubleMatrix &m2)
 Computes the cross-correlation coefficient between to matrices.
double IMP::em2d::get_global_score (const RegistrationResults &RRs)
double IMP::em2d::get_rotation_error (const RegistrationResult &rr1, const RegistrationResult &rr2)
double IMP::em2d::get_shift_error (const RegistrationResult &rr1, const RegistrationResult &rr2)
 Distance between the two in-plane translations.

Detailed Description

Scoring functions for 2D Copyright 2007-2026 IMP Inventors. All rights reserved.

Definition in file scores2D.h.