SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
transformertools.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#include <opencv2/core/types.hpp>
6#include "transformer_def.hpp"
7#include <opencv2/core.hpp>
8
9namespace slideio
10{
11 class TransformationEx;
12
13 class SLIDEIO_TRANSFORMER_EXPORTS TransformerTools
14 {
15 public:
16 static void computeInflatedRectParams(const cv::Size& sceneSize, const cv::Rect& blockRect, int invlationValue, const cv::Size& blockSize,
17 cv::Rect& inflatedBlockRect, cv::Size& inflatedSize, cv::Point& blockPositionInInflatedRect);
18 };
19}
Definition: exceptions.hpp:15