Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkIntensityProfile.cpp File Reference
#include <itkLinearInterpolateImageFunction.h>
#include <itkNearestNeighborInterpolateImageFunction.h>
#include <itkPolyLineParametricPath.h>
#include <itkWindowedSincInterpolateImageFunction.h>
#include <mitkImageAccessByItk.h>
#include <mitkImagePixelReadAccessor.h>
#include <mitkPixelTypeMultiplex.h>
#include "mitkIntensityProfile.h"

Go to the source code of this file.

Functions

template<class T >
static void ReadPixel (const PixelType &, Image::Pointer image, const itk::Index< 3 > &index, ScalarType *returnValue)
 
static IntensityProfile::Pointer ComputeIntensityProfile (Image::Pointer image, itk::PolyLineParametricPath< 3 >::Pointer path)
 
template<class TInputImage >
static itk::InterpolateImageFunction< TInputImage >::Pointer CreateInterpolateImageFunction (InterpolateImageFunction::Enum interpolator)
 
template<class TPixel , unsigned int VImageDimension>
static void ComputeIntensityProfile (itk::Image< TPixel, VImageDimension > *image, itk::PolyLineParametricPath< 3 >::Pointer path, unsigned int numSamples, InterpolateImageFunction::Enum interpolator, IntensityProfile::Pointer intensityProfile)
 
static IntensityProfile::Pointer ComputeIntensityProfile (Image::Pointer image, itk::PolyLineParametricPath< 3 >::Pointer path, unsigned int numSamples, InterpolateImageFunction::Enum interpolator)
 
static itk::PolyLineParametricPath< 3 >::Pointer CreatePathFromPlanarFigure (BaseGeometry *imageGeometry, PlanarFigure *planarFigure)
 
static void AddPointToPath (const BaseGeometry *imageGeometry, const Point3D &point, itk::PolyLineParametricPath< 3 >::Pointer path)
 
static itk::PolyLineParametricPath< 3 >::Pointer CreatePathFromPoints (BaseGeometry *imageGeometry, const Point3D &startPoint, const Point3D &endPoint)
 

Function Documentation

static void AddPointToPath ( const BaseGeometry imageGeometry,
const Point3D point,
itk::PolyLineParametricPath< 3 >::Pointer  path 
)
static

Definition at line 204 of file mitkIntensityProfile.cpp.

References mitk::BaseGeometry::WorldToIndex().

Referenced by CreatePathFromPoints().

static IntensityProfile::Pointer ComputeIntensityProfile ( Image::Pointer  image,
itk::PolyLineParametricPath< 3 >::Pointer  path 
)
static
template<class TPixel , unsigned int VImageDimension>
static void ComputeIntensityProfile ( itk::Image< TPixel, VImageDimension > *  image,
itk::PolyLineParametricPath< 3 >::Pointer  path,
unsigned int  numSamples,
InterpolateImageFunction::Enum  interpolator,
IntensityProfile::Pointer  intensityProfile 
)
static

Definition at line 141 of file mitkIntensityProfile.cpp.

static IntensityProfile::Pointer ComputeIntensityProfile ( Image::Pointer  image,
itk::PolyLineParametricPath< 3 >::Pointer  path,
unsigned int  numSamples,
InterpolateImageFunction::Enum  interpolator 
)
static
static itk::PolyLineParametricPath<3>::Pointer CreatePathFromPlanarFigure ( BaseGeometry imageGeometry,
PlanarFigure planarFigure 
)
static
static itk::PolyLineParametricPath<3>::Pointer CreatePathFromPoints ( BaseGeometry imageGeometry,
const Point3D startPoint,
const Point3D endPoint 
)
static

Definition at line 215 of file mitkIntensityProfile.cpp.

References AddPointToPath(), and mitk::New().

Referenced by mitk::ComputeIntensityProfile().

template<class T >
static void ReadPixel ( const PixelType ,
Image::Pointer  image,
const itk::Index< 3 > &  index,
ScalarType returnValue 
)
static