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
8namespace slideio
9{
10 class Transformation;
11
12 class SLIDEIO_TRANSFORMER_EXPORTS TransformerTools
13 {
14 public:
15 static void computeInflatedRectParams(const cv::Size& sceneSize, const cv::Rect& blockRect, int invlationValue, const cv::Size& blockSize,
16 cv::Rect& inflatedBlockRect, cv::Size& inflatedSize, cv::Point& blockPositionInInflatedRect);
17 };
18}
Definition: exceptions.hpp:12