Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include "time.h"
#include <sstream>
#include <mitkIOUtil.h>
#include "mitkCommandLineParser.h"
#include <mitkPlanarFigureMaskGenerator.h>
#include <mitkImageAccessByItk.h>
#include <mitkImageCast.h>
#include <itkImageRegionIteratorWithIndex.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> | |
void | CreateNewMask (const itk::Image< TPixel, VImageDimension > *image, MaskParameter param, mitk::Image::Pointer &output) |
int | main (int argc, char *argv[]) |
#define mitkCLPolyToNrrd_cpp |
Definition at line 13 of file CLPlanarFigureToNrrd.cpp.
typedef itk::Image< double, 3 > FloatImageType |
Definition at line 28 of file CLPlanarFigureToNrrd.cpp.
typedef itk::Image< unsigned char, 3 > MaskImageType |
Definition at line 29 of file CLPlanarFigureToNrrd.cpp.
void CreateNewMask | ( | const itk::Image< TPixel, VImageDimension > * | image, |
MaskParameter | param, | ||
mitk::Image::Pointer & | output | ||
) |
Definition at line 39 of file CLPlanarFigureToNrrd.cpp.
References mitk::CastToItkImage(), mitk::CastToMitkImage(), and mask.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 78 of file CLPlanarFigureToNrrd.cpp.
References AccessByItk_2, mitkCommandLineParser::addArgument(), CreateNewMask(), mitkCommandLineParser::Directory, mitkCommandLineParser::File, image, mitkCommandLineParser::Input, mitk::IOUtil::Load(), mask, MITK_INFO, mitk::PlanarFigureMaskGenerator::New(), mitkCommandLineParser::Output, mitkCommandLineParser::parseArguments(), mitk::IOUtil::Save(), mitkCommandLineParser::setArgumentPrefix(), mitkCommandLineParser::setCategory(), mitkCommandLineParser::setContributor(), mitkCommandLineParser::setDescription(), and mitkCommandLineParser::setTitle().