Fraxinus
18.10
An IGT application
|
In-house algorithms and adapters around external ones. More...
Classes | |
class | cx::AlgorithmHelper |
Class with helper functions for algorithms. More... | |
class | cx::CompositeTimedAlgorithm |
class | cx::CompositeSerialTimedAlgorithm |
class | cx::CompositeParallelTimedAlgorithm |
class | cx::ThreadedTimedAlgorithm< T > |
Base class for algorithms that wants to thread and time their execution. T is the return type of the calculated data in the thread. More... | |
class | cx::TimedBaseAlgorithm |
Base class for algorithms that wants to time their execution. More... | |
Functions | |
ImagePtr | cx::resampleImage (PatientModelServicePtr dataManager, ImagePtr image, const Vector3D spacing, QString uid, QString name) |
ImagePtr | cx::resampleImage (PatientModelServicePtr dataManager, ImagePtr image, Transform3D qMd) |
vtkImageDataPtr | cx::cropImage (vtkImageDataPtr input, IntBoundingBox3D cropbox) |
ImagePtr | cx::cropImage (PatientModelServicePtr dataManager, ImagePtr image) |
ImagePtr | cx::duplicateImage (PatientModelServicePtr dataManager, ImagePtr image) |
QDateTime | cx::extractTimestamp (QString text) |
template<class T > | |
std::vector< T > | cx::sortOnAcquisitionTime (std::map< QString, T > input) |
template<class T > | |
std::vector< T > | cx::sortOnGroupsAndAcquisitionTime (std::map< QString, T > input) |
In-house algorithms and adapters around external ones.
cxResource_EXPORT vtkImageDataPtr cx::cropImage | ( | vtkImageDataPtr | input, |
IntBoundingBox3D | cropbox | ||
) |
Return an image that is cropped using its own croppingBox. The image is not added to the data manager nor saved.
Definition at line 107 of file cxImageAlgorithms.cpp.
cxResource_EXPORT ImagePtr cx::cropImage | ( | PatientModelServicePtr | dataManager, |
ImagePtr | image | ||
) |
Return an image that is cropped using its own croppingBox. The image is not added to the data manager nor saved.
Definition at line 125 of file cxImageAlgorithms.cpp.
cxResource_EXPORT ImagePtr cx::duplicateImage | ( | PatientModelServicePtr | dataManager, |
ImagePtr | image | ||
) |
Return an image that is cropped using its own croppingBox. The image is not added to the data manager nor saved.
Definition at line 98 of file cxImageAlgorithms.cpp.
cxResource_EXPORT QDateTime cx::extractTimestamp | ( | QString | text | ) |
Definition at line 147 of file cxImageAlgorithms.cpp.
cxResource_EXPORT ImagePtr cx::resampleImage | ( | PatientModelServicePtr | dataManager, |
ImagePtr | image, | ||
Transform3D | qMd | ||
) |
Return an image that is resampled into space q. The image is not added to the data manager nor saved.
Definition at line 38 of file cxImageAlgorithms.cpp.
cxResource_EXPORT ImagePtr cx::resampleImage | ( | PatientModelServicePtr | dataManager, |
ImagePtr | image, | ||
const Vector3D | spacing, | ||
QString | uid, | ||
QString | name | ||
) |
Return an image that is resampled with a new output spacing. The image is not added to the data manager nor saved.
Definition at line 73 of file cxImageAlgorithms.cpp.
std::vector<T> cx::sortOnAcquisitionTime | ( | std::map< QString, T > | input | ) |
Assume T is DataPtr or a derived class.
Return a vector of data sorted on acquisition time.
Definition at line 56 of file cxImageAlgorithms.h.
std::vector<T> cx::sortOnGroupsAndAcquisitionTime | ( | std::map< QString, T > | input | ) |
Assume T is DataPtr or a derived class.
Return a vector of data sorted on acquisition time.
Definition at line 77 of file cxImageAlgorithms.h.