SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
convertersvstools.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_convertersvstools_HPP
5#define OPENCV_slideio_convertersvstools_HPP
6
7#include "slideio/converter/converter_def.hpp"
8#include "slideio/core/cvscene.hpp"
9#include "slideio/imagetools/tiffkeeper.hpp"
10
11namespace slideio
12{
13 class ConverterParameters;
14 class SVSConverterParameters;
15 typedef const std::function<void(int)>& ConverterCallback;
16 class SLIDEIO_CONVERTER_EXPORTS ConverterSVSTools
17 {
18 public:
19 static void checkSVSRequirements(const CVScenePtr& scene, const SVSConverterParameters& parameters);
20 static std::string createDescription(const CVScenePtr& scene, const SVSConverterParameters& parameters);
21 static void createZoomLevel(TIFFKeeperPtr& file, int zoomLevel, const CVScenePtr& scene, SVSConverterParameters& parameters, const std::function<void(int, int)>& cb = nullptr);
22 static void createSVS(TIFFKeeperPtr& file, const CVScenePtr& scene, SVSConverterParameters& parameters, ConverterCallback cb);
23 };
24}
25#endif
Definition: exceptions.hpp:12