17#ifndef __formats_list_h__
18#define __formats_list_h__
22#define DECLARE_IMAGEFORMAT(format, desc) \
23 class format : public Base { NOMEMALIGN \
25 format () : Base (desc) { } \
26 virtual std::unique_ptr<ImageIO::Base> read (Header& H) const; \
27 virtual bool check (Header& H, size_t num_axes) const; \
28 virtual std::unique_ptr<ImageIO::Base> create (Header& H) const; \
62 virtual std::unique_ptr<ImageIO::Base>
read (
Header&
H)
const = 0;
88#ifdef MRTRIX_AS_R_LIBRARY
105#ifdef MRTRIX_TIFF_SUPPORT
108#ifdef MRTRIX_PNG_SUPPORT
122 extern MRtrix mrtrix_handler;