You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this library in visualisation station DICOM fonctionalities tests. In this context, I try to read some DICOM files with different transfer syntax.
I encounter issues with JPEG_SpectralSelectionNon-Hierarchical_6-8 1.2.840.10008.1.2.4.53
---> I paste the stacktrace :
Unhandled Exception: System.OverflowException: Arithmetic operation resulted in an overflow.
at EvilDICOM.Core.IO.Reading.DICOMBinaryReader.ReadBytes(Int32 count)
at EvilDICOM.Core.IO.Reading.DataReader.ReadLittleEndian(Int32 lengthToRead, DICOMBinaryReader dr, TransferSyntax syntax)
at EvilDICOM.Core.IO.Reading.DICOMElementReader.ReadElementImplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc)
at EvilDICOM.Core.IO.Reading.DICOMElementReader.ReadAllElementsImplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc)
at EvilDICOM.Core.IO.Reading.DICOMElementReader.ReadAllElements(DICOMBinaryReader dr, TransferSyntax syntax, StringEncoding enc)
at EvilDICOM.Core.IO.Reading.DICOMFileReader.Read(String filePath, TransferSyntax trySyntax)
at EvilDICOM.Core.DICOMObject.Read(String filePath, TransferSyntax trySyntax)
at TestDicom.Program.Main(String[] args) in C:\Users\silvan.salgues\Documents\Visual Studio 2015\Projects\TestDicom\TestDicom\Program.cs:line 20
Hi,
I used this library in visualisation station DICOM fonctionalities tests. In this context, I try to read some DICOM files with different transfer syntax.
I encounter issues with JPEG_SpectralSelectionNon-Hierarchical_6-8 1.2.840.10008.1.2.4.53
---> code :
static void Main(string[] args)
{
DICOMObject dcmObject = DICOMObject.Read(args[0]);
foreach (IDICOMElement item in dcmObject.AllElements)
{
Console.WriteLine(item);
}
}
---> I paste the stacktrace :
Unhandled Exception: System.OverflowException: Arithmetic operation resulted in an overflow.
at EvilDICOM.Core.IO.Reading.DICOMBinaryReader.ReadBytes(Int32 count)
at EvilDICOM.Core.IO.Reading.DataReader.ReadLittleEndian(Int32 lengthToRead, DICOMBinaryReader dr, TransferSyntax syntax)
at EvilDICOM.Core.IO.Reading.DICOMElementReader.ReadElementImplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc)
at EvilDICOM.Core.IO.Reading.DICOMElementReader.ReadAllElementsImplicitLittleEndian(DICOMBinaryReader dr, StringEncoding enc)
at EvilDICOM.Core.IO.Reading.DICOMElementReader.ReadAllElements(DICOMBinaryReader dr, TransferSyntax syntax, StringEncoding enc)
at EvilDICOM.Core.IO.Reading.DICOMFileReader.Read(String filePath, TransferSyntax trySyntax)
at EvilDICOM.Core.DICOMObject.Read(String filePath, TransferSyntax trySyntax)
at TestDicom.Program.Main(String[] args) in C:\Users\silvan.salgues\Documents\Visual Studio 2015\Projects\TestDicom\TestDicom\Program.cs:line 20
Any ideas?
I've attached the file.
JPEG_SpectralSelectionNon-Hierarchical_6-8_1.2.840.10008.1.2.4.53.zip
The text was updated successfully, but these errors were encountered: