SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
svssmallscene.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_svssmallscene_HPP
5#define OPENCV_slideio_svssmallscene_HPP
6
7#include "slideio/drivers/svs/svs_api_def.hpp"
8#include "slideio/drivers/svs/svsscene.hpp"
9#include "slideio/imagetools/tifftools.hpp"
10
11#if defined(_MSC_VER)
12#pragma warning( push )
13#pragma warning(disable: 4251)
14#endif
15
16namespace slideio
17{
18 class SLIDEIO_SVS_EXPORTS SVSSmallScene : public SVSScene
19 {
20 public:
21 SVSSmallScene(
22 const std::string& filePath,
23 const std::string& name,
24 const slideio::TiffDirectory& dir,
25 bool auxiliary=true);
26 cv::Rect getRect() const override;
27 int getNumChannels() const override;
28 void readResampledBlockChannels(const cv::Rect& blockRect, const cv::Size& blockSize, const std::vector<int>& channelIndices,
29 cv::OutputArray output) override;
30 private:
31 slideio::TiffDirectory m_directory;
32 LevelInfo m_levelInfo;
33 };
34}
35
36#if defined(_MSC_VER)
37#pragma warning( pop )
38#endif
39
40#endif
Definition: exceptions.hpp:12