SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
ottools.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/ome-tiff/ot_api_def.hpp"
7#include <opencv2/core.hpp>
8#include <string>
9
10#include "otscene.hpp"
11#include "slideio/base/slideio_enums.hpp"
12
13namespace slideio
14{
15 namespace ometiff
16 {
17 class SLIDEIO_OMETIFF_EXPORTS OTTools
18 {
19 public:
20 static DataType stringToDataType(const std::string& type);
21 static double convertToMeters(double value, const std::string& units);
22 static double convertToSeconds(double tResolution, const std::string& units);
23 };
24 }
25}
Definition: exceptions.hpp:15