some trubles on dcmcjpeg.
Moderator: Moderator Team
some trubles on dcmcjpeg.
hello experts:
I'm trying to convert a dicom file named "ttt" to a jpeg image using the following command without any options:
C:\ttt\bin>dcmcjpeg ttt ttt.jpeg
and i get ttt.jpeg successfully .
to my surprise, maybe this file is not a standard jpeg file,and when i open it ,there is no image that i expect.the image is painted in white。
Must i add options tp the comand and what to be add?
i'm sorry,i'm strange at image compression.
thanks!
gavin
I'm trying to convert a dicom file named "ttt" to a jpeg image using the following command without any options:
C:\ttt\bin>dcmcjpeg ttt ttt.jpeg
and i get ttt.jpeg successfully .
to my surprise, maybe this file is not a standard jpeg file,and when i open it ,there is no image that i expect.the image is painted in white。
Must i add options tp the comand and what to be add?
i'm sorry,i'm strange at image compression.
thanks!
gavin
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
====================================Jörg Riesmeier wrote:I'm sorry but without more details we will not be able to help you.
thanks,here is the processing detail:
C:\aaa\bin>dcmcjpeg -v 111 111.jpeg
reading input file 111
Convert DICOM file to compressed transfer syntax
Output transfer syntax JPEG Lossless, Non-hierarchical, 1st Order Prediction can
be written
creating output file 111.jpeg
Warning: dcfilefo: unknown Version of MetaHeader detected: 0x0101 supported: 0x0
100
conversion successful
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
=========================================Jörg Riesmeier wrote:So, the result is a JPEG compressed DICOM image (not a JPEG image). And where is your problem?
oh, thanks。 now i known the use of dcmcjpeg.
but when i used dcmj2pnm,i failed to get a jpeg file either.
C:\aaa\bin>dcmj2pnm -v 111 111.jpeg
reading DICOM file: 111
preparing pixel data.
disabling VOI window computation
writing frame 1 to 111.jpeg
cleaning up memory.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
==========================================Jörg Riesmeier wrote:I can't see any error message. So, where exactly is your problem with dcmj2pnm?
C:\aaa\bin>dcmj2pnm -v 111 111.jpeg
reading DICOM file: 111
preparing pixel data.
disabling VOI window computation
writing frame 1 to 111.jpeg
cleaning up memory.
=============================
is it wrong here?
disabling VOI window computation
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
I have no idea because nobody from our team ever tested this. What exactly is not working on your system?do the tools not support windows 2003 server os of chinese verson ?
Btw, "disabling VOI window computation" simply means that no VOI window is selected (which is the default). Use e.g. +Wm in order to select an automatic min-max VOI window ...
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: Google [Bot] and 1 guest