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

Generation of projections from models or density maps Copyright 2007-2026 IMP Inventors. All rights reserved. More...

#include <IMP/em2d/em2d_config.h>
#include "IMP/em2d/Matrix.h"
#include "IMP/em2d/ProjectionMask.h"
#include "IMP/em2d/Image.h"
#include "IMP/em2d/RegistrationResult.h"
#include "IMP/em2d/FFToperations.h"
#include "IMP/em2d/ImageReaderWriter.h"
#include "IMP/algebra/Vector3D.h"
#include "IMP/algebra/Rotation3D.h"
#include "IMP/algebra/SphericalVector3D.h"
#include "IMP/core/XYZR.h"
#include "IMP/Pointer.h"
#include "IMP.h"
#include <complex>
#include <algorithm>
#include <fstream>
#include <cereal/access.hpp>
Include dependency graph for project.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::em2d::ProjectingOptions
 Parameters given as options to the get_projections() functions. More...
class  IMP::em2d::ProjectingParameters
 Parameters needed for the core projection routine. 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< ProjectingOptions > IMP::em2d::ProjectingOptionsList
typedef IMP::Vector< ProjectingParameters > IMP::em2d::ProjectingParametersList

Functions

Images IMP::em2d::create_evenly_distributed_projections (const ParticlesTemp &ps, unsigned int n, const ProjectingOptions &options)
void IMP::em2d::do_project_particles (const ParticlesTemp &ps, DoubleMatrix &m2, const algebra::Rotation3D &R, const algebra::Vector3D &translation, const ProjectingOptions &options, MasksManagerPtr masks)
 Projects a set of particles. This is the core function that others call.
algebra::Vector2Ds IMP::em2d::do_project_vectors (const algebra::Vector3Ds &ps, const algebra::Rotation3D &R, const algebra::Vector3D &translation)
 Project the points contained in Vector3Ds to gen vectors in 2D.
algebra::Vector2Ds IMP::em2d::do_project_vectors (const algebra::Vector3Ds &ps, const algebra::Rotation3D &R, const algebra::Vector3D &translation, const algebra::Vector3D &center)
 Project the points contained in Vector3Ds.
unsigned int IMP::em2d::get_enclosing_image_size (const ParticlesTemp &ps, double pixel_size, unsigned int slack)
 Get an automatic size for an image that contains the particles.
void IMP::em2d::get_projection (em2d::Image *img, const ParticlesTemp &ps, const RegistrationResult &reg, const ProjectingOptions &options, MasksManagerPtr masks=MasksManagerPtr(), String name="")
 Generates a projection from particles.
em2d::Images IMP::em2d::get_projections (const ParticlesTemp &ps, const algebra::SphericalVector3Ds &vs, int rows, int cols, const ProjectingOptions &options, Strings names=Strings())
 Generates projections from particles.
em2d::Images IMP::em2d::get_projections (const ParticlesTemp &ps, const RegistrationResults &registration_values, int rows, int cols, const ProjectingOptions &options, Strings names=Strings())
 Generates projections from particles.

Detailed Description

Generation of projections from models or density maps Copyright 2007-2026 IMP Inventors. All rights reserved.

Definition in file project.h.