STIR
6.2.0
|
Classes | |
class | stir::FindMCNormFactors |
Class to compute 'time-efficiency' factors for motino corrected projection data. More... | |
class | stir::MyApp |
A class for moving an image according to average motion in the frame. More... | |
class | stir::MoveImage |
A class for moving an image according to average motion in the frame. More... | |
class | stir::MoveProjData |
A class for moving projection data according to average motion in the frame. More... | |
class | stir::ReportMovement |
A class for reporting the movement within the frame w.r.t. to the reference position. More... | |
class | stir::MatchTrackerAndScanner |
A class for finding the coordinate transformation between tracker and scanner coordinate systems. More... | |
class | stir::NonRigidObjectTransformationUsingBSplines< num_dimensions, elemT > |
Class to perform non-rigid object transformations in arbitrary dimensions. More... | |
class | stir::ObjectTransformation< num_dimensions, elemT > |
Base-class for performing (potentially non-rigid) object transformations. More... | |
class | stir::Polaris_MT_File |
a class for parsing .mt files output by the Polaris software More... | |
class | stir::RigidObject3DMotion |
Base class for 3D rigid motion. More... | |
class | stir::RigidObject3DMotionFromPolaris |
A class for handling motion information from the Polaris tracker. More... | |
class | stir::RigidObject3DTransformation |
Class to perform rigid object transformations in 3 dimensions. More... | |
class | stir::TimeFrameMotion |
A class for encoding average motion in the frames. More... | |
Functions | |
std::ostream & | stir::operator<< (std::ostream &out, const RigidObject3DTransformation &rigid_object_transformation) |
Output to (text) stream. More... | |
std::istream & | stir::operator>> (std::istream &, RigidObject3DTransformation &rigid_object_transformation) |
Input from (text) stream. More... | |
RigidObject3DTransformation | stir::compose (const RigidObject3DTransformation &apply_last, const RigidObject3DTransformation &apply_first) |
Composition of 2 transformations. More... | |
template<class ObjectTransformationT , class PushInterpolatorT > | |
Succeeded | stir::transform_3d_object_push_interpolation (DiscretisedDensity< 3, float > &out_density, const DiscretisedDensity< 3, float > &in_density, const ObjectTransformationT &transformation_in_to_out, const PushInterpolatorT &interpolator, const bool do_jacobian) |
transform image data More... | |
template<class ObjectTransformationT , class PullInterpolatorT > | |
Succeeded | stir::transform_3d_object_pull_interpolation (DiscretisedDensity< 3, float > &out_density, const DiscretisedDensity< 3, float > &in_density, const ObjectTransformationT &transformation_out_to_in, const PullInterpolatorT &interpolator, const bool do_jacobian) |
transform image data More... | |
Succeeded | stir::transform_3d_object (DiscretisedDensity< 3, float > &out_density, const DiscretisedDensity< 3, float > &in_density, const RigidObject3DTransformation &transformation_in_to_out) |
transform image data More... | |
Succeeded | stir::transform_3d_object (ProjData &out_proj_data, const ProjData &in_proj_data, const RigidObject3DTransformation &object_transformation) |
transform projection data More... | |
Succeeded | stir::transpose_of_transform_3d_object (DiscretisedDensity< 3, float > &out_density, const DiscretisedDensity< 3, float > &in_density, const RigidObject3DTransformation &transformation_in_to_out) |
transform image data using transposed matrix More... | |
Succeeded | stir::transform_3d_object (ProjData &out_proj_data, const ProjData &in_proj_data, const RigidObject3DTransformation &rigid_object_transformation, const int min_in_segment_num_to_process, const int max_in_segment_num_to_process) |
transform projection data More... | |
std::ostream & stir::operator<< | ( | std::ostream & | out, |
const RigidObject3DTransformation & | rigid_object_transformation | ||
) |
Output to (text) stream.
Will be written as
{ quaternion, translation }
References stir::RigidObject3DTransformation::get_quaternion(), and stir::RigidObject3DTransformation::get_translation().
std::istream & stir::operator>> | ( | std::istream & | , |
RigidObject3DTransformation & | rigid_object_transformation | ||
) |
Input from (text) stream.
Should have format
{ quaternion, translation }
RigidObject3DTransformation stir::compose | ( | const RigidObject3DTransformation & | apply_last, |
const RigidObject3DTransformation & | apply_first | ||
) |
Composition of 2 transformations.
This provides a way to perform 2 transformations after eachother. The following code will work
References stir::RigidObject3DTransformation::get_quaternion(), and stir::RigidObject3DTransformation::get_translation().
Referenced by stir::RigidObject3DMotion::get_motion_in_scanner_coords_rel_time(), stir::RigidObject3DTransformation::jacobian(), stir::RigidObject3DMotion::post_processing(), stir::LmToProjDataWithMC::process_new_time_event(), and stir::RigidObject3DTransformationTests::run_tests().
|
inline |
transform image data
the interpolator has to push values from the input into the output image
References stir::VectorWithOffset< Array< num_dimensions - 1, elemT > >::get_max_index(), stir::VectorWithOffset< Array< num_dimensions - 1, elemT > >::get_min_index(), stir::DiscretisedDensity< num_dimensions, elemT >::get_origin(), and stir::VoxelsOnCartesianGrid< elemT >::get_voxel_size().
Referenced by stir::transpose_of_transform_3d_object().
|
inline |
transform image data
the interpolator has to pull values from the input into the output image
References stir::VectorWithOffset< Array< num_dimensions - 1, elemT > >::get_max_index(), stir::VectorWithOffset< Array< num_dimensions - 1, elemT > >::get_min_index(), stir::DiscretisedDensity< num_dimensions, elemT >::get_origin(), and stir::VoxelsOnCartesianGrid< elemT >::get_voxel_size().
Referenced by stir::transform_3d_object().
Succeeded stir::transform_3d_object | ( | DiscretisedDensity< 3, float > & | out_density, |
const DiscretisedDensity< 3, float > & | in_density, | ||
const RigidObject3DTransformation & | transformation_in_to_out | ||
) |
transform image data
Currently only supports VoxelOnCartesianGrid image. Uses (tri)linear interpolation.
References stir::RigidObject3DTransformation::inverse(), and stir::transform_3d_object_pull_interpolation().
Succeeded stir::transform_3d_object | ( | ProjData & | out_proj_data, |
const ProjData & | in_proj_data, | ||
const RigidObject3DTransformation & | object_transformation | ||
) |
transform projection data
Currently only supports non-arccorrected data.
Uses all available input segments
References stir::ProjData::get_max_segment_num(), stir::ProjData::get_min_segment_num(), and stir::transform_3d_object().
Succeeded stir::transpose_of_transform_3d_object | ( | DiscretisedDensity< 3, float > & | out_density, |
const DiscretisedDensity< 3, float > & | in_density, | ||
const RigidObject3DTransformation & | transformation_in_to_out | ||
) |
transform image data using transposed matrix
Implements the transpose (not the inverse) of transform_3d_object(DiscretisedDensity<3,float>&, const DiscretisedDensity<3,float>&,const RigidObject3DTransformation&)
References stir::RigidObject3DTransformation::inverse(), and stir::transform_3d_object_push_interpolation().
Succeeded stir::transform_3d_object | ( | ProjData & | out_proj_data, |
const ProjData & | in_proj_data, | ||
const RigidObject3DTransformation & | rigid_object_transformation, | ||
const int | min_in_segment_num_to_process, | ||
const int | max_in_segment_num_to_process | ||
) |
transform projection data
Currently only supports non-arccorrected data.
References stir::Bin::get_bin_value(), stir::ProjData::get_empty_segment_by_view(), stir::SegmentByView< elemT >::get_max_axial_pos_num(), stir::ProjData::get_max_segment_num(), stir::SegmentByView< elemT >::get_max_tangential_pos_num(), stir::SegmentByView< elemT >::get_max_view_num(), stir::SegmentByView< elemT >::get_min_axial_pos_num(), stir::ProjData::get_min_segment_num(), stir::SegmentByView< elemT >::get_min_tangential_pos_num(), stir::SegmentByView< elemT >::get_min_view_num(), stir::ProjData::get_proj_data_info_sptr(), stir::ProjData::get_segment_by_view(), stir::info(), stir::RigidObject3DTransformation::transform_bin(), and stir::warning().
Referenced by stir::transform_3d_object().