Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
TumorProgressionMapping.cpp File Reference
#include <mitkIOUtil.h>
#include <mitkImageAccessByItk.h>
#include <mitkImageCast.h>
#include <mitkImagePixelReadAccessor.h>
#include <mitkImagePixelWriteAccessor.h>
#include <mitkImageToItk.h>
#include <mitkPixelType.h>
#include <mitkPlaneGeometry.h>
#include "itkImageDuplicator.h"
#include "itkPermuteAxesImageFilter.h"
#include "itkTileImageFilter.h"
#include <itkExtractImageFilter.h>
#include <itkImageFileWriter.h>
#include <itkRGBPixel.h>
#include <itkResampleImageFilter.h>
#include <itkVTKImageImport.h>
#include <itkDirectory.h>
#include <itksys/SystemTools.hxx>
#include <vtkCellArray.h>
#include <vtkFreeTypeStringToImage.h>
#include <vtkImageData.h>
#include <vtkTextProperty.h>
#include <vtkUnicodeString.h>
#include <mitkCommandLineParser.h>
#include "itkRescaleIntensityImageFilter.h"
#include <typeExtension.h>

Go to the source code of this file.

Typedefs

typedef unsigned short PixelType
 
typedef double InputPixelType
 
typedef itk::Image< itk::RGBPixel< PixelType >, 2 > RGB2DImage
 
typedef itk::RGBPixel< PixelTypeRGBPixelType
 
typedef std::vector< std::string > FileList
 
typedef std::vector< mitk::Image::PointerImageList
 

Functions

static FileList CreateFileList (std::string folder, std::string postfix)
 Create list of all files in provided folder ending with same postfix. More...
 
static std::string GetName (std::string fileName, std::string suffix="_T2.nrrd")
 
static std::string GetDate (std::string fileName, std::string suffix="_T2.nrrd")
 
static ImageList LoadPreprocessedFiles (FileList files)
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ FileList

typedef std::vector<std::string> FileList

Definition at line 55 of file TumorProgressionMapping.cpp.

◆ ImageList

typedef std::vector<mitk::Image::Pointer> ImageList

Definition at line 56 of file TumorProgressionMapping.cpp.

◆ InputPixelType

typedef double InputPixelType

Definition at line 51 of file TumorProgressionMapping.cpp.

◆ PixelType

typedef unsigned short PixelType

Definition at line 50 of file TumorProgressionMapping.cpp.

◆ RGB2DImage

typedef itk::Image<itk::RGBPixel<PixelType>, 2> RGB2DImage

Definition at line 52 of file TumorProgressionMapping.cpp.

◆ RGBPixelType

typedef itk::RGBPixel<PixelType> RGBPixelType

Definition at line 53 of file TumorProgressionMapping.cpp.

Function Documentation

◆ CreateFileList()

static FileList CreateFileList ( std::string  folder,
std::string  postfix 
)
static

Create list of all files in provided folder ending with same postfix.

Definition at line 59 of file TumorProgressionMapping.cpp.

References mitk::CastToItkImage(), mitk::SlicedData::GetLargestPossibleRegion(), itk::Image, min(), mitk::Image::New(), and mitk::ImagePixelWriteAccessor< TPixel, VDimension >::SetPixelByIndex().

Referenced by main().

◆ GetDate()

static std::string GetDate ( std::string  fileName,
std::string  suffix = "_T2.nrrd" 
)
static

Definition at line 278 of file TumorProgressionMapping.cpp.

Referenced by main().

◆ GetName()

static std::string GetName ( std::string  fileName,
std::string  suffix = "_T2.nrrd" 
)
static

Definition at line 272 of file TumorProgressionMapping.cpp.

Referenced by main().

◆ LoadPreprocessedFiles()

static ImageList LoadPreprocessedFiles ( FileList  files)
static

Definition at line 285 of file TumorProgressionMapping.cpp.

References images.

Referenced by main().

◆ main()