|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
12 #ifndef CXVOLUMEHELPERS_H_
13 #define CXVOLUMEHELPERS_H_
15 #include "cxResourceExport.h"
26 typedef boost::shared_ptr<class Image>
ImagePtr;
27 typedef boost::shared_ptr<class Data>
DataPtr;
37 const unsigned short initValue,
41 const short initValue,
void setDeepModified(vtkImageDataPtr image)
vtkImageDataPtr generateVtkImageDataUnsignedShort(Eigen::Array3i dim, Vector3D spacing, const unsigned short initValue, int components)
Namespace for all CustusX production code.
std::map< std::string, std::string > getDisplayFriendlyInfo(MeshPtr mesh)
ImagePtr convertImageToUnsigned(PatientModelServicePtr dataManager, ImagePtr image, vtkImageDataPtr suggestedConvertedVolume, bool verbose)
int calculateNumVoxelsWithMinValue(ImagePtr image)
Find number of voxels containing min scalar value.
void fillShortImageDataWithGradient(vtkImageDataPtr data, int maxValue)
vtkImageDataPtr generateVtkImageData(Eigen::Array3i dim, Vector3D spacing, const unsigned char initValue, int components)
vtkImageDataPtr generateVtkImageDataSignedShort(Eigen::Array3i dim, Vector3D spacing, const short initValue, int components)
DoubleBoundingBox3D findEnclosingBoundingBox(std::vector< DataPtr > data, Transform3D qMr)
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class Image > ImagePtr
void printDisplayFriendlyInfo(std::map< std::string, std::string > map)
ImagePtr createDerivedImage(PatientModelServicePtr dataManager, QString uid, QString name, vtkImageDataPtr raw, ImagePtr parent)
vtkImageDataPtr convertFrom4To3Components(vtkImageDataPtr image)
int calculateNumVoxelsWithMaxValue(ImagePtr image)
Find number of voxels containing max scalar value.
vtkImageDataPtr convertImageDataTo8Bit(vtkImageDataPtr image, double windowWidth, double windowLevel)
Have never been used or tested. Create a test for it.
vtkImageDataPtr convertImageDataToGrayScale(vtkImageDataPtr image)
vtkImageDataPtr generateVtkImageDataDouble(Eigen::Array3i dim, Vector3D spacing, double initValue)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.