Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkImageTest.cpp File Reference
#include "mitkException.h"
#include "mitkIOUtil.h"
#include "mitkImageGenerator.h"
#include "mitkImagePixelReadAccessor.h"
#include "mitkImageReadAccessor.h"
#include "mitkPixelTypeMultiplex.h"
#include <mitkImage.h>
#include <mitkImageCast.h>
#include <mitkImageDataItem.h>
#include <mitkImageStatisticsHolder.h>
#include <mitkTestingMacros.h>
#include "mitkImageSliceSelector.h"
#include <itkImage.h>
#include <itkMersenneTwisterRandomVariateGenerator.h>
#include <fstream>
#include <vtkImageData.h>

Go to the source code of this file.

Functions

bool ImageVtkDataReferenceCheck (const char *fname)
 
template<class T >
void TestRandomPixelAccess (const mitk::PixelType, mitk::Image::Pointer image, mitk::Point3D &point, mitk::ScalarType &value)
 
int mitkImageTest (int argc, char *argv[])
 

Function Documentation

◆ ImageVtkDataReferenceCheck()

bool ImageVtkDataReferenceCheck ( const char *  fname)

Definition at line 39 of file mitkImageTest.cpp.

References image, MITK_TEST_CONDITION_REQUIRED, and MITK_TEST_FAILED_MSG.

Referenced by mitkImageTest().

◆ mitkImageTest()

◆ TestRandomPixelAccess()

template<class T >
void TestRandomPixelAccess ( const mitk::PixelType  ,
mitk::Image::Pointer  image,
mitk::Point3D point,
mitk::ScalarType value 
)