1 #ifndef MILXQTRegistration_H 2 #define MILXQTRegistration_H 4 #include "milxQtRegistrationParams.h" 5 #include "milxQtRegistration.h" 6 #include "milxQtRegistrationAlgos.h" 7 #include "milxQtMain.h" 62 void setChecked(
bool);
68 void copyPath(
char dest[FILENAME_MAX], QString src);
86 void setRegType(RegType);
98 void setOutputFolder(QString);
110 int startRegistration();
122 QString createFile(QString pathtemplate);
128 void deleteTmpFiles();
134 void copyAndReplace(QString src, QString dst);
135 void copyAndReplace(
milxQtImage *src, QString dst);
141 void setOpenResults(
bool open);
154 QString getOutputPath();
160 QString getOutputFolder();
166 QString createAtlasFile();
173 QString createSimilarityFileAfter();
179 QString createSimilarityFileBefore();
192 QString getAlgoName();
204 void setComputeSimilarities(
bool);
216 qint64 getDuration();
242 void error(QString functionName, QString errorMsg);
251 void registrationCompleted();
257 void algoError(QString functionName, QString errorMsg);
264 void cpp2defCompleted();
270 void similaritiesComputed();
300 #endif // MILXQTRegistration_H milxQtImage * window
MilxQt window of the image, if the image is already opened in SMILI.
Contain all the values of similarity measurement.
Contain all the informations and functions required to register an image.
bool openedImage
Is the image already opened in SMILI.
This class represents the MILX Qt Image Display object using VTK.
bool workDone
Is the registration done.
bool openResults
Do we have to open the results after the registration.
milxQtMain * MainWindow
Main window of SMILI.
RegType type
Type of the registration.
double ncc
Normalized Cross Correlation.
milxQtSimilarities similarities_after
Similarities after the registration.
bool isRefImg
Is this image the reference image.
bool checked
Is the image checked: do we need to perform a registration.
double ssd
Sum Squared Difference.
QString path
Path of the image.
bool computeSimilarities
Do we have to compute similarities.
milxQtRegistrationParams params
Parameters for registration.
qint64 startTime
Time start of the registration.
milxQtRegistration * reference
Reference image for the registration.
milxQtImage * getImage()
Return the image object for registration.
double nmi
Normalize mutual information.
milxQtSimilarities similarities_before
Similarities before the registration.
double lncc
Localy Normalized Cross Correlation.
qint64 stopTime
Time the registration ended.
milxQtRegistrationAlgos * regAlgos
Class containing the algorithms for the registration.
This class represents the MILX Qt Main Window object using Qt.
QString outputFolder
Path of the output folder.