WADO - how to control transfer syntax.

  • Hello.


    I have been trying to use the WADO function, and it works for the Weasis viewer, as long as I have images stored uncompressed.


    I would like to choose the transfer syntax used when sending the images.


    I tryed to change the transfersyntax used by WADO without luck, it only accepts Little endian implicit 1.2.840.10008.1.2 or explicit 1.2.840.10008.1.2.1


    All others I tried, end up with error (I just used the link in IE, if ok it downloads the file, else there is a error.)


    Example: this works.
    http://localhost/cgi-bin/dgate…rSyntax=1.2.840.10008.1.2


    This does not work (only difference the transfer syntax requested at the end)
    http://localhost/cgi-bin/dgate…ax=1.2.840.10008.1.2.4.51


    error is...
    [CONQUESTWEASIS] Warn[CompressJPEGImage]: JPEG changed to lossless (J1) for 16 bits data
    [CONQUESTWEASIS] [recompress]: recompressed with mode = j3 (strip=0)
    [CONQUESTWEASIS] Recompress: cannot rewrite jpeg/rle image in v2 format


    Images are stored in .DCM file uncompressed.


    If images are stored J1 I could not get them in any format.
    Basicly always the error
    [CONQUESTWEASIS] Recompress: cannot rewrite jpeg/rle image in v2 format


    I used filenamesyntax=4 (data is stored in chapter 10 format)


    I am using 1.4.16g


    Any ideas for me?
    Am I doing something wrong, or is this just not supported yet?


    Best regards
    Skrani.

  • Hi Skrani,


    this is a bug, the temporary file has the wrong extension. If you are on linux, you can edit the file yourself: Find:


    ".wado"


    in dgate.cpp and replace it with:


    ".dcm"


    And recompile. Added to buglist.


    Marcel

  • Hello.


    I have been playing with WADO and 1.4.16h on windows (XP SP3)


    Certainly improvement.


    If images are stored uncompressed on disk, it works as I expect, that is if I request image to be transferred uncompressed, it is, and jpeg compressed also works.


    How ever if the images are stored compressed on disk, and they are requested uncompressed with WADO that does not work, they will be compressed.


    Is this normal behaviour or bug?


    Best regards
    Steini.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!