12 #ifndef SYNTHETIC_VOLUME_HPP 13 #define SYNTHETIC_VOLUME_HPP 15 #include "cxtestutilities_export.h" 69 sampleUsData(
const std::vector<Transform3D>& planes_rMf,
70 const Eigen::Array2f& pixelSpacing,
71 const Eigen::Array2i& sliceDimension,
73 const double noiseSigma,
74 const unsigned char noiseMean)
const;
79 sampleUsData(
const std::vector<Transform3D>& planes_rMt,
82 const double noiseSigma=0,
83 const unsigned char noiseMean=0)
const;
89 const double noiseSigma=0,
90 const unsigned char noiseMean=0)
const;
95 const Eigen::Array2f& pixelSpacing,
96 const Eigen::Array2i& sliceDimension,
97 const double noiseSigma,
98 const unsigned char noiseMean)
const;
104 virtual unsigned char evaluate(
const Vector3D& p)
const = 0;
111 unsigned char constrainToUnsignedChar(
const int val)
const;
112 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
Namespace for all CustusX production code.