Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#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[]) |
bool ImageVtkDataReferenceCheck | ( | const char * | fname | ) |
Definition at line 43 of file mitkImageTest.cpp.
References filename, mitk::IOUtil::LoadImage(), MITK_TEST_CONDITION_REQUIRED, and MITK_TEST_FAILED_MSG.
Referenced by mitkImageTest().
int mitkImageTest | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 164 of file mitkImageTest.cpp.
References mitk::CastToItkImage(), mitk::Image::CopyMemory, mitk::Equal(), filename, mitk::FillVector3D(), mitk::ImageAccessorBase::GetData(), ImageVtkDataReferenceCheck(), mitk::IOUtil::LoadImage(), mitk::MatrixEqualElementWise(), MITK_ERROR, MITK_INFO, MITK_TEST_BEGIN(), MITK_TEST_CONDITION, MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), MITK_TEST_FAILED_MSG, MITK_TEST_OUTPUT, MITK_WARN, mitkPixelTypeMultiplex3, mitk::ImageTimeSelector::New(), mitk::New(), mitk::PlaneGeometry::New(), mitk::Image::New(), TestRandomPixelAccess(), and mitk::vtk2itk().
void TestRandomPixelAccess | ( | const mitk::PixelType | , |
mitk::Image::Pointer | image, | ||
mitk::Point3D & | point, | ||
mitk::ScalarType & | value | ||
) |
Definition at line 66 of file mitkImageTest.cpp.
References MITK_INFO, MITK_TEST_CONDITION, MITK_TEST_FOR_EXCEPTION_BEGIN, MITK_TEST_FOR_EXCEPTION_END, MITK_WARN, and mitk::New().
Referenced by mitkImageTest().