SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
gdalimagedriver.hpp
1// This file is part of slideio project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://slideio.com/license.html.
4#ifndef OPENCV_slideio_gdalimagedriver_HPP
5#define OPENCV_slideio_gdalimagedriver_HPP
6
7#include "slideio/drivers/gdal/gdal_api_def.hpp"
8#include "slideio/core/imagedriver.hpp"
9#include "slideio/core/cvslide.hpp"
10#include <opencv2/core.hpp>
11
12namespace slideio
13{
14 class SLIDEIO_GDAL_EXPORTS GDALImageDriver : public slideio::ImageDriver
15 {
16 public:
17 GDALImageDriver();
18 ~GDALImageDriver();
19 std::string getID() const override;
20 std::shared_ptr<CVSlide> openFile(const std::string& filePath) override;
21 std::string getFileSpecs() const override;
22 };
23}
24
25#endif
Definition: exceptions.hpp:12