1 #ifndef MILXQTRegistrationWindow_H 2 #define MILXQTRegistrationWindow_H 4 #include "ui_registrationWindow.h" 5 #include "milxQtRegistrationAdvancedOptions.h" 6 #include "milxQtMain.h" 7 #include "milxQtImage.h" 8 #include "milxQtFile.h" 9 #include "milxQtRegistrationAlgos.h" 10 #include "milxQtRegistration.h" 12 typedef QList<milxQtImage *> QImageList;
156 void writeSimilarities();
184 void referenceComboChange(
int newIndex);
190 void algoComboChange(
int newIndex);
196 void advancedOptionsClicked();
202 void addImageClicked();
208 void selectAllClicked();
214 void unselectAllClicked();
220 void browseBtnClicked();
232 void regError(QString functionName, QString errorMsg);
244 void averageComputed();
251 void createConnections();
253 Ui::dlgRegistrationWindow
ui;
263 #endif // MILXQTRegistrationWindow_H void updateOpenImages()
Update the list of open images in SMILI.
Contain all the informations and functions required to register an image.
bool computeAverage
Do we need to compute the average of the registrations.
QString getDefaultOutputFolder()
Return the default output folder.
void enableUI()
Enable the user interface.
void regError(QString functionName, QString errorMsg)
An error happened during the registration or average function.
milxQtRegistrationParams getParamsDemonItk()
Return the parameters for a Itk Demon registration.
bool workInProgress
Is there any work in progress.
bool isImageInList(QString path)
Is the image already listed in our list of images.
milxQtRegistrationParams getParamsAladinNifti()
Return the parameters for an Nifti Aladin registration.
milxQtRegistrationAlgos * regAlgos
reg algorithm to compute average
void workCompleted()
Everything has been completed.
void updateImageListCombo()
Update the list of images in the combo box.
milxQtRegistrationAdvancedOptions * advancedOptionsWindow
Advanced options window.
void updateParameters()
Update images parameters, set the values of the form to images.
RegType getCurrentAlgo()
Return the current algorithm selected in the combo box.
virtual ~milxQtRegistrationWindow()
The standard destructor.
milxQtRegistrationParams getParamsElastixBSpline()
Return the parameters for a Elastix BSpline registration.
void performRegistrations()
Perform the next registration.
This class is the advanced options form for the registration.
milxQtRegistrationWindow(QWidget *theParent)
The standard constructor.
milxQtRegistrationParams getParamsF3DNifti()
Return the parameters for a Nifti F3D registration.
void setAlgo(RegType regType)
Set the type of algorithm and change the form accordingly (display the correct fields) ...
This class is the registration window/form.
milxQtRegistrationParams getParamsElastixAffine()
Return the parameters for a Elastix Affine registration.
milxQtMain * MainWindow
Main window of SMILIX.
void disableUI()
Disable the user interface.
void addImage(milxQtRegistration *)
Add an image to our list of images.
QString atlasPath
Path to the outputed atlas.
This class represents the MILX Qt Main Window object using Qt.
QList< milxQtRegistration * > images
List of images for the combobox and list of selectable images.
milxQtRegistrationParams getParamsAffineItk()
Return the parameters for a Itk Affine registration.
Ui::dlgRegistrationWindow ui
User interface.
bool openResults
Store if we need to open the results.
void initUI()
The standard constructor.