SlideIO 2.9.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
phtiffimagedriver.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/svs/svsimagedriver.hpp"
7
8namespace slideio
9{
10 // Philips files are *.tif and *.tiff, an extension that says nothing: gdal reads
11 // plain tiff and the ome-tiff driver reads its own flavour. Only the metadata in the
12 // description of the first directory identifies a philips file.
13 class SLIDEIO_SVS_EXPORTS PHTIFFImageDriver : public SVSImageDriver
14 {
15 public:
16 std::string getID() const override;
17 std::shared_ptr<slideio::CVSlide> openFile(const std::string& filePath) override;
18 std::string getFileSpecs() const override;
19 bool canOpenFile(const std::string& filePath) const override;
20 };
21}
Definition: exceptions.hpp:15