Medical Imaging Interaction Toolkit
2016.11.0
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 17 of file CLBrainMask.cpp.
typedef itk::Image< double, 3 > FloatImageType |
Definition at line 35 of file CLBrainMask.cpp.
typedef itk::Image< unsigned char, 3 > MaskImageType |
Definition at line 36 of file CLBrainMask.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 68 of file CLBrainMask.cpp.
References AccessByItk_3, mitkCommandLineParser::addArgument(), mitkCommandLineParser::InputImage, mitk::IOUtil::LoadImage(), Normalize(), mitkCommandLineParser::OutputFile, 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 40 of file CLBrainMask.cpp.
References mitk::CastToItkImage(), mitk::ImportItkImage(), mitk::New(), and mitk::IOUtil::SaveImage().
Referenced by vtkMitkVolumeTextureMapper3D::ComputePolygons(), mitk::ComputeContourSetNormalsFilter::GenerateData(), vtkMitkOpenGLVolumeTextureMapper3D::GetLightInformation(), main(), mitk::VectorImageMapper2D::Paint(), vtkMitkOpenGLVolumeTextureMapper3D::SetupProgramLocalsForShadingFP(), and itk::AnalyticalDiffusionQballReconstructionImageFilter< TReferenceImagePixelType, TGradientImagePixelType, TOdfPixelType, NOrderL, NrOdfDirections >::ThreadedGenerateData().