vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
image_reader.hpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2
3#pragma once
4
5#include <vitrio/export.hpp>
6#include <vitrio/image_transfer_plan.hpp>
7
8namespace vitrio
9{
10
11class array_ref;
12
13class image_descriptor;
14class image_metadata;
15
37{
38public:
39 image_reader() noexcept;
40 image_reader(const image_reader &other) = delete;
42 virtual ~image_reader();
43
44 image_reader& operator=(const image_reader &other) = delete;
45 image_reader& operator=(image_reader &&other) = delete;
46
63
71
121 virtual void read(
124 ) const = 0;
125};
126
127} // namespace vitrio
A reference to a multidimensional array that does not keep it alive.
Definition array_ref.hpp:32
The shape and data type of the values an image file holds.
Definition image_descriptor.hpp:28
What a file states beyond its shape and data type, such as how its samples map onto physical space.
Definition image_metadata.hpp:17
Abstract read-only view of one image file.
Definition image_reader.hpp:37
virtual const image_descriptor & get_descriptor() const noexcept=0
Get the shape and data type of what the file holds.
The regions to transfer between one file and one array.
Definition image_transfer_plan.hpp:34
A view of a contiguous sequence of elements.
Definition span.hpp:29