X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.cxx;fp=vv%2FvvMainWindow.cxx;h=ca0f542989b9fb6f715de7b8c483e38554d4c30e;hb=3abd767ea72e82f5f3de805917014a0ae2a71da9;hp=34e66ada5ba799c0ac7d3ad173cc3fed3642236d;hpb=c87aea23e51e5e688cb7754ae570d888ab5445ba;p=clitk.git diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 34e66ad..ca0f542 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -739,7 +739,7 @@ void vvMainWindow::OpenDicom() { std::vector files; - std::cout << "dicomSeriesSelector " << std::endl; + //std::cout << "dicomSeriesSelector " << std::endl; if (dicomSeriesSelector->exec() == QDialog::Accepted) { files = *(dicomSeriesSelector->GetFilenames()); LoadImages(files, vvImageReader::DICOM); @@ -1134,6 +1134,9 @@ void vvMainWindow::ImageInfoChanged() dim += pixelType + ")"; infoPanel->setFileName(image); + std::string creationImageTimeValue("No creation time"); + itk::ExposeMetaData< std::string > (*imageSelected->GetFirstMetaDataDictionary(), "creationImageTime", creationImageTimeValue); + infoPanel->setImageCreationTime(QString(creationImageTimeValue.c_str())); infoPanel->setDimension(dim); infoPanel->setSizePixel(GetVectorIntAsString(inputSize)); infoPanel->setSizeMM(GetVectorDoubleAsString(sizeMM));