IOFormat  IOF_v0.33.0_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 
44  static std::shared_ptr<iolink::ImageView> openImageFromPattern(const std::string& pattern,
45  iolink::ImageDimension newDim);
46 
69  static std::shared_ptr<iolink::ImageView> openImageFromPattern(const std::string& pattern);
70 
93  static std::shared_ptr<iolink::ImageView> readImageFromPattern(const std::string& pattern,
94  iolink::ImageDimension newDim);
95 
120  static std::shared_ptr<iolink::ImageView> readImageFromPattern(const std::string& pattern);
121 
143  static std::shared_ptr<iolink::ImageView> openImageFromListFile(const std::string& filePath,
144  iolink::ImageDimension newDim);
145 
166  static std::shared_ptr<iolink::ImageView> openImageFromListFile(const std::string& filePath);
167 
189  static std::shared_ptr<iolink::ImageView> readImageFromListFile(const std::string& filePath,
190  iolink::ImageDimension newDim);
191 
212  static std::shared_ptr<iolink::ImageView> readImageFromListFile(const std::string& filePath);
213 };
214 
215 } // 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