|
SIRF
3.7.0
|
Wrapper for ISMRMRD::Image. More...
#include "gadgetron_image_wrap.h"
Classes | |
| class | Iterator |
| class | Iterator_const |
Public Member Functions | |
| ImageWrap (uint16_t type, void *ptr_im) | |
| ImageWrap (uint16_t type, ISMRMRD::Dataset &dataset, const char *var, int index) noexcept(false) | |
| ImageWrap (const ImageWrap &iw) noexcept(false) | |
| int | type () const |
| void * | ptr_image () |
| const void * | ptr_image () const |
| Iterator & | begin () |
| Iterator_const & | begin_const () const |
| Iterator & | end () |
| Iterator_const & | end_const () const |
| size_t | size () const |
| size_t | num_data_elm () const |
| ISMRMRD::ImageHeader & | head () |
| const ISMRMRD::ImageHeader & | head () const |
| std::string | attributes () const |
| void | set_attributes (const std::string &attr) |
| void | show_attributes () const |
| void | set_imtype (ISMRMRD::ISMRMRD_ImageTypes imtype) |
| size_t | get_dim (int *dim) const |
| void | get_data (float *data) const |
| void | set_data (const float *data) |
| void | fill (float s) |
| void | scale (float s) |
| void | get_complex_data (complex_float_t *data) const |
| void | set_complex_data (const complex_float_t *data) |
| gadgetron::shared_ptr< ImageWrap > | abs () const |
| gadgetron::shared_ptr< ImageWrap > | real (const std::string &way="real") const |
| ISMRMRD::ISMRMRD_DataTypes | get_data_type () const |
| Get data type. | |
| bool | is_complex () const |
| Is the image wrap complex? | |
| void | write (ISMRMRD::Dataset &dataset) const |
| void | read (ISMRMRD::Dataset &dataset, const char *var, int ind) |
| void | axpby (complex_float_t a, const ImageWrap &x, complex_float_t b, const ImageWrap &y) |
| void | xapyb (const ImageWrap &x, complex_float_t a, const ImageWrap &y, complex_float_t b) |
| void | xapyb (const ImageWrap &x, complex_float_t a, const ImageWrap &y, const ImageWrap &b) |
| void | xapyb (const ImageWrap &x, const ImageWrap &a, const ImageWrap &y, complex_float_t b) |
| void | xapyb (const ImageWrap &x, const ImageWrap &a, const ImageWrap &y, const ImageWrap &b) |
| void | binary_op (const ImageWrap &x, const ImageWrap &y, complex_float_t(*f)(complex_float_t, complex_float_t)) |
| void | semibinary_op (const ImageWrap &x, complex_float_t y, complex_float_t(*f)(complex_float_t, complex_float_t)) |
| void | unary_op (const ImageWrap &x, complex_float_t(*f)(complex_float_t)) |
| complex_float_t | dot (const ImageWrap &iw) const |
| float | norm () const |
| complex_float_t | sum () const |
| complex_float_t | max () const |
| complex_float_t | min () const |
| float | diff (ImageWrap &iw) const |
| void | conjugate () |
Wrapper for ISMRMRD::Image.
Eliminates the need for the image processing switch in the rest of the code.