33 #ifndef SYNTHETIC_VOLUME_HPP
34 #define SYNTHETIC_VOLUME_HPP
36 #include "cxtestutilities_export.h"
90 sampleUsData(
const std::vector<Transform3D>& planes_rMf,
91 const Eigen::Array2f& pixelSpacing,
92 const Eigen::Array2i& sliceDimension,
94 const double noiseSigma,
95 const unsigned char noiseMean)
const;
100 sampleUsData(
const std::vector<Transform3D>& planes_rMt,
103 const double noiseSigma=0,
104 const unsigned char noiseMean=0)
const;
110 const double noiseSigma=0,
111 const unsigned char noiseMean=0)
const;
116 const Eigen::Array2f& pixelSpacing,
117 const Eigen::Array2i& sliceDimension,
118 const double noiseSigma,
119 const unsigned char noiseMean)
const;
125 virtual unsigned char evaluate(
const Vector3D& p)
const = 0;
132 unsigned char constrainToUnsignedChar(
const int val)
const;
133 vtkImageDataPtr createEmptyMask(
const Eigen::Array2i& sliceDimension)
const;
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
double calculateMass(cx::ImagePtr image)
virtual void printInfo() const
boost::shared_ptr< class Image > ImagePtr
virtual ~cxSyntheticVolume()
cxSyntheticVolume(Vector3D bounds)
boost::shared_ptr< cxSyntheticVolume > cxSyntheticVolumePtr
cx::Vector3D calculateCentroid(cx::ImagePtr image)
double calculateRMSError(vtkImageDataPtr a, vtkImageDataPtr b)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition of characteristics for an Ultrasound Probe Sector.
virtual Vector3D getBounds()
boost::shared_ptr< class ProcessedUSInputData > ProcessedUSInputDataPtr