SourceXtractorPlusPlus  0.8
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FitsReader.h
Go to the documentation of this file.
1 
7 #ifndef _SEFRAMEWORK_IMAGE_FITSREADER_H
8 #define _SEFRAMEWORK_IMAGE_FITSREADER_H
9 
12 
13 namespace SourceXtractor {
14 
20 template <typename T>
21 class FitsReader {
22 
23 public:
24 
28  virtual ~FitsReader() = default;
29 
31  auto image_source = std::make_shared<FitsImageSource<T>>(filename);
32  return BufferedImage<T>::create(image_source);
33  }
34 
35 }; /* End of FitsReader class */
36 
37 } /* namespace SourceXtractor */
38 
39 
40 #endif
virtual ~FitsReader()=default
Destructor.
STL class.
string filename
Definition: conf.py:63
static std::shared_ptr< BufferedImage< T > > create(std::shared_ptr< const ImageSource< T >> source, std::shared_ptr< TileManager > tile_manager=TileManager::getInstance())
static std::shared_ptr< Image< T > > readFile(const std::string &filename)
Definition: FitsReader.h:30