Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
CLOverlayRoiCenterOfMass.cpp File Reference
#include "time.h"
#include <sstream>
#include <fstream>
#include <mitkIOUtil.h>
#include "mitkCommandLineParser.h"
#include <mitkSplitParameterToVector.h>
#include <mitkGlobalImageFeaturesParameter.h>
#include <itkImageRegionIteratorWithIndex.h>
#include <QApplication>
#include <mitkStandaloneDataStorage.h>
#include "QmitkRegisterClasses.h"
#include "QmitkRenderWindow.h"
#include "vtkRenderLargeImage.h"
#include "vtkPNGWriter.h"
#include <mitkImageAccessByItk.h>
#include <mitkImageCast.h>

Go to the source code of this file.

Macros

#define mitkCLPolyToNrrd_cpp
 

Typedefs

typedef itk::Image< double, 3 > FloatImageType
 
typedef itk::Image< unsigned char, 3 > MaskImageType
 

Functions

template<typename TPixel , unsigned int VImageDimension>
static void FindMostSampleSlice (itk::Image< TPixel, VImageDimension > *mask, int &selectedSlice)
 
static void SaveSliceOrImageAsPNG (mitk::Image::Pointer image, mitk::Image::Pointer mask, std::string path, int index)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ mitkCLPolyToNrrd_cpp

#define mitkCLPolyToNrrd_cpp

Definition at line 13 of file CLOverlayRoiCenterOfMass.cpp.

Typedef Documentation

◆ FloatImageType

typedef itk::Image< double, 3 > FloatImageType

Definition at line 36 of file CLOverlayRoiCenterOfMass.cpp.

◆ MaskImageType

typedef itk::Image< unsigned char, 3 > MaskImageType

Definition at line 37 of file CLOverlayRoiCenterOfMass.cpp.

Function Documentation

◆ FindMostSampleSlice()

template<typename TPixel , unsigned int VImageDimension>
static void FindMostSampleSlice ( itk::Image< TPixel, VImageDimension > *  mask,
int &  selectedSlice 
)
static

Definition at line 42 of file CLOverlayRoiCenterOfMass.cpp.

Referenced by main().

◆ main()

◆ SaveSliceOrImageAsPNG()