Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
- ======================================================================-====*/
+ ===========================================================================**/
// vv
#include "vvToolPlastimatch.h"
GetOptionsFromGUI();
// Create the command string
- char *command_string =
+ /*
+ const char *command_string =
"[STAGE]\n"
"xform=bspline\n"
"max_its=30\n"
"grid_spac=100 100 100\n"
"res=4 4 2\n"
;
+ */
// Prepare the registration
/*
*/
// Get warped output and display it
- m_WarpedImage = vvImageFromITK<3, float>(m_WarpedImageITK);
- std::ostringstream osstream;
- osstream << "plm_warped_" << m_InputSlicerManagers[1]->GetFileName() << ".mhd";
- AddImage(m_WarpedImage, osstream.str());
-
- // Get DVF
- DD("TODO get and display DVF");
+ if (m_WarpedImageITK) {
+ m_WarpedImage = vvImageFromITK<3, float>(m_WarpedImageITK);
+ std::ostringstream osstream;
+ osstream << "plm_warped_" << m_InputSlicerManagers[1]->GetFileName() << ".mhd";
+ AddImage(m_WarpedImage, osstream.str());
+
+ // Get DVF
+ DD("TODO get and display DVF");
+ }
+ else {
+ QMessageBox::information(this, "Error", "No result ...");
+ }
// End
QApplication::restoreOverrideCursor();