Go to the source code of this file.
|
namespace | MR |
|
namespace | MR::Formats |
| Classes responsible for handling of specific image formats.
|
|
◆ DECLARE_IMAGEFORMAT
#define DECLARE_IMAGEFORMAT |
( |
|
format, |
|
|
|
desc |
|
) |
| |
Value: class format : public Base { NOMEMALIGN \
public: \
format () : Base (desc) { } \
virtual std::unique_ptr<ImageIO::Base>
read (Header&
H)
const; \
virtual
bool check (Header&
H,
size_t num_axes)
const; \
virtual std::unique_ptr<ImageIO::Base>
create (Header&
H)
const; \
}
KeyValues read(const nlohmann::json &json, const KeyValues &preexisting=KeyValues())
std::unique_ptr< ImageIO::Base > create(Header &H)
bool check(int VERSION, Header &H, const size_t num_axes, const vector< std::string > &suffixes)
Definition at line 22 of file list.h.