I need to get the dicom generation time after loading a series of dicom files and I think the dicom tag is 0008|0033. But I couldn’t find a function to solve this.
int main()
{
string OpenPath = "C:\\Users\\26327\\Desktop\\dll4sw\\data\\SE4\\";
vtkSmartPointer<vtkDICOMImageReader> reader =
vtkSmartPointer<vtkDICOMImageReader>::New();
reader->SetDirectoryName(OpenPath.c_str());
reader->Update();
// clinic info
double* PixelSpacing = reader->GetPixelSpacing();
double* DataSpacing = reader->GetDataSpacing();
float* ImageOrientation = reader->GetImageOrientationPatient();
float* Position = reader->GetImagePositionPatient();
}