ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBlockMatchingMultiResolutionSearchRegionWriterCommand.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkBlockMatchingMultiResolutionSearchRegionWriterCommand_h
19#define itkBlockMatchingMultiResolutionSearchRegionWriterCommand_h
20
22
23#include "itkImageFileWriter.h"
24
25namespace itk
26{
27namespace BlockMatching
28{
29
36template <typename TMultiResolutionMethod>
38{
39public:
40 ITK_DISALLOW_COPY_AND_MOVE(MultiResolutionSearchRegionWriterCommand);
41
45
46 itkNewMacro(Self);
47
48 void
49 Execute(itk::Object * caller, const itk::EventObject & event) override
50 {
51 Execute((const itk::Object *)caller, event);
52 }
53
54 void
55 Execute(const itk::Object * object, const itk::EventObject & event) override;
56
57 using MultiResolutionMethodType = TMultiResolutionMethod;
58
59 using SearchRegionImageSourceType = typename MultiResolutionMethodType::SearchRegionImageSourceType;
60 using SearchRegionImageType = typename SearchRegionImageSourceType::OutputImageType;
61 using SearchRegionType = typename SearchRegionImageType::PixelType;
62
65
67
68 itkSetStringMacro(OutputFilePrefix);
69 itkGetConstMacro(OutputFilePrefix, std::string);
70
71protected:
74
77
78 std::string m_OutputFilePrefix;
79
80private:
81};
82
83} // end namespace BlockMatching
84} // end namespace itk
85
86#include "itkBlockMatchingMultiResolutionSearchRegionWriterCommand.hxx"
87
88#endif
typename MultiResolutionMethodType::SearchRegionImageSourceType SearchRegionImageSourceType
void Execute(const itk::Object *object, const itk::EventObject &event) override
Abstraction of the Events used to communicating among filters and with GUIs.
Writes image data to a single file.
Templated n-dimensional image class.
Definition itkImage.h:89
SmartPointer< Self > Pointer
Definition itkImage.h:96
Base class for most ITK classes.
Definition itkObject.h:62
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....