Fraxinus  18.10
An IGT application
cxVolumeHelpers.cpp File Reference
#include "cxVolumeHelpers.h"
#include <vtkUnsignedCharArray.h>
#include <vtkImageData.h>
#include <vtkPointData.h>
#include <vtkDoubleArray.h>
#include <vtkImageResample.h>
#include <vtkImageClip.h>
#include <vtkImageShiftScale.h>
#include <vtkImageAccumulate.h>
#include <vtkImageLuminance.h>
#include <vtkImageExtractComponents.h>
#include <vtkImageAppendComponents.h>
#include "cxImage.h"
#include "cxUtilHelpers.h"
#include "cxImageTF3D.h"
#include "cxImageLUT2D.h"
#include "cxRegistrationTransform.h"
#include "cxLogger.h"
#include "cxEnumConverter.h"
#include "cxTime.h"
#include "cxCoordinateSystemHelpers.h"
#include "cxPatientModelService.h"

Go to the source code of this file.

Namespaces

 cx
 Namespace for all CustusX production code.
 

Typedefs

typedef vtkSmartPointer< vtkDoubleArray > vtkDoubleArrayPtr
 

Functions

vtkImageDataPtr cx::generateVtkImageData (Eigen::Array3i dim, Vector3D spacing, const unsigned char initValue, int components)
 
vtkImageDataPtr cx::generateVtkImageDataUnsignedShort (Eigen::Array3i dim, Vector3D spacing, const unsigned short initValue, int components)
 
vtkImageDataPtr cx::generateVtkImageDataSignedShort (Eigen::Array3i dim, Vector3D spacing, const short initValue, int components)
 
vtkImageDataPtr cx::generateVtkImageDataDouble (Eigen::Array3i dim, Vector3D spacing, double initValue)
 
void cx::fillShortImageDataWithGradient (vtkImageDataPtr data, int maxValue)
 
ImagePtr cx::createDerivedImage (PatientModelServicePtr dataManager, QString uid, QString name, vtkImageDataPtr raw, ImagePtr parent)
 
ImagePtr cx::convertImageToUnsigned (PatientModelServicePtr dataManager, ImagePtr image, vtkImageDataPtr suggestedConvertedVolume, bool verbose)
 
std::map< std::string, std::string > cx::getDisplayFriendlyInfo (ImagePtr image)
 
std::map< std::string, std::string > cx::getDisplayFriendlyInfo (vtkImageDataPtr image)
 
void cx::printDisplayFriendlyInfo (std::map< std::string, std::string > map)
 
int cx::calculateNumVoxelsWithMaxValue (ImagePtr image)
 Find number of voxels containing max scalar value. More...
 
int cx::calculateNumVoxelsWithMinValue (ImagePtr image)
 Find number of voxels containing min scalar value. More...
 
DoubleBoundingBox3D cx::findEnclosingBoundingBox (std::vector< DataPtr > data, Transform3D qMr)
 
DoubleBoundingBox3D cx::findEnclosingBoundingBox (std::vector< ImagePtr > images, Transform3D qMr)
 
vtkImageDataPtr cx::convertImageDataToGrayScale (vtkImageDataPtr image)
 
vtkImageDataPtr cx::convertFrom4To3Components (vtkImageDataPtr image)
 
vtkImageDataPtr cx::convertImageDataTo8Bit (vtkImageDataPtr image, double windowWidth, double windowLevel)
 Have never been used or tested. Create a test for it. More...
 
void cx::setDeepModified (vtkImageDataPtr image)
 

Typedef Documentation

typedef vtkSmartPointer<vtkDoubleArray> vtkDoubleArrayPtr

Definition at line 38 of file cxVolumeHelpers.cpp.