MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkAbstractOpenCVImageFilter.cpp
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
14
16
20
22{
23 if (id < INVALID_IMAGE_ID) { id = INVALID_IMAGE_ID; }
24
25 m_CurrentImageId = id;
26 return this->OnFilterImage(image);
27}
28
30{
31 return m_CurrentImageId;
32}
virtual bool FilterImage(cv::Mat &image, int id=INVALID_IMAGE_ID)