imageReaderTemp->SetFileName(GlobalFunc::TString2MultiByteString(rawPath).c_str()); =
imageReaderTemp->SetDataScalarTypeToShort(); =
imageReaderTemp->SetFileDimensionality(3);
imageReaderTemp->SetDataExtent(0, m_eperimentalReconInfo.VDimX - 1, 0, m_eperimentalReconInfo.VDimY - 1, 0, m_eperimentalReconInfo.VDimZ - 1);
imageReaderTemp->SetDataSpacing(m_eperimentalReconInfo.voxelX, m_eperimentalReconInfo.voxelY, m_eperimentalReconInfo.voxelZ); =
imageReaderTemp->SetDataOrigin(0.0, 0.0, 0.0); =
imageReaderTemp->Update();
Using VTK9.4 to read files exceeding 2GB, displaying an exception
Generic Warning: In vtkImageReader.cxx, line 275|
|—|—|
File operation failed. row = 0, Tried to Read = 2048, Read = 0, Skip0 = -4096, Skip1 = 4194304, FilePos = -1|