NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
mitkSplitVideo.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef mitkSplitVideo_h
16 #define mitkSplitVideo_h
17 
18 #include "niftkOpenCVExports.h"
19 #include <string>
20 #include <itkObject.h>
21 #include <itkObjectFactory.h>
22 #include <mitkCommon.h>
23 
24 namespace mitk {
25 
31 class NIFTKOPENCV_EXPORT SplitVideo : public itk::Object
32 {
33 
34 public:
35 
36  mitkClassMacroItkParent(SplitVideo, itk::Object)
37  itkNewMacro(SplitVideo)
38 
39  bool Split(
40  const std::string& inputImageFileName,
41  const unsigned int& startFrame,
42  const unsigned int& endFrame
43  );
44 
45 protected:
46 
47  SplitVideo();
48  virtual ~SplitVideo();
49 
50  SplitVideo(const SplitVideo&); // Purposefully not implemented.
51  SplitVideo& operator=(const SplitVideo&); // Purposefully not implemented.
52 
53 }; // end class
54 
55 } // end namespace
56 
57 #endif
Definition: ReceptorMemberCommandTest.cxx:25
#define NIFTKOPENCV_EXPORT
Definition: niftkSequentialCpuQds.h:27
GLsizei const GLcharARB ** string
Definition: glew.h:5194
Takes an input video file (.avi or .264) together with the corresponding .framemap.log file, a start frame and an end frame. The file is split and the resulting file written out together a suitable .framemap.log file.
Definition: mitkSplitVideo.h:31