EMAN2
|
This is a Mixin class A class object encapsulating the volume data required by Reconstructors It basically stores two (pointers) to EMData objects and stores the dimensions of the image volume. More...
#include <reconstructor.h>
Public Member Functions | |
ReconstructorVolumeData () | |
Only constructor All member variables are zeroed. More... | |
virtual | ~ReconstructorVolumeData () |
Destructor safely frees memory. More... | |
const EMData * | get_emdata () |
Get the main image pointer, probably redundant (not used) More... | |
Protected Member Functions | |
void | free_memory () |
Free allocated memorys The inherited class may have allocated image of tmp_data In either case you can safely call this function to delete either of those pointers, even if they bdb:refine_03::threed_00are NULL. More... | |
virtual void | normalize_threed (const bool sqrt_damp=false, const bool wiener=false) |
Normalize on the assumption that image is a Fourier volume and that tmp_data is a volume of weights corresponding in size to this Fourier volume. More... | |
virtual void | zero_memory () |
Sends the pixels in tmp_data and image to zero Convenience only. More... | |
Protected Attributes | |
EMData * | image |
Inheriting class allocates this, probably in setup(). More... | |
EMData * | tmp_data |
Inheriting class may allocate this, probably in setup() More... | |
int | nx |
int | nx2 |
int | ny |
int | ny2 |
int | nz |
int | nz2 |
int | subnx |
int | subny |
int | subnz |
int | subx0 |
int | suby0 |
int | subz0 |
Private Member Functions | |
ReconstructorVolumeData (const ReconstructorVolumeData &that) | |
Disallow copy construction. More... | |
ReconstructorVolumeData & | operator= (const ReconstructorVolumeData &) |
Disallow assignment. More... | |
This is a Mixin class A class object encapsulating the volume data required by Reconstructors It basically stores two (pointers) to EMData objects and stores the dimensions of the image volume.
One EMData object basically stores the real pixel data, the other is used for storing normalization values. This class was originally added simply to encapsulate the the things common to FourierReconstructor, WienerFourierReconstructor and BackProjectionReconstructor. It was never expected to instantiated on its own, and is intended to be a parent of the Reconstructor class. d.woolford May 2007
Definition at line 219 of file reconstructor.h.
|
inline |
Only constructor All member variables are zeroed.
Definition at line 225 of file reconstructor.h.
|
inlinevirtual |
Destructor safely frees memory.
Definition at line 229 of file reconstructor.h.
References free_memory().
|
private |
Disallow copy construction.
|
inlineprotected |
Free allocated memorys The inherited class may have allocated image of tmp_data In either case you can safely call this function to delete either of those pointers, even if they bdb:refine_03::threed_00are NULL.
Definition at line 267 of file reconstructor.h.
References image, and tmp_data.
Referenced by ~ReconstructorVolumeData().
|
inline |
Get the main image pointer, probably redundant (not used)
Definition at line 233 of file reconstructor.h.
References image.
|
protectedvirtual |
Normalize on the assumption that image is a Fourier volume and that tmp_data is a volume of weights corresponding in size to this Fourier volume.
This means tmp_data is assumed to have have as many x pixels as image.
Definition at line 315 of file reconstructor.cpp.
References image, NullPointerException, nx, ny, nz, rdata, sqrt(), subnx, subny, subnz, subx0, suby0, subz0, tmp_data, and y.
Referenced by EMAN::FourierReconstructorSimple2D::finish(), EMAN::FourierReconstructor::finish(), EMAN::WienerFourierReconstructor::finish(), and EMAN::FourierIterReconstructor::finish().
|
private |
Disallow assignment.
|
inlineprotectedvirtual |
|
protected |
Inheriting class allocates this, probably in setup().
Definition at line 237 of file reconstructor.h.
Referenced by EMAN::FourierReconstructor::clear(), EMAN::FourierReconstructor::do_compare_slice_work(), EMAN::FourierReconstructor::do_insert_slice_work(), EMAN::FourierReconstructorSimple2D::finish(), EMAN::FourierReconstructor::finish(), EMAN::WienerFourierReconstructor::finish(), EMAN::FourierIterReconstructor::finish(), EMAN::BackProjectionReconstructor::finish(), EMAN::RealMedianReconstructor::finish(), free_memory(), EMAN::FourierReconstructor::free_memory(), EMAN::FourierIterReconstructor::free_memory(), get_emdata(), EMAN::FourierReconstructorSimple2D::insert_slice(), EMAN::FourierIterReconstructor::insert_slice(), EMAN::BackProjectionReconstructor::insert_slice(), EMAN::FourierReconstructor::load_default_settings(), EMAN::FourierReconstructor::load_inserter(), normalize_threed(), EMAN::FourierReconstructor::pixel_at(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructorSimple2D::setup(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::BackProjectionReconstructor::setup(), EMAN::RealMedianReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), EMAN::FourierReconstructor::setup_seedandweights(), and zero_memory().
|
protected |
Definition at line 242 of file reconstructor.h.
Referenced by EMAN::FourierReconstructor::do_compare_slice_work(), EMAN::WienerFourierReconstructor::do_compare_slice_work(), EMAN::WienerFourierReconstructor::do_insert_slice_work(), EMAN::FourierReconstructor::do_insert_slice_work(), EMAN::RealMedianReconstructor::finish(), EMAN::FourierReconstructorSimple2D::insert_slice(), EMAN::FourierIterReconstructor::insert_slice(), EMAN::BackProjectionReconstructor::insert_slice(), EMAN::RealMedianReconstructor::insert_slice(), normalize_threed(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructorSimple2D::setup(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::BackProjectionReconstructor::setup(), EMAN::RealMedianReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 242 of file reconstructor.h.
Referenced by EMAN::FourierIterReconstructor::insert_slice(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 243 of file reconstructor.h.
Referenced by EMAN::FourierReconstructor::do_compare_slice_work(), EMAN::WienerFourierReconstructor::do_compare_slice_work(), EMAN::WienerFourierReconstructor::do_insert_slice_work(), EMAN::FourierReconstructor::do_insert_slice_work(), EMAN::RealMedianReconstructor::finish(), EMAN::FourierReconstructorSimple2D::insert_slice(), EMAN::FourierIterReconstructor::insert_slice(), EMAN::BackProjectionReconstructor::insert_slice(), normalize_threed(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructorSimple2D::setup(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::BackProjectionReconstructor::setup(), EMAN::RealMedianReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 243 of file reconstructor.h.
Referenced by EMAN::FourierIterReconstructor::insert_slice(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 244 of file reconstructor.h.
Referenced by EMAN::FourierReconstructor::do_compare_slice_work(), EMAN::WienerFourierReconstructor::do_compare_slice_work(), EMAN::WienerFourierReconstructor::do_insert_slice_work(), EMAN::FourierReconstructor::do_insert_slice_work(), EMAN::RealMedianReconstructor::finish(), EMAN::FourierIterReconstructor::insert_slice(), EMAN::BackProjectionReconstructor::insert_slice(), normalize_threed(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::BackProjectionReconstructor::setup(), EMAN::RealMedianReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 244 of file reconstructor.h.
Referenced by EMAN::FourierIterReconstructor::insert_slice(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 248 of file reconstructor.h.
Referenced by EMAN::WienerFourierReconstructor::do_compare_slice_work(), normalize_threed(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 249 of file reconstructor.h.
Referenced by EMAN::WienerFourierReconstructor::do_compare_slice_work(), normalize_threed(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 250 of file reconstructor.h.
Referenced by EMAN::WienerFourierReconstructor::do_compare_slice_work(), normalize_threed(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 253 of file reconstructor.h.
Referenced by normalize_threed(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 254 of file reconstructor.h.
Referenced by normalize_threed(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Definition at line 255 of file reconstructor.h.
Referenced by normalize_threed(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructor::projection(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), and EMAN::FourierReconstructor::setup_seedandweights().
|
protected |
Inheriting class may allocate this, probably in setup()
Definition at line 239 of file reconstructor.h.
Referenced by EMAN::FourierReconstructor::clear(), EMAN::FourierReconstructor::do_compare_slice_work(), EMAN::FourierReconstructor::do_insert_slice_work(), EMAN::FourierReconstructor::finish(), EMAN::WienerFourierReconstructor::finish(), EMAN::FourierIterReconstructor::finish(), free_memory(), EMAN::FourierReconstructor::free_memory(), EMAN::FourierIterReconstructor::free_memory(), EMAN::FourierReconstructorSimple2D::insert_slice(), EMAN::FourierIterReconstructor::insert_slice(), EMAN::BackProjectionReconstructor::insert_slice(), EMAN::FourierReconstructor::load_default_settings(), EMAN::FourierReconstructor::load_inserter(), normalize_threed(), EMAN::FourierReconstructor::pixel_at(), EMAN::WienerFourierReconstructor::pixel_at(), EMAN::FourierReconstructorSimple2D::setup(), EMAN::FourierReconstructor::setup(), EMAN::FourierIterReconstructor::setup(), EMAN::FourierReconstructor::setup_seed(), EMAN::FourierReconstructor::setup_seedandweights(), and zero_memory().