IOFormat  IOF_v1.3.1_release
StackReader.h
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 
6 #include <iolink/view/ImageView.h>
7 
8 #include <ioformat/IOFormatAPI.h>
9 
10 namespace ioformat
11 {
12 
16 class IOFORMAT_API StackReader
17 {
18 public:
22  StackReader() = delete;
23 
45  static std::shared_ptr<iolink::ImageView> openImageFromPattern(const std::string& pattern,
46  iolink::ImageDimension newDim);
47 
71  static std::shared_ptr<iolink::ImageView> openImageFromPattern(const std::string& pattern);
72 
96  static std::shared_ptr<iolink::ImageView> readImageFromPattern(const std::string& pattern,
97  iolink::ImageDimension newDim);
98 
124  static std::shared_ptr<iolink::ImageView> readImageFromPattern(const std::string& pattern);
125 
149  static std::shared_ptr<iolink::ImageView> openImageFromListFile(const std::string& filePath,
150  iolink::ImageDimension newDim);
151 
174  static std::shared_ptr<iolink::ImageView> openImageFromListFile(const std::string& filePath);
175 
199  static std::shared_ptr<iolink::ImageView> readImageFromListFile(const std::string& filePath,
200  iolink::ImageDimension newDim);
201 
224  static std::shared_ptr<iolink::ImageView> readImageFromListFile(const std::string& filePath);
225 };
226 
227 } // end namespace ioformat
ioformat
Global namespace which contains all methods to encode/decode data from/into different resources (file...
Definition: Error.h:5
ioformat::StackReader
Definition: StackReader.h:16