![]()  | 
  
    SMILX
    1.01
    
   | 
 
Contain all the informations and functions required to register an image. More...
#include <milxQtRegistration.h>
  
 Public Slots | |
| void | registrationCompleted () | 
| The registration is completed.  | |
| void | algoError (QString functionName, QString errorMsg) | 
| The registration and transformations have been done.  | |
Signals | |
| void | done () | 
| The registration and transformations have been done.  | |
| void | error (QString functionName, QString errorMsg) | 
| The registration and transformations have been done.  | |
Public Member Functions | |
| milxQtRegistration (QObject *parent, milxQtImage *imageWindow, milxQtMain *mainW) | |
| The standard constructor.  | |
| milxQtRegistration (QObject *parent, QString, milxQtMain *mainW) | |
| The standard constructor.  | |
| ~milxQtRegistration () | |
| The standard destructor.  | |
| QString | getPath () | 
| Get the path of the file.  | |
| void | setChecked (bool) | 
| Do we have to perform a registration on this image (is the image check in the form)  | |
| void | copyPath (char dest[FILENAME_MAX], QString src) | 
| Copy a path from a QString to a char *.  | |
| bool | isChecked () | 
| Is the image checked (if we have to perform a registration)  | |
| void | setParams (milxQtRegistrationParams) | 
| Set the registration parameters.  | |
| void | setRegType (RegType) | 
| Set the registration type.  | |
| void | setReference (milxQtRegistration *) | 
| Set the reference image.  | |
| void | setOutputFolder (QString) | 
| Set the output folder for the registration.  | |
| bool | isOpened () | 
| Is the image open in SMILi.  | |
| int | startRegistration () | 
| Start the registrationf.  | |
| int | createFiles () | 
| Create the files required for the registration.  | |
| QString | createFile (QString pathtemplate) | 
| Create a file and return the path.  | |
| void | deleteTmpFiles () | 
| Delete the temporary files.  | |
| void | copyAndReplace (QString src, QString dst) | 
| Copy and replace.  | |
| void | copyAndReplace (milxQtImage *src, QString dst) | 
| void | setOpenResults (bool open) | 
| Open the results after the registration.  | |
| milxQtImage * | getImage () | 
| Return the image object for registration.  | |
| QString | getOutputPath () | 
| Return the path of the output file.  | |
| QString | getOutputFolder () | 
| Return the path of the output folder.  | |
| QString | createAtlasFile () | 
| Create the file for the atlas and return the filepath.  | |
| QString | createSimilarityFileAfter () | 
| Create the similarity file containing the similarity after the registration was performed and return the filepath.  | |
| QString | createSimilarityFileBefore () | 
| Create the similarity file containing the similarity after the registration was performed and return the filepath.  | |
| bool | isWorkDone () | 
| Is the registration/deformation field calculation completed.  | |
| QString | getAlgoName () | 
| Return the name of the current algorithm.  | |
| void | setIsRef (bool) | 
| Set the image as the reference.  | |
| void | setComputeSimilarities (bool) | 
| Set if we should compute the similarities.  | |
| bool | isRef () | 
| Is the image the reference image.  | |
| qint64 | getDuration () | 
| Return the duration of the registration in milliseconds.  | |
| void | reset () | 
| Reset the class (It will be like no registration happened)  | |
Public Attributes | |
| milxQtRegistrationParams | params | 
| Parameters for registration.  | |
| milxQtSimilarities | similarities_before | 
| Similarities before the registration.  | |
| milxQtSimilarities | similarities_after | 
| Similarities after the registration.  | |
| milxQtRegistration * | reference | 
| Reference image for the registration.  | |
Protected Member Functions | |
| void | init (QString) | 
| Initialise the class/object with default parameters.  | |
Protected Attributes | |
| milxQtImage * | window | 
| MilxQt window of the image, if the image is already opened in SMILI.  | |
| bool | openedImage | 
| Is the image already opened in SMILI.  | |
| bool | openResults | 
| Do we have to open the results after the registration.  | |
| QString | path | 
| Path of the image.  | |
| QString | outputFolder | 
| Path of the output folder.  | |
| bool | checked | 
| Is the image checked: do we need to perform a registration.  | |
| bool | workDone | 
| Is the registration done.  | |
| bool | isRefImg | 
| Is this image the reference image.  | |
| RegType | type | 
| Type of the registration.  | |
| milxQtRegistrationAlgos * | regAlgos | 
| Class containing the algorithms for the registration.  | |
| milxQtMain * | MainWindow | 
| Main window of SMILI.  | |
| qint64 | startTime | 
| Time start of the registration.  | |
| qint64 | stopTime | 
| Time the registration ended.  | |
| bool | computeSimilarities | 
| Do we have to compute similarities.  | |
Contain all the informations and functions required to register an image.
Definition at line 28 of file milxQtRegistration.h.
 1.8.13