FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
PatchGenerator.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <FAST/ProcessObject.hpp>
5 #include <thread>
6 
7 namespace fast {
8 
9 class ImagePyramid;
10 class Image;
11 
12 class FAST_EXPORT PatchGenerator : public Streamer {
14  public:
15  void setPatchSize(int width, int height, int depth = 1);
16  void setPatchLevel(int level);
17  ~PatchGenerator();
18  void loadAttributes() override;
19  protected:
20  int m_width, m_height, m_depth;
21 
22  std::shared_ptr<ImagePyramid> m_inputImagePyramid;
23  std::shared_ptr<Image> m_inputVolume;
24  std::shared_ptr<Image> m_inputMask;
25  int m_level;
26 
27  void execute() override;
28  void generateStream() override;
29  private:
31 };
32 }
fast::Streamer
Definition: Streamer.hpp:19
Streamer.hpp
fast::PatchGenerator::m_level
int m_level
Definition: PatchGenerator.hpp:25
fast
Definition: AffineTransformation.hpp:7
fast::PatchGenerator::m_width
int m_width
Definition: PatchGenerator.hpp:20
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
fast::PatchGenerator::m_inputImagePyramid
std::shared_ptr< ImagePyramid > m_inputImagePyramid
Definition: PatchGenerator.hpp:22
fast::PatchGenerator::m_inputVolume
std::shared_ptr< Image > m_inputVolume
Definition: PatchGenerator.hpp:23
ProcessObject.hpp
fast::PatchGenerator
Definition: PatchGenerator.hpp:12
fast::PatchGenerator::m_inputMask
std::shared_ptr< Image > m_inputMask
Definition: PatchGenerator.hpp:24