STIR  6.2.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

A class for moving an image according to average motion in the frame. More...

Inheritance diagram for stir::MoveImage:
Inheritance graph
[legend]

Public Member Functions

 MoveImage (const char *const par_filename)
 
virtual Succeeded process_data ()
 
- Public Member Functions inherited from stir::TimeFrameMotion
void move_to_reference (const bool)
 
void set_frame_num_to_process (const int)
 
int get_frame_num_to_process () const
 
const RigidObject3DTransformationget_current_rigid_object_transformation () const
 get transformation from (or to) reference for current frame More...
 
const RigidObject3DTransformationget_rigid_object_transformation_to_reference () const
 Get the transformation to the reference as returned by the RigidObject3DMotion object.
 
const TimeFrameDefinitionsget_time_frame_defs () const
 
double get_frame_start_time (unsigned frame_num) const
 
double get_frame_end_time (unsigned frame_num) const
 
const RigidObject3DMotionget_motion () const
 
- Public Member Functions inherited from stir::ParsingObject
 ParsingObject (const ParsingObject &)
 
ParsingObjectoperator= (const ParsingObject &)
 
void ask_parameters ()
 
virtual std::string parameter_info ()
 
bool parse (std::istream &f)
 
bool parse (const char *const filename)
 

Protected Member Functions

virtual void set_defaults ()
 parsing functions
 
virtual void initialise_keymap ()
 Initialise all keywords.
 
virtual bool post_processing ()
 This will be called at the end of the parsing. More...
 
- Protected Member Functions inherited from stir::TimeFrameMotion
void set_defaults () override
 parsing functions
 
void initialise_keymap () override
 Initialise all keywords.
 
bool post_processing () override
 This will be called at the end of the parsing. More...
 
- Protected Member Functions inherited from stir::ParsingObject
virtual void set_key_values ()
 This will be called before parsing or parameter_info is called. More...
 

Protected Attributes

string input_filename
 parsing variables
 
string output_filename_prefix
 
- Protected Attributes inherited from stir::ParsingObject
KeyParser parser
 

Detailed Description

A class for moving an image according to average motion in the frame.

See also
transform_3d_object(DiscretisedDensity<3,float>& out_density, const DiscretisedDensity<3,float>& in_density, const RigidObject3DTransformation& rigid_object_transformation)
Example par file
See also
TimeFrameMotion for other parameters
  MoveImage Parameters:=
  input file:= input_filename
  ; output name
  ; filenames will be constructed by appending _f#g1d0b0 (and the extension)
  ; where # is the frame number
  output filename prefix:= output

  ; Change output file format, defaults to Interfile. See OutputFileFormat.
  ;Output file format := interfile

  ; parameters from TimeFrameMotion

  END :=

Member Function Documentation

◆ post_processing()

bool stir::MoveImage::post_processing ( )
protectedvirtual

This will be called at the end of the parsing.

Returns
false if everything OK, true if not

Reimplemented from stir::ParsingObject.

References stir::warning().


The documentation for this class was generated from the following file: