GIPLImageWriter.h
1 /*
2  * Medical Image Registration ToolKit (MIRTK)
3  *
4  * Copyright 2008-2015 Imperial College London
5  * Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 #ifndef MIRTK_GIPLImageWriter_H
21 #define MIRTK_GIPLImageWriter_H
22 
23 #include "mirtk/ImageWriter.h"
24 
25 #include "mirtk/Array.h"
26 
27 
28 namespace mirtk {
29 
30 
31 /**
32  * Class for image to GIPL file filter.
33  *
34  * This is a class which takes an image as input and produces an image file
35  * in GIPL file format.
36  */
38 {
39  mirtkObjectMacro(GIPLImageWriter);
40 
41 public:
42 
43  /// List of file name extensions
44  static Array<string> Extensions();
45 
46 protected:
47 
48  /// Initialize filter
49  virtual void Initialize();
50 
51 };
52 
53 
54 } // namespace mirtk
55 
56 #endif // MIRTK_GIPLImageWriter_H
static Array< string > Extensions()
List of file name extensions.
virtual void Initialize()
Initialize filter.
Definition: IOConfig.h:41