A class in the ImageProcessor hierarchy that performs movement by reinterpolation.
More...
|
| Transform3DObjectImageProcessor (const shared_ptr< ObjectTransformation< 3, elemT >>=shared_ptr< ObjectTransformation< 3, elemT >>()) |
| Default constructor. More...
|
|
bool | get_do_transpose () const |
|
void | set_do_transpose (const bool) |
|
bool | get_do_jacobian () const |
|
void | set_do_jacobian (const bool) |
|
bool | get_do_cache () const |
|
void | set_do_cache (const bool) |
|
template<> |
const char *const | registered_name |
|
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.
|
|
Succeeded | set_up (const DiscretisedDensity< 3, elemT > &data) |
| Initialises any internal data (if necessary) using data as a template for sizes, sampling distances etc. More...
|
|
virtual void | reset () |
| Makes sure we will ignore any previous call to set-up() More...
|
|
Succeeded | apply (DiscretisedDensity< 3, elemT > &data) |
| Calls set_up() (if not already done before) and process data in-place. More...
|
|
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. More...
|
|
bool | parse (std::istream &f) |
|
bool | parse (const char *const filename) |
|
| ParsingObject (const ParsingObject &) |
|
ParsingObject & | operator= (const ParsingObject &) |
|
void | ask_parameters () |
|
bool | parse (std::istream &f) |
|
bool | parse (const char *const filename) |
|
void | reset_timers () |
| reset all timers kept by this object
|
|
void | stop_timers () const |
| stop all timers kept by this object More...
|
|
void | start_timers (bool do_reset=false) const |
| start all timers kept by this object More...
|
|
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 DataProcessor< DiscretisedDensity< 3, elemT > > * | read_from_stream (std::istream *) |
| Construct a new object (of type Derived) by parsing the istream. More...
|
|
static Root * | read_registered_object (std::istream *in, const std::string ®istered_name) |
| Construct a new object (of a type derived from Root, its actual type determined by the registered_name parameter) by parsing the istream. More...
|
|
static Root * | ask_type_and_parameters () |
| ask the user for the type, and then calls read_registered_object(0, type) More...
|
|
static void | list_registered_names (std::ostream &stream) |
| List all possible registered names to the stream. More...
|
|
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 Succeeded | virtual_set_up (const DiscretisedDensity< 3, elemT > &)=0 |
| Will be called to build any internal parameters.
|
|
virtual void | virtual_apply (DiscretisedDensity< 3, elemT > &data, const DiscretisedDensity< 3, elemT > &in_data) const=0 |
| Performs actual operation (virtual_set_up is called before this function)
|
|
virtual void | virtual_apply (DiscretisedDensity< 3, elemT > &data) const=0 |
| Performs actual operation (in-place)
|
|
virtual void | set_key_values () |
| This will be called before parsing or parameter_info is called. More...
|
|
static RegistryType & | registry () |
| Static function returning the registry. More...
|
|
KeyParser | parser |
|
template<typename elemT>
class stir::Transform3DObjectImageProcessor< elemT >
A class in the ImageProcessor hierarchy that performs movement by reinterpolation.
- Warning
- This class is currently restricted to 3d.