|
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> | |
| void | Normalize (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 CLBrainMask.cpp.
| typedef itk::Image< double, 3 > FloatImageType |
Definition at line 31 of file CLBrainMask.cpp.
| typedef itk::Image< unsigned char, 3 > MaskImageType |
Definition at line 32 of file CLBrainMask.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 64 of file CLBrainMask.cpp.
References AccessByItk_3, mitkCommandLineParser::addArgument(), mitkCommandLineParser::File, image, mitkCommandLineParser::Image, mitkCommandLineParser::Input, mask, Normalize(), mitkCommandLineParser::Output, mitkCommandLineParser::parseArguments(), mitkCommandLineParser::setArgumentPrefix(), mitkCommandLineParser::setCategory(), mitkCommandLineParser::setContributor(), mitkCommandLineParser::setDescription(), and mitkCommandLineParser::setTitle().
| void Normalize | ( | itk::Image< TPixel, VImageDimension > * | itkImage, |
| mitk::Image::Pointer | im2, | ||
| mitk::Image::Pointer | mask1, | ||
| std::string | output | ||
| ) |
Definition at line 36 of file CLBrainMask.cpp.
References mitk::CastToItkImage(), mitk::ImportItkImage(), and mitk::IOUtil::Save().
Referenced by mitk::ComputeContourSetNormalsFilter::GenerateData(), mitk::ReduceContourSetFilter::GenerateData(), main(), mitk::VectorImageMapper2D::Paint(), mitk::BoundingShapeVtkMapper2D::SetDefaultProperties(), and vtkVolumeTextureMapper3DComputeRGBA().