SMILX  1.01
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
milxQtRegistration Class Reference

Contain all the informations and functions required to register an image. More...

#include <milxQtRegistration.h>

Inheritance diagram for milxQtRegistration:

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.
 
milxQtImagegetImage ()
 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.
 
milxQtRegistrationreference
 Reference image for the registration.
 

Protected Member Functions

void init (QString)
 Initialise the class/object with default parameters.
 

Protected Attributes

milxQtImagewindow
 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.
 
milxQtRegistrationAlgosregAlgos
 Class containing the algorithms for the registration.
 
milxQtMainMainWindow
 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.
 

Detailed Description

Contain all the informations and functions required to register an image.

Definition at line 28 of file milxQtRegistration.h.


The documentation for this class was generated from the following files: