MISA++ Imaging  1.0.0
Adds support for OpenCV
misa_image_stack_pattern.h
Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include <misaxx/core/patterns/misa_file_pattern.h>
16 #include <misaxx/core/patterns/misa_file_stack_pattern.h>
17 
18 namespace misaxx::imaging {
22  struct misa_image_stack_pattern : public misaxx::misa_file_stack_pattern {
23 
25 
26  void from_json(const nlohmann::json &t_json) override;
27 
28  std::string get_documentation_name() const override;
29 
30  std::string get_documentation_description() const override;
31 
32  protected:
33  void build_serialization_id_hierarchy(std::vector<misaxx::misa_serialization_id> &result) const override;
34  };
35 
36  inline void to_json(nlohmann::json& j, const misa_image_stack_pattern& p) {
37  p.to_json(j);
38  }
39 
40  inline void from_json(const nlohmann::json& j, misa_image_stack_pattern& p) {
41  p.from_json(j);
42  }
43 }
void build_serialization_id_hierarchy(std::vector< misaxx::misa_serialization_id > &result) const override
void from_json(const nlohmann::json &t_json) override
Definition: misa_image_stack_pattern.h:22
Definition: misa_image_file.h:19
std::string get_documentation_description() const override
std::string get_documentation_name() const override
void from_json(const nlohmann::json &j, misa_image_description &p)
Definition: misa_image_description.h:34
void to_json(nlohmann::json &j, const misa_image_description &p)
Definition: misa_image_description.h:30