Hi,
I am new to DICOM testing. I have used DVTk for testing DCMTK library integrated with our source code.
I picked up a DCM file from web and sent N-SET-RQ (Basic Grayscale Image Box) by changing just Pixel Representation = 1
The DCMTK library throws below error
"cannot update Basic Grayscale Image Box: illegal pixel representation value:"
Question :
1. Changing just the pixel representation = 1 should NOT ideally work as the pixel itself has to be now in Signed Short format right ?
2. What is the procedure to change any DCM file with Unsigned short to Signed short ?
3. Can you give an example copy of DVTk command which can help in testing this ?
Thanks
Signed Short Pixel Representation sample file
Moderator: Moderator Team
-
- Posts: 1
- Joined: Thu, 2018-08-23, 13:55
-
- OFFIS DICOM Team
- Posts: 1444
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Signed Short Pixel Representation sample file
In a Basic Grayscale Image Box N-SET-RQ, Pixel Representation is required to have the value 01. Changing just the pixel representation = 1 should NOT ideally work as the pixel itself has to be now in Signed Short format right ?
(as per the definition of the service in DICOM part 4). DCMTK checks this and reports an error,
because the N-SET-RQ is now malformed.
In brief, you cannot "change any DCM file with Unsigned short to Signed short".2. What is the procedure to change any DCM file with Unsigned short to Signed short ?
If you are looking for valid DICOM images with signed pixel representation, look
for CT images e.g. from GE scanners, these usually have signed pixels.
No. Perhaps anyone else in the forum, or the people in the DVTk forum can help.3. Can you give an example copy of DVTk command which can help in testing this ?
Who is online
Users browsing this forum: Google [Bot] and 1 guest