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#pragma once
5
6#include "slideio/drivers/gdal/gdal_api_def.hpp"
7#include "slideio/core/imagedriver.hpp"
8#include "slideio/core/cvslide.hpp"
9#include <opencv2/core.hpp>
10
11namespace slideio
12{
13 class SLIDEIO_GDAL_EXPORTS GDALImageDriver : public slideio::ImageDriver
14 {
15 public:
16 GDALImageDriver();
17 ~GDALImageDriver();
18 std::string getID() const override;
19 std::shared_ptr<CVSlide> openFile(const std::string& filePath) override;
20 std::string getFileSpecs() const override;
21 };
22}
Definition: exceptions.hpp:15