STIR 6.5.0
stir::multiply_plane_scale_factorsImageProcessor< elemT > Class Template Reference

Simply multiplies each plane in an image with a scale factor. More...

#include "stir_experimental/multiply_plane_scale_factorsImageProcessor.h"

Inheritance diagram for stir::multiply_plane_scale_factorsImageProcessor< elemT >:

Public Member Functions

 multiply_plane_scale_factorsImageProcessor (const VectorWithOffset< double > &plane_scale_factors)
 multiply_plane_scale_factorsImageProcessor (const std::vector< double > &plane_scale_factors)
Public Member Functions inherited from stir::RegisteredParsingObject< multiply_plane_scale_factorsImageProcessor< elemT >, DataProcessor< DiscretisedDensity< 3, elemT > >, DataProcessor< DiscretisedDensity< 3, elemT > > >
std::string get_registered_name () const override
 Returns Derived::registered_name.
std::string parameter_info () override
 Returns a string with all parameters and their values, in a form suitable for parsing again.
Public Member Functions inherited from stir::DataProcessor< DiscretisedDensity< 3, elemT > >
Succeeded set_up (const DiscretisedDensity< 3, elemT > &data)
 Initialises any internal data (if necessary) using data as a template for sizes, sampling distances etc.
virtual void reset ()
 Makes sure we will ignore any previous call to set-up().
Succeeded apply (DiscretisedDensity< 3, elemT > &data)
 Calls set_up() (if not already done before) and process data in-place.
Succeeded apply (DiscretisedDensity< 3, elemT > &out_data, const DiscretisedDensity< 3, elemT > &in_data)
 Calls set_up() (if not already done before) and process in_data, putting the result in out_data.
bool parse (std::istream &f)
bool parse (const char *const filename)
Public Member Functions inherited from stir::ParsingObject
 ParsingObject (const ParsingObject &)
ParsingObject & operator= (const ParsingObject &)
bool parse (std::istream &f)
bool parse (const char *const filename)
void ask_parameters ()
Public Member Functions inherited from stir::TimedObject
void reset_timers ()
 reset all timers kept by this object
void stop_timers () const
 stop all timers kept by this object
void start_timers (bool do_reset=false) const
 start all timers kept by this object
double get_CPU_timer_value () const
 get current value of the CPU timer (since first use or last reset)
double get_wall_clock_timer_value () const
 get current value of the wall-clock timer (since first use or last reset)

Static Public Attributes

static const char *const registered_name

Additional Inherited Members

Static Public Member Functions inherited from stir::RegisteredParsingObject< multiply_plane_scale_factorsImageProcessor< elemT >, DataProcessor< DiscretisedDensity< 3, elemT > >, DataProcessor< DiscretisedDensity< 3, elemT > > >
static DataProcessor< DiscretisedDensity< 3, elemT > > * read_from_stream (std::istream *)
 Construct a new object (of type Derived) by parsing the istream.
Static Public Member Functions inherited from stir::RegisteredObject< Root >
static Root * read_registered_object (std::istream *in, const std::string &registered_name)
 Construct a new object (of a type derived from Root, its actual type determined by the registered_name parameter) by parsing the istream.
static Root * ask_type_and_parameters ()
 ask the user for the type, and then calls read_registered_object(0, type)
static void list_registered_names (std::ostream &stream)
 List all possible registered names to the stream.
Protected Types inherited from stir::RegisteredObject< Root >
typedef Root *(*) RootFactory(std::istream *)
 The type of a root factory is a function, taking an istream* as argument, and returning a Root*.
typedef FactoryRegistry< std::string, RootFactory, interfile_less > RegistryType
 The type of the registry.
virtual bool post_processing ()
 This will be called at the end of the parsing.
virtual void set_key_values ()
 This will be called before parsing or parameter_info is called.
Static Protected Member Functions inherited from stir::RegisteredObject< Root >
static RegistryType & registry ()
 Static function returning the registry.
KeyParser parser

Detailed Description

template<typename elemT>
class stir::multiply_plane_scale_factorsImageProcessor< elemT >

Simply multiplies each plane in an image with a scale factor.


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