Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include "time.h"
#include <sstream>
#include <fstream>
#include <mitkIOUtil.h>
#include "mitkCommandLineParser.h"
#include "itkImageRegionIterator.h"
#include <mitkITKImageImport.h>
#include <mitkImageCast.h>
#include <mitkImageAccessByItk.h>
#include <itkLabelStatisticsImageFilter.h>
#include <itkMinimumMaximumImageCalculator.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 | DetectSkull (itk::Image< TPixel, VImageDimension > *itkImage, mitk::Image::Pointer im2, mitk::Image::Pointer mask1, std::string output) |
int | main (int argc, char *argv[]) |
#define mitkCLPolyToNrrd_cpp |
Definition at line 13 of file CLSkullMask.cpp.
typedef itk::Image< double, 3 > FloatImageType |
Definition at line 31 of file CLSkullMask.cpp.
typedef itk::Image< unsigned char, 3 > MaskImageType |
Definition at line 32 of file CLSkullMask.cpp.
|
static |
Definition at line 36 of file CLSkullMask.cpp.
References mitk::CastToItkImage(), mitk::ImportItkImage(), and mitk::IOUtil::Save().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 64 of file CLSkullMask.cpp.
References mitkCommandLineParser::addArgument(), us::any_cast(), mitk::CastToItkImage(), image, mitkCommandLineParser::Image, mitk::ImportItkImage(), mitkCommandLineParser::Input, mask, max(), MITK_INFO, mitkCommandLineParser::parseArguments(), mitk::IOUtil::Save(), mitkCommandLineParser::setArgumentPrefix(), mitkCommandLineParser::setCategory(), mitkCommandLineParser::setContributor(), mitkCommandLineParser::setDescription(), mitkCommandLineParser::setTitle(), and mitkCommandLineParser::StringList.