|
| Sinogram () |
|
| Sinogram (const Image< T > anImage) |
|
| Sinogram (unsigned int aWidth, unsigned int aHeight, unsigned int aNumberOfSlices=1) |
|
Image< T > | getProjectionSet () const |
|
Image< T > | art (double aFirstAngle, double anAngleStep, unsigned int aNumberOfIterations=0, const char *aDirectory=0, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)=0) const |
|
Image< T > | mart (double aFirstAngle, double anAngleStep, unsigned int aNumberOfIterations=0, const char *aDirectory=0, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)=0) const |
|
Image< T > | sirt (double aFirstAngle, double anAngleStep, unsigned int aNumberOfIterations=0, const char *aDirectory=0, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)=0) const |
|
Image< T > | simpleBackProjection (double aFirstAngle, double anAngleStep, const char *aDirectorye=0, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)=0) const |
|
Image< T > | filteredBackProjection (double aFirstAngle, double anAngleStep, const char *aFilterType="hamming", float aScalingFactor=1.0, const char *aDirectory=0, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)=0) const |
|
Image< T > | art (double aFirstAngle, double anAngleStep, unsigned int aNumberOfIterations, const std::string &aDirectory, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)) const |
|
Image< T > | mart (double aFirstAngle, double anAngleStep, unsigned int aNumberOfIterations, const std::string &aDirectory, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)) const |
|
Image< T > | sirt (double aFirstAngle, double anAngleStep, unsigned int aNumberOfIterations, const std::string &aDirectory, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)) const |
|
Image< T > | simpleBackProjection (double aFirstAngle, double anAngleStep, const std::string &aDirectory, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)) const |
|
Image< T > | filteredBackProjection (double aFirstAngle, double anAngleStep, const std::string &aFilterType, float aScalingFactor, const std::string &aDirectory, void(*aCallback)(const Image< T > *, const Image< T > *, const Image< T > *)) const |
|
void | makeBlank (const T &aDefaultColour=0) |
| Replace all the pixels of an image with a default value. More...
|
|
Image | getROI (unsigned int i, unsigned int j, unsigned int k, unsigned int aWidth, unsigned int aHeight, unsigned int aDepth) const |
| Compute a region of interest (ROI). More...
|
|
void | setPixel (unsigned int i, unsigned int j, unsigned int k, T aValue) |
| Set a pixel. More...
|
|
T & | getPixel (unsigned int i, unsigned int j, unsigned int k=0) |
| Accessor on a pixel value. More...
|
|
const T & | getPixel (unsigned int i, unsigned int j, unsigned int k=0) const |
| Accessor on a pixel value. More...
|
|
T & | getPixelValue (unsigned int i, unsigned int j, unsigned int k=0) |
| Accessor on a pixel value. More...
|
|
const T & | getPixelValue (unsigned int i, unsigned int j, unsigned int k=0) const |
| Accessor on a pixel value. More...
|
|
VEC3 | getPixelPosition (unsigned int i, unsigned int j, unsigned int k=0) const |
| Accessor on a pixel position. More...
|
|
T & | operator[] (unsigned anIndex) |
|
const T & | operator[] (unsigned anIndex) const |
|
T & | operator() (unsigned int i, unsigned int j, unsigned int k) |
|
const T & | operator() (unsigned int i, unsigned int j, unsigned int k) const |
|
void | destroy () |
| Release the memory. More...
|
|
T * | getRawData () |
| Accessor on the raw data. More...
|
|
const T * | getRawData () const |
| Accessor on the raw data. More...
|
|
unsigned int | getWidth () const |
| Number of pixels along the horizontal axis. More...
|
|
unsigned int | getHeight () const |
| Number of pixels along the vertical axis. More...
|
|
unsigned int | getDepth () const |
| Number of pixels along the Z axis. More...
|
|
void | setSpacing (const VEC3 &aPixelSize) |
|
void | setSpacing (const double &aPixelWidth, const double &aPixelHeight=0.0, const double &aPixelDepth=0.0) |
|
const VEC3 & | getSpacing () const |
|
T | getMinValue () const |
| Compute the minimum pixel value in the image. More...
|
|
T | getMinValue (unsigned int aSliceID) const |
| Compute the minimum pixel value in a given slice. More...
|
|
T | getMaxValue () const |
| Compute the maximum pixel value in the image. More...
|
|
T | getMaxValue (unsigned int aSliceID) const |
| Compute the maximum pixel value in a given slice. More...
|
|
Image | shiftScaleFilter (double aShiftValue, double aScaleValue, bool aRunOnGPUFlag=true) const |
|
Image< unsigned char > | threshold (const T &aLowerThreshold, const T &aUpperThreshold, unsigned char anInValue, unsigned char anOutValue, bool aRunOnGPUFlag=true) const |
|
Image< unsigned char > | threshold (const T &aThreshold, unsigned char aValueIn=1, unsigned char aValueOut=0) const |
|
Image< unsigned char > | threshold (const T &aLowerThreshold, const T &aUpperThreshold, unsigned char aValueIn=1, unsigned char aValueOut=0) const |
|
Image< T > | convolution1D (const std::vector< float > &aKernel) const |
|
Image< T > | convolution2D (const Image< float > &aKernel) const |
|
Image< T > | convolution2D (const Image< double > &aKernel) const |
|
Image< unsigned char > | opening (unsigned int aRadius) const |
|
Image< unsigned char > | closing (unsigned int aRadius) const |
|
Image< float > | getIsoTropic () const |
|
Image< float > | antiAliasBinaryImageFilter (double aMaximumRMSChange, unsigned int aNumberOfIterations, double aVariance) const |
|
Image | constantPadFilter (const T &aPadValue) const |
|
Image | normalised () const |
| Normalise the image between 0 and 1. More...
|
|
Image | normalized () const |
| Normalize the image between 0 and 1. More...
|
|
void | load (const char *aFileName) |
|
void | load (const std::string &aFileName) |
|
void | loadUsingITK (const char *aFileName) |
|
void | loadUsingITK (const std::string &aFileName) |
|
void | loadSeries (const char *aPattern, int aFirstSliceIndex, int aLastSliceIndex, int anIncrementIndex=1) |
|
void | loadSeries (const std::string &aPattern, int aFirstSliceIndex, int aLastSliceIndex, int anIncrementIndex=1) |
|
void | loadDicomSeries (const char *aDirectory) |
|
void | loadDicomSeries (const std::string &aDirectory) |
|
void | loadASCII (const char *aFileName) |
|
void | loadASCII (const std::string &aFileName) |
|
void | loadASCII (const char *aFileName, unsigned int aWidth, unsigned int aHeight, unsigned int aDepth, const VEC3 &aVoxelSize) |
|
void | loadASCII (const std::string &aFileName, unsigned int aWidth, unsigned int aHeight, unsigned int aDepth, const VEC3 &aVoxelSize) |
|
void | loadMHD (const char *aFileName) |
|
void | loadMHD (const std::string &aFileName) |
|
void | loadMHA (const char *aFileName) |
|
void | loadMHA (const std::string &aFileName) |
|
unsigned int | sizeOf (const char *anElementType) const |
|
unsigned int | sizeOf (const std::string &anElementType) const |
|
void | loadRAW (const char *aFileName, unsigned int aWidth, unsigned int aHeight, unsigned int aNumberOfSlices=1, bool aChangeEndianessFlag=false, const char *anElementType=0) |
|
void | loadRAW (const std::string &aFileName, unsigned int aWidth, unsigned int aHeight, unsigned int aNumberOfSlices=1, bool aChangeEndianessFlag=false, const std::string &anElementType="") |
|
void | save (const char *aFileName, bool anInvertLUTFlag=false, const char *aComment="", bool useDeflateCompressionIfPossible=false) const |
| Save the image in a file. More...
|
|
void | save (const std::string &aFileName, bool anInvertLUTFlag=false, const std::string &aComment="", bool useDeflateCompressionIfPossible=false) const |
| Save the image in a file. More...
|
|
void | savePGM (const char *aFileName) const |
| Save the image in a PGM file. More...
|
|
void | savePGM (const std::string &aFileName) const |
| Save the image in a PGM file. More...
|
|
void | saveRaw (const char *aFileName, bool useDeflateCompressionIfPossible) const |
| Save the image in a Raw file. More...
|
|
void | saveRaw (const std::string &aFileName, bool useDeflateCompressionIfPossible) const |
| Save the image in a Raw file. More...
|
|
void | saveRAW (const char *aFileName, bool useDeflateCompressionIfPossible) const |
| Save the image in a Raw file. More...
|
|
void | saveRAW (const std::string &aFileName, bool useDeflateCompressionIfPossible) const |
| Save the image in a Raw file. More...
|
|
void | saveASCII (const char *aFileName) const |
| Save the image in an ASCII file. More...
|
|
void | saveASCII (const std::string &aFileName) const |
| Save the image in an ASCII file. More...
|
|
void | saveMHD (const char *aFileName, bool useDeflateCompressionIfPossible=false) const |
| Save the image in a MHD+RAW file. More...
|
|
void | saveMHD (const std::string &aFileName, bool useDeflateCompressionIfPossible=false) const |
| Save the image in a MHD+RAW file. More...
|
|
void | saveMHA (const char *aFileName, bool useDeflateCompressionIfPossible=false) const |
| Save the image in a MHA+RAW file. More...
|
|
void | saveMHA (const std::string &aFileName, bool useDeflateCompressionIfPossible=false) const |
| Save the image in a MHA+RAW file. More...
|
|
void | saveDCM (const char *aFileName, bool anInvertLUTFlag=false, const char *aComment="") const |
| Save the image in a DICOM file. More...
|
|
void | saveDCM (const std::string &aFileName, bool anInvertLUTFlag=false, const std::string &aComment="") const |
| Save the image in a DICOM file. More...
|
|
void | saveTIFF (const char *aFileName, bool anInvertLUTFlag=false) const |
| Save the image in a TIFF file. More...
|
|
void | saveTIFF (const std::string &aFileName, bool anInvertLUTFlag=false) const |
| Save the image in a TIFF file. More...
|
|
void | saveUsingITK (const char *aFileName, bool useDeflateCompressionIfPossible=false) const |
| Save the image in a file using ITK. More...
|
|
void | saveUsingITK (const std::string &aFileName, bool useDeflateCompressionIfPossible=false) const |
| Save the image in a file using ITK. More...
|
|
bool | operator== (const Image< T > &anImage) const |
| Operator Equal to. More...
|
|
bool | operator!= (const Image< T > &anImage) const |
| Operator Not equal to. More...
|
|
Image | operator+ (const Image< T > &anImage) const |
| Addition operator. Add anImage. More...
|
|
Image | operator+ (T aValue) const |
| Addition operator. Add aValue to every pixel of the image. More...
|
|
Image | operator- (const Image< T > &anImage) const |
| Subtraction operator. Add anImage. More...
|
|
Image | operator- (T aValue) const |
| Subtraction operator. Subtract aValue to every pixel of the image. More...
|
|
Image | operator* (const Image< T > &anImage) const |
| Multiplication operator. Add anImage. More...
|
|
Image | operator* (T aValue) const |
| Multiplication operator. Multiply every pixel of the image by aValue. More...
|
|
Image | operator/ (const Image< T > &anImage) const |
| Division operator. Add anImage. More...
|
|
Image | operator/ (T aValue) const |
| Division operator. Divide every pixel of the image by aValue. More...
|
|
Image< T > & | operator+= (const Image< T > &anImage) |
| Addition assignment operator. Add anImage. More...
|
|
Image< T > & | operator+= (T aValue) |
| Addition operator. Add aValue to every pixel of the image. More...
|
|
Image< T > & | operator-= (const Image< T > &anImage) |
| Subraction assignment operator. Add anImage. More...
|
|
Image< T > & | operator-= (T aValue) |
| Subtraction operator. Subtract aValue to every pixel of the image. More...
|
|
Image< T > & | operator*= (const Image< T > &anImage) |
| Multiplication assignment operator. Add anImage. More...
|
|
Image< T > & | operator*= (T aValue) |
| Multiplication operator. Multiply every pixel of the image by aValue. More...
|
|
Image< T > & | operator/= (const Image< T > &anImage) |
| Division assignment operator. Add anImage. More...
|
|
Image< T > & | operator/= (T aValue) |
| Division operator. Divide every pixel of the image by aValue. More...
|
|
Image | operator! () const |
| Negation operator. Compute the negative of the current image. More...
|
|
Image< T > | abs () const |
|
Image< T > | log () const |
|
Image< T > | flipVertically () const |
|
Image< T > | flipHorizontally () const |
|
double | getSum () const |
|
double | getAverage () const |
|
double | getVariance () const |
|
double | getStandardDeviation () const |
|
double | computeSAE (const Image< T > &anImage) const |
|
double | computeMAE (const Image< T > &anImage) const |
|
double | computeSSE (const Image< T > &anImage) const |
|
double | computeMSE (const Image< T > &anImage) const |
|
double | computeRMSE (const Image< T > &anImage) const |
|
double | computeNCC (const Image< T > &anImage) const |
|
gVirtualXRay::FFT< T > | getFFT () const |
|
Image< T > | transpose () const |
|
Image< T > | resize (unsigned int aNewWidth, unsigned int aNewHeightunsigned, unsigned int aNewNumberOfSlices) const |
|
Image< T > | rotate (float anAngleInDegrees) const |
|
Image< T > | setCanvasSize (unsigned int aNewWidth, unsigned int aNewHeight, unsigned int aNewNumberOfSlices) const |
|
gVirtualXRay::Sinogram< T > | radonTransform (double aFirstAngle, double anAngleStep, double aLastAngle) const |
|
PolygonMesh | marchingCubes (const T &aFirstThresholdValue, const T &aSecondThresholdValue=0, bool aTwoThresholdFlag=false, unsigned char aVerboseLevel=0) const |
|
void | convertVoxelsToCubes (std::map< T, PolygonMesh > &aPolygonMeshSet, T aThreshold=-1000, unsigned char aVerboseLevel=0) const |
| Convert every voxel into a cube. More...
|
|
Image< T > | convertHU2mu (double anEnergy) const |
|
void | allocateHostMemory () |
|
void | transferHostToDevice () |
|
void | transferDeviceToHost () |
|
void | destroyOpenGLTexture () |
|
unsigned int | getTextureId () const |
|