9 #ifndef IMPEM2D_EM_2DRESTRAINT_H
10 #define IMPEM2D_EM_2DRESTRAINT_H
12 #include "IMP/em2d/em2d_config.h"
23 IMPEM2D_BEGIN_NAMESPACE
43 unsigned int number_of_optimized_projections_;
44 bool fast_optimization_mode_;
45 bool only_coarse_registration_;
46 Em2DRestraintParameters params_;
62 const Em2DRestraintParameters ¶ms) {
66 finder_->setup(score_function, params);
67 fast_optimization_mode_ =
false;
68 only_coarse_registration_ =
false;
97 void set_variance_images(
const em2d::Images variance_images);
110 void set_fast_mode(
unsigned int n);
123 if(opt) only_coarse_registration_ =
true;
133 return finder_->get_registration_results();
145 IMPEM2D_END_NAMESPACE
Generation of projections from models or density maps Copyright 2007-2013 IMP Inventors. All rights reserved.
Class for adding derivatives from restraints to the model.
projection masks Copyright 2007-2013 IMP Inventors. All rights reserved.
RegistrationResults get_registration_results() const
Import IMP/kernel/SingletonContainer.h in the namespace.
void set_was_used(bool tf) const
A smart pointer to a reference counted object.
IMP images for Electron Microscopy using openCV matrices Copyright 2007-2013 IMP Inventors. All rights reserved.
Scoring functions for 2D Copyright 2007-2013 IMP Inventors. All rights reserved.
void setup(ScoreFunction *score_function, const Em2DRestraintParameters ¶ms)
Abstract base class for all restraints.
A restraint is a term in an IMP ScoringFunction.
Base class for all scoring functions related to em2d.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
void set_coarse_registration_mode(bool opt)
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Coarse registration of 2D projections from a 3D volume.
Logging and error reporting support.
virtual ModelObjectsTemp do_get_inputs() const =0
Registration results class Copyright 2007-2013 IMP Inventors. All rights reserved.
class to perform registration of model projections to images images
A shared container for Singletons.