SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
svstools.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_svstools_HPP
5#define OPENCV_slideio_svstools_HPP
6
7#include "slideio/drivers/svs/svs_api_def.hpp"
8#include <opencv2/core.hpp>
9#include <string>
10
11namespace slideio
12{
13 class SLIDEIO_SVS_EXPORTS SVSTools
14 {
15 public:
16 // Extracts magnification value from image information string
17 static int extractMagnifiation(const std::string& description);
18 // Extracts resolution value from image information string
19 static double extractResolution(const std::string& description);
20 };
21}
22
23#endif
Definition: exceptions.hpp:12