ultrsaound multiframe storage errors

  • hi,


    Review out ultrasound studies, video clips from Siemens Antares give us this error
    1.


    07/13/2010 10:13:42 AM [USSERVER] ***[CompressJPEGImage]: Error on load after: dcmcjpeg +e1 +un +sr F:\images_01\printer_files\1.2.826.0.1.3680043.2.135.732287.18754656.6.1278987119.640.64.dcm out.dcm)


    The files are save in the printer folder which iI'm not sure should be there


    The dicom ini is set at
    DroppedFileCompression = j1
    IncomingCompression = j1


    The images in the printer_files folder can be imported using efilm of k-pacs.
    They can also be dropped into the conquest GUI without any errors.


    when i try to send it from these 2 viewers to the conquest server I get this error (debug at level 4)
    [USPACS1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 28672
    [USPACS1] Number of Proposed Presentation Contexts: 2
    [USPACS1] Presentation Context 0 "1.2.840.10008.5.1.4.1.1.3.1" 1
    [USPACS1] Presentation Context 1 "1.2.840.10008.5.1.4.1.1.3.1" 1
    [USPACS1] Server Command := 0001
    [USPACS1] Message ID := 0002
    [USPACS1] 0000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.1.3.1"
    [USPACS1] 0000,0100 2 US CommandField 1
    [USPACS1] 0000,0110 2 US MessageID 2
    [USPACS1] 0000,0700 2 US Priority 0
    [USPACS1] 0000,0800 2 US DataSetType 0
    [USPACS1] 0000,1000 56 UI AffectedSOPInstanceU "1.3.12.2.1107.5.5.2.114145.30000010021122565100000000159"
    [USPACS1] Connected by address: 0100007f
    [USPACS1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [USPACS1] 0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1"
    [USPACS1] 0000,0100 2 US CommandField 48
    [USPACS1] 0000,0110 2 US MessageID 7
    [USPACS1] 0000,0800 2 US DataSetType 257
    [USPACS1] 9999,0400 6 UN "silent"
    [USPACS1] ***[CompressJPEGImage]: Error on load after: dcmcjpeg +e1 +un +sr F:\images_01\printer_files\1.2.826.0.1.3680043.2.135.732287.18754656.6.1279005250.203.4.dcm out.dcm)
    [USPACS1] Query Tables: DICOMImages
    [USPACS1] Columns : ObjectFile, DeviceName
    [USPACS1] Where : SOPInstanc = '1.3.12.2.1107.5.5.2.114145.30000010021122565100000000159' AND ImagePat = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145'
    [USPACS1] Order : (null)
    [USPACS1] Query Tables: DICOMImages
    [USPACS1] Columns : SOPInstanc,SOPClassUI,ImageNumbe,ImageDate,ImageTime,EchoNumber,NumberOfFr,AcqDate,AcqTime,ReceivingC,AcqNumber,SliceLocat,SamplesPer,PhotoMetri,Rows,Colums,BitsStored,ImageType,ImageID,ImagePat,SeriesInst
    [USPACS1] Where : SOPInstanc = '1.3.12.2.1107.5.5.2.114145.30000010021122565100000000159' AND ImagePat = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145'
    [USPACS1] Order : (null)
    [USPACS1] Update Table: DICOMImages
    [USPACS1] Updates : SOPInstanc = '1.3.12.2.1107.5.5.2.114145.30000010021122565100000000159', SOPClassUI = '1.2.840.10008.5.1.4.1.1.3.1', ImageNumbe = '11', ImageDate = '20100212', ImageTime = '131130.656000', NumberOfFr = '90', AcqDate = '20100212', AcqTime = '131130.656000', SamplesPer = '3', PhotoMetri = 'YBR_FULL_422', Rows = '600', Colums = '800', BitsStored = '8', ImageType = 'DERIVED\\PRIMARY\\THYROID_DDH\\0001', ImagePat = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145', SeriesInst = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000062', AccessTime = 1279005248, ObjectFile = 'US2010\\20100212_DUMLAO^GABRIEL^B\\1.3.12.2.1107.5.5.2.114145.30000010021122561945300000061\\1.3.12.2.1107.5.5.2.114145.30000010021122561945300000062\\1.3.12.2.1107.5.5.2.114145.30000010021122565100000000159.dcm', DeviceName = 'MAG0'
    [USPACS1] Where : SOPInstanc = '1.3.12.2.1107.5.5.2.114145.30000010021122565100000000159' AND ImagePat = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145'
    [USPACS1] Query Tables: DICOMSeries
    [USPACS1] Columns : SeriesInst,SeriesNumb,SeriesDate,SeriesTime,SeriesDesc,Modality,PatientPos,ContrastBo,Manufactur,ModelName,BodyPartEx,ProtocolNa,StationNam,Institutio,FrameOfRef,SeriesPat,StudyInsta
    [USPACS1] Where : SeriesInst = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000062' AND SeriesPat = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145'
    [USPACS1] Order : (null)
    [USPACS1] Update Table: DICOMSeries
    [USPACS1] Updates : SeriesInst = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000062', SeriesNumb = '1', SeriesDate = '20100212', SeriesTime = '130517.125000', Modality = 'US', Manufactur = 'Siemens Medical Systems - Ultrasound Division', ModelName = 'Antares', StationNam = 'ULTRASOUND', Institutio = 'Davao Doctors Hospital - Ultrasound Dept.', SeriesPat = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145', StudyInsta = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000061', AccessTime = 1279005248
    [USPACS1] Where : SeriesInst = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000062' AND SeriesPat = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145'
    [USPACS1] Query Tables: DICOMStudies
    [USPACS1] Columns : StudyInsta,StudyDate,StudyTime,StudyID,StudyDescr,AccessionN,ReferPhysi,PatientsAg,PatientsWe,StudyModal,PatientNam,PatientBir,PatientSex,PatientID
    [USPACS1] Where : StudyInsta = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000061'
    [USPACS1] Order : (null)
    [USPACS1] Update Table: DICOMStudies
    [USPACS1] Updates : StudyInsta = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000061', StudyDate = '20100212', StudyTime = '130516.953000', StudyID = '1', PatientsAg = '009M', StudyModal = 'US', PatientNam = 'x, PatientBir = '20090430', PatientSex = 'M', PatientID = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145', AccessTime = 1279005248
    [USPACS1] Where : StudyInsta = '1.3.12.2.1107.5.5.2.114145.30000010021122561945300000061'
    [USPACS1] Query Tables: DICOMPatients
    [USPACS1] Columns : PatientID,PatientNam,PatientBir,PatientSex
    [USPACS1] Where : PatientID = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145'
    [USPACS1] Order : (null)
    [USPACS1] Update Table: DICOMPatients
    [USPACS1] Updates : PatientID = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145', PatientNam = 'x', PatientBir = '20090430', PatientSex = 'M', AccessTime = 1279005248
    [USPACS1] Where : PatientID = '10.02.12-13:05:16-STD-1.3.12.2.1107.5.5.2.114145'
    [USPACS1] Written file: F:\images_01\US2010\20100212\1.3.12.2.1107.5.5.2.114145.30000010021122561945300000061\1.3.12.2.1107.5.5.2.114145.30000010021122561945300000062\1.3.12.2.1107.5.5.2.114145.30000010021122565100000000159.dcm
    [USPACS1] UPACS THREAD 2: ENDED AT: Tue Jul 13 15:14:24 2010
    [USPACS1] UPACS THREAD 2: TOTAL RUNNING TIME: 18 SECONDS
    [USPACS1] Connected by address: 0100007f
    [USPACS1] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [USPACS1] 0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1"
    [USPACS1] 0000,0100 2 US CommandField 48
    [USPACS1] 0000,0110 2 US MessageID 7
    [USPACS1] 0000,0800 2 US DataSetType 257
    [USPACS1] 9999,0400 6 UN "silent"


    No errors when configuration set to uncompressed. images are can be view without errors


    2.
    On conquest DGATE (1.4.16alpha3, build Sat Feb 27 17:03:48 2010


    studies are stored without errors, however, when viewed the mutiframe images when viewed are blank.
    only the first frame has the image.


    The dicom ini is set at
    DroppedFileCompression = j1
    IncomingCompression = j1


    without compression same as above blank multiframe when jpeg 2000 is check but set to uncompressed.


    when jpeg2000 not check I get the following message


    [USSERVERV16] Connected by address: 200aa8c0
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.4.51' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.4.50' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.1' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.4.51' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.4.50' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.1' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.4.51' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.4.50' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.1' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.1' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2.1' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [USSERVERV16]
    [USSERVERV16] UPACS THREAD 5: STARTED AT: Tue Jul 13 15:41:59 2010
    [USSERVERV16] *** connection terminated
    [USSERVERV16] UPACS THREAD 5: ENDED AT: Tue Jul 13 15:41:59 2010
    [USSERVERV16] UPACS THREAD 5: TOTAL RUNNING TIME: 0 SECONDS




    Present solution is to collect images from the printer folder and drop to gui with compression set to uncompressed


    any suggestions.


    ajgg

  • Hi,


    IMPORTANT NOTE: 1.14.16alpha 3 does not support jpeg and jpeg2000 (de)compression of frames yet - wait for 1.4.16alpha4.


    1.4.15 uses an external command to change the compression of the files. To that purpose they are first stores in the printer_files folder, so that is normal. This command probably crashes, leaving the file unprocessed:


    dcmcjpeg +e1 +un +sr F:\images_01\printer_files\1.2.826.0.1.3680043.2.135.732287.18754656.6.1279005250.203.4.dcm out.dcm


    Try to run this from the command line and see what eror message occurs.


    Marcel

  • Hi,


    I get this reply after sending the command (dcmcjpeg +e1 +un +sr F:\images_01\printer_files\1.2.826.0.1.3680043.2.135.732287.18754656.6.1279283240.109.14.dcm out.dcm)


    True lossless encoder: photometric interpretation not supported: YBR_FULL_422
    No conversion to transfer syntax JPEG Lossless, Non-hierarchical, 1st Order Prediction possible!


    I believe this is the same problem with another post regarding green ultrasound images.
    IF i drop or resend the images to the server, after configuring it to uncompresssed. they are accepted with no error messages. However, retrieving the images with
    kpacs results in green images. This does not happen when using efilm.



    ajg

  • Hi, again



    Added this in dicom.in as a temporary solution:


    ImportConverters = 1
    ImportConverter0 = ifequal "%V0028,0004","YBR_FULL_422";compression un


    I still get error warning and images are still dropped in the printer_files folder. However, they are also save uncompressed in the dicomserver and
    are now online.
    here is the log file


    07/17/2010 11:15:54 AM [USSERVER] UPACS THREAD 7: STARTED AT: Sat Jul 17 11:15:54 2010
    07/17/2010 11:15:54 AM [USSERVER] A-ASSOCIATE-RQ Packet Dump
    07/17/2010 11:15:54 AM [USSERVER] Calling Application Title : "ANTARES114145 "
    07/17/2010 11:15:54 AM [USSERVER] Called Application Title : "USSERVER "
    07/17/2010 11:15:54 AM [USSERVER] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 262144
    07/17/2010 11:15:54 AM [USSERVER] Number of Proposed Presentation Contexts: 11
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 0 "1.2.840.10008.5.1.4.1.1.7" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 1 "1.2.840.10008.5.1.4.1.1.7" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 2 "1.2.840.10008.5.1.4.1.1.7" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 3 "1.2.840.10008.5.1.4.1.1.6.1" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 4 "1.2.840.10008.5.1.4.1.1.6.1" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 5 "1.2.840.10008.5.1.4.1.1.6.1" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 6 "1.2.840.10008.5.1.4.1.1.3.1" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 7 "1.2.840.10008.5.1.4.1.1.3.1" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 8 "1.2.840.10008.5.1.4.1.1.3.1" 1
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 9 "1.3.12.2.1107.5.9.1" 0
    07/17/2010 11:15:54 AM [USSERVER] Presentation Context 10 "1.2.840.10008.1.20.1" 0
    07/17/2010 11:15:54 AM [USSERVER] Server Command := 0001
    07/17/2010 11:15:54 AM [USSERVER] Message ID := 01b5
    07/17/2010 11:16:00 AM [USSERVER] ***[CompressJPEGImage]: Error on load after: dcmcjpeg +e1 +un +sr F:\images_01\printer_files\1.2.826.0.1.3680043.2.135.732287.18754656.6.1279336556.406.58.dcm out.dcm)
    07/17/2010 11:16:00 AM [USSERVER] Importconverter0.0 executes: ifequal "YBR_FULL_422","YBR_FULL_422"
    07/17/2010 11:16:00 AM [USSERVER] Importconverter0.1: compression to un
    07/17/2010 11:16:04 AM [USSERVER] Written file: F:\images_01\US2010\2010070_XXXXXXXXXXXXXXX\1.3.12.2.1107.5.5.2.114145.30000010070723011378100000085\1.3.12.2.1107.5.5.2.114145.30000010070723011378100000086\1.3.12.2.1107.5.5.2.114145.30000010070723033890600000387.dcm
    07/17/2010 11:16:04 AM [USSERVER] UPACS THREAD 7: ENDED AT: Sat Jul 17 11:16:04 2010
    07/17/2010 11:16:04 AM [USSERVER] UPACS THREAD 7: TOTAL RUNNING TIME: 10 SECONDS



    I still get green images using K-pacs. The built-in kpacs view in the Conquest GUI displays the images correctly.



    ajg

  • I am in the same boat as ajgg, even after trying the latest beta, 1.4.16beta, my ultrasounds multiframe images still get dumped into the 'printer_files' folder. I even have the following rule setup:


    # Importconverters
    ImportConverters = 1
    ImportConverter0 = ifequal "%u","DCMSND"; compression as


    any help will be greatly appreciated!


    Thank you!

  • I have added the following to my dicom.ini as it was not initially there:


    "EnableBuiltInJPEG = 1'


    The US multiframe images are still erroring in the pacstrouble.log file and are getting placed in the 'printer_files' folder.


    Code
    20100908 10:39:41 ***[CompressJPEGImage]: Error on load after: dcmcjpeg +el +un +sr E:\imagedata\images\printer_files\1.2.826.0.1.3680043.2.135.733864.35673984.6.1283960381.0.74.dcm out.dcm)


    I have do have the GUI set to 'Lossless JPEG' if that is of any help.

  • Hi,


    I'm still using version 1.4.15 the dirty solution I was able to come up with at the moment for my problem is


    1. check the box in "enable JPEG support using offis tools" In the conquestdicom server GUI
    and check "uncompressed" then save configuration. make sure server is not service so that the setup is
    not altered by a running dgate program.
    this will increase the list of acceptable presentation in the dgatesop.lst and hopeful one you ultrasound modality can accept.


    2. add the following lines at the end of dicom.ini file
    # this lines with # are comment only below are the importconverter statements


    ImportConverters = 1
    ImportConverter1 = ifequal %v0028,0004,"RGD"; compression CC; ifequal %v0028,0004,"MONOCHROME2"; compression CC
    # these are two logical instructions in one line testing for image formats, then compression only those acceptable formats
    # where CC is the compression you want to use.... replace with J1 or J2 for lossless or J3..J6 for lossy compression.
    # every time an image is sent to the server its format is check and if it is RGB or MONOCHROME2 it will be compressed,
    # the problematic YBR_FULL_422 formatted images will be saved as uncompressed and there should not be any errors
    # your can add more logic if there are other formats which can be compressed in JPEG. hint: check image dicom header 0028,0004.


    hope this helps. I'm also still having problems on YBR_FULL_422 formatted images with 1.4.16beta



    ajgg

  • Now, it works as expected. The US images are no longer placed into the 'Printer_Files' folder any longer, just temporarily and then it moves it out.


    Thank you all for your hard work on getting this beta out!

  • I don't know about your side, but when you upgrade to the beta, make sure that you are replacing the .dll & .exe files in the correct directory that you are running dgate.exe from. I did this to the wrong 'conquest' folder on my side and I was wondering why I was having problems. Do your US studies dump into the 'printer_folder'?

  • hi,


    I double check the files they are all update to 1.4.16beta. The uncompression seem to be the process corrupting the images. Infranviewer is able to display the files correctly. k-pacs shows the log below during import. However, images fail to be viewable after the import. Efilm is able to import the file correctly.


    There might be a discrepancy with the header and the actual image. I"m also confused.


    1.2.840.113680.2.103.33569.996656959.844280\1.2.840.113680.2.103.33569.996656959.844280.1\1.2.840.113680.2.103.33569.996657101.716030.1.1.dcm File is not compressed. Decompression skipped.



    ajgg

Participate now!

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