X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=checkRead.sh;h=b3472e747bd740df26a3dc57648f17727f427636;hb=d80019b40d612dc84f8cec41bd892f13ecb9a75d;hp=e814806dba76ccd7ab5e83421a703a3a02ccb3c5;hpb=aef17e6fb977351140180f532d328f144e2cefee;p=gdcmData.git diff --git a/checkRead.sh b/checkRead.sh index e814806..b3472e7 100644 --- a/checkRead.sh +++ b/checkRead.sh @@ -12,107 +12,97 @@ # #No Swap Info #------------ -gdcmCxxTests testWrite mr176621.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite mr176621.dcm r; affim filein=mr176621.dcm.RAW DIMX=512 DIMY=512 nbit=16 # No Transfert Syntax #-------------------- #Big Endian -gdcmCxxTests testWrite cr172241.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite cr172241.dcm r; affim filein=cr172241.dcm.RAW DIMX=1792 DIMY=2392 nbit=16 zoom=-4 #0008,0200 (image location) wrongly stored #0028,3006 (LUT Data) has a CTX VR -gdcmCxxTests testWrite cr_45031.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite cr_45031.dcm r; affim filein=cr_45031.dcm.RAW DIMX=1670 DIMY=2010 nbit=16 zoom=-4 -gdcmCxxTests testWrite CR-MONO1-10-chest.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CR-MONO1-10-chest.dcm r; affim filein=CR-MONO1-10-chest.dcm.RAW DIMX=440 DIMY=440 nbit=16 -gdcmCxxTests testWrite CT-MONO2-12-lomb-an2.acr2 r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CT-MONO2-12-lomb-an2.acr r; affim filein=CT-MONO2-12-lomb-an2.acr2.RAW DIM=512 nbit=16 -gdcmCxxTests testWrite gdcm-MR-SIEMENS-16.acr1 r; -affim filein=gdcm-MR-SIEMENS-16.acr1.RAW DIMX=256 DIMY=256 nbit=16 +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-MR-SIEMENS-16-1.acr r; +affim filein=gdcm-MR-SIEMENS-16-1.acr.RAW DIMX=256 DIMY=256 nbit=16 -gdcmCxxTests testWrite gdcm-MR-SIEMENS-16.acr2 r; -affim filein=gdcm-MR-SIEMENS-16.acr2.RAW DIMX=512 DIMY=512 nbit=16 +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-MR-SIEMENS-16-2.acr r; +affim filein=gdcm-MR-SIEMENS-16-2.acr.RAW DIMX=512 DIMY=512 nbit=16 -gdcmCxxTests testWrite MR-MONO2-12-an2.acr2 r; -affim filein=MR-MONO2-12-an2.acr2.RAW DIMX=256 DIMY=256 nbit=16 +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite MR-MONO2-12-an2.acr r; +affim filein=MR-MONO2-12-an2.acr.RAW DIMX=256 DIMY=256 nbit=16 -gdcmCxxTests testWrite newACR1000.nema r; # == gdcmMR-SIEMENS-16.acr2 +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite newACR1000.nema r; # == gdcmMR-SIEMENS-16.acr2 affim filein=newACR1000.nema.RAW DIMX=512 DIMY=512 nbit=16 -gdcmCxxTests testWrite oldACR00001.ima r; # == gdcm-MR-SIEMENS.16.acr1 -affim filein=oldACR00001.ima.RAW DIMX=256 DIMY=256 nbit=16 - -gdcmCxxTests testWrite OT-MONO2-8-a7.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite OT-MONO2-8-a7.dcm r; affim filein=OT-MONO2-8-a7.dcm.RAW DIMX=512 DIMY=512 #No Samples Per Pixel #-------------------- -gdcmCxxTests testWrite gdcm-CR-DCMTK-16-NonSamplePerPix.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-CR-DCMTK-16-NonSamplePerPix.dcm r; affim filein=gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.RAW dim=750 nbit=8 #Unnormalized Rectangular LibIDO format image #-------------------------------------------- -gdcmCxxTests testWrite gdcm-ACR-LibIDO.acr r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-ACR-LibIDO.acr r; affim filein=gdcm-ACR-LibIDO.acr.RAW dimx=512 dimy=301 #Bits Allocated =12, Bits Stored=12 #---------------------------------- #MR Philips (once upon a time in Lyon-Sud) -gdcmCxxTests testWrite MR-MONO2-12-angio-an1.acr1 r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite MR-MONO2-12-angio-an1.acr1 r; affim filein=MR-MONO2-12-angio-an1.acr1.RAW dim=256 nbit=16 #RGB #--- -gdcmCxxTests testWrite US.3405.1.dcm r; -echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0" -echo " PhotometricInterpretation=RGB" -affim filein=US.3405.1.dcm.RAW DIMX=768 DIMY=576 nbit=24 -gdcmCxxTests testWrite OT-PAL-8-face.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite OT-PAL-8-face.dcm r; echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1" echo " PhotometricInterpretation=PALETTE COLOR" affim filein=OT-PAL-8-face.dcm.RAW dimx=640 dimy=480 nbit=24 -gdcmCxxTests testWrite 8BitsUncompressedColor.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 8BitsUncompressedColor.dcm r; affim filein=8BitsUncompressedColor.dcm.RAW dimx=800 dimy=535 nbit=24 # Implicit VR - Little Endian #----------------------------- -gdcmCxxTests testWrite CT-MONO2-16-ankle.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CT-MONO2-16-ankle.dcm r; affim filein=CT-MONO2-16-ankle.dcm.RAW DIMX=512 DIMY=512 nbit=16 signe=o -gdcmCxxTests testWrite CT-MONO2-16-ort.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CT-MONO2-16-ort.dcm r; affim filein=CT-MONO2-16-ort.dcm.RAW DIMX=512 DIMY=512 nbit=16 signe=o -gdcmCxxTests testWrite CT-MONO2-8-abdo.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CT-MONO2-8-abdo.dcm r; affim filein=CT-MONO2-8-abdo.dcm.RAW DIMX=512 DIMY=512 -gdcmCxxTests testWrite gdcm-MR-PHILIPS-16.dcm r; -affim filein=gdcm-MR-PHILIPS-16.dcm.RAW DIMX=256 DIMY=256 nbit=16 - -gdcmCxxTests testWrite MR-MONO2-16-head.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite MR-MONO2-16-head.dcm r; affim filein=MR-MONO2-16-head.dcm.RAW dim=256 nbit=16 signe=o -gdcmCxxTests testWrite multiframe1Integris.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite multiframe1Integris.dcm r; affim filein=multiframe1Integris.dcm.RAW dim=1024 nbit=16 zoom=-2 affim filein=multiframe1Integris.dcm.RAW dim=1024 nbit=16 offset=31457280 zoom=-2 -gdcmCxxTests testWrite multiframe2GE.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite multiframe2GE.dcm r; affim filein=multiframe2GE.dcm.RAW dim=512 affim filein=multiframe2GE.dcm.RAW dim=512 offset=14417920 -gdcmCxxTests testWrite irmPhlipsNew1.dcm r; # == gdcm-MR-PHILIPS-16.dcm +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite irmPhlipsNew1.dcm r; # == gdcm-MR-PHILIPS-16.dcm affim DIMX=256 DIMY=256 filein=irmPhlipsNew1.dcm.RAW nbit=16 #avec imagette (icone) -gdcmCxxTests testWrite icone.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite icone.dcm r; affim filein=icone.dcm bypassacr=1 dim=512 nbit=16 offset=18240 affim filein=icone.dcm dim=64 offset=13984 bypassacr=1 affim filein=icone.dcm.RAW dim=512 nbit=16 @@ -125,40 +115,40 @@ affim filein=icone.dcm.RAW dim=512 nbit=16 #Explicit VR - Little Endian #---------------------------- -gdcmCxxTests testWrite CT-MONO2-16-brain.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CT-MONO2-16-brain.dcm r; affim filein=CT-MONO2-16-brain.dcm.RAW DIMX=512 DIMY=512 nbit=16 signe=o # 7 'first level' SeQuences , 140 'second level' SeQuences ?!? -gdcmCxxTests testWrite gdcm-MR-PHILIPS-16-Multi-Seq.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-MR-PHILIPS-16-Multi-Seq.dcm r; affim filein=gdcm-MR-PHILIPS-16-Multi-Seq.dcm.RAW DIMX=128 DIMY=128 nbit=16 PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm 2 -gdcmCxxTests testWrite gdcm-MR-PHILIPS-16-NonRectPix.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-MR-PHILIPS-16-NonRectPix.dcm r; affim filein=gdcm-MR-PHILIPS-16-NonRectPix.dcm.RAW DIMX=160 DIMY=64 nbit=16 -gdcmCxxTests testWrite MR-MONO2-8-16x-heart.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite MR-MONO2-8-16x-heart.dcm r; affim filein=MR-MONO2-8-16x-heart.dcm.RAW DIMX=256 DIMY=256 -gdcmCxxTests testWrite NM-MONO2-16-13x-heart.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite NM-MONO2-16-13x-heart.dcm r; affim filein=NM-MONO2-16-13x-heart.dcm.RAW DIMX=64 DIMY=64 nbit=16 affim filein=NM-MONO2-16-13x-heart.dcm.RAW DIMX=64 DIMY=64 nbit=16 offset=98304 -gdcmCxxTests testWrite sonataMonaco.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite sonataMonaco.dcm r; affim filein=sonataMonaco.dcm.RAW DIMX=256 DIMY=208 nbit=16 #MultiFrame -gdcmCxxTests testWrite US-MONO2-8-8x-execho.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite US-MONO2-8-8x-execho.dcm r; affim filein=US-MONO2-8-8x-execho.dcm.RAW DIMX=128 DIMY=120 affim filein=US-MONO2-8-8x-execho.dcm.RAW DIMX=128 DIMY=120 offset=92160 #RGB -gdcmCxxTests testWrite US-RGB-8-epicard.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite US-RGB-8-epicard.dcm r; echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1" echo " PhotometricInterpretation=RGB" affim filein=US-RGB-8-epicard.dcm.RAW dimx=640 dimy=480 nbit=24 -gdcmCxxTests testWrite US-RGB-8-esopecho.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite US-RGB-8-esopecho.dcm r; echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0" echo " PhotometricInterpretation=RGB" affim filein=US-RGB-8-esopecho.dcm.RAW dimx=256 dimy=120 nbit=24 @@ -167,57 +157,57 @@ affim filein=US-RGB-8-esopecho.dcm.RAW dimx=256 dimy=120 nbit=24 #-------------------------------------------------------------------------- # (JPEG Lossless) -gdcmCxxTests testWrite CT-MONO2-16-chest.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CT-MONO2-16-chest.dcm r; affim filein=CT-MONO2-16-chest.dcm.RAW dimx=512 dimy=400 nbit=16 signe=o -gdcmCxxTests testWrite 012345.002.050.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 012345.002.050.dcm r; affim filein=012345.002.050.dcm.RAW dim=256 nbit=16 -gdcmCxxTests testWrite gdcm-JPEG-LossLess3a.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-JPEG-LossLess3a.dcm r; # -- bug in JPEG fragments affim filein=gdcm-JPEG-LossLess3a.dcm.RAW dim=512 nbit=16 -gdcmCxxTests testWrite XA-MONO2-8-12x-catheter.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite XA-MONO2-8-12x-catheter.dcm r; affim filein=XA-MONO2-8-12x-catheter.dcm.RAW dim=512; affim filein=XA-MONO2-8-12x-catheter.dcm.RAW dim=512 offset=262144 affim filein=XA-MONO2-8-12x-catheter.dcm.RAW dim=512 offset=2883584 -gdcmCxxTests testWrite xa_integris.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite xa_integris.dcm r; echo "a lot of fragments expected here" affim filein=xa_integris.dcm.RAW dim=512 affim filein=xa_integris.dcm.RAW dim=512 offset=13107200 affim filein=xa_integris.dcm.RAW dim=512 offset=19660800 -gdcmCxxTests testWrite 16BitsJpegLosslessGrayScale.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 16BitsJpegLosslessGrayScale.dcm r; affim filein=16BitsJpegLosslessGrayScale.dcm.RAW DIMX=800 DIMY=535 nbit=16 #comming from GE dlx via VTServer -gdcmCxxTests testWrite I9000001.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite I9000001.dcm r; affim filein=I9000001.dcm.RAW dim=512 affim filein=I9000001.dcm.RAW dim=512 offset=7864320 #JPEG Extended (Process 2 & 4) // 16 bits #----------------------------- -gdcmCxxTests testWrite gdcm-JPEG-Extended.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-JPEG-Extended.dcm r; affim filein=gdcm-JPEG-Extended.dcm.RAW dim=512 nbit=16 -gdcmCxxTests testWrite jpeglossy1.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite jpeglossy1.dcm r; affim filein=jpeglossy1.dcm.RAW dim=512 nbit=16 #JPEG Baseline (Process 14) #-------------------------- -gdcmCxxTests testWrite MR-MONO2-12-shoulder.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite MR-MONO2-12-shoulder.dcm r; affim filein=MR-MONO2-12-shoulder.dcm.RAW DIMX=1024 DIMY=1024 nbit=16 #fichier format ecat. -#gdcmCxxTests testWrite imageEcat.ecat r +#/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite imageEcat.ecat r #JPEG Lossy 8 bits #================= #JPEG Baseline (Process 1) #------------------------- # Bracco Files -gdcmCxxTests testWrite US.1.2.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite US.1.2.dcm r; echo "expected : A lot of Fragments (40), nb Frames = 40 ;-)" echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0" echo " PhotometricInterpretation=YBR_FULL_422" @@ -226,7 +216,7 @@ affim filein=US.1.2.dcm.RAW DIMX=768 DIMY=576 nbit=24 offset=13271040 affim filein=US.1.2.dcm.RAW DIMX=768 DIMY=576 nbit=24 offset=39813120 #Sequoia Acusson U11 -gdcmCxxTests testWrite CLIP0001-Sequoia-U11.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CLIP0001-Sequoia-U11.dcm r; echo "Troubles with 0018|6022[SL][Reference Pixel Y(0)] [4294967177] x(7fffffff)" affim filein=CLIP0001-Sequoia-U11.dcm.RAW DIMX=768 DIMY=576 nbit=24 @@ -236,24 +226,24 @@ affim filein=CLIP0001-Sequoia-U11.dcm.RAW DIMX=768 DIMY=576 nbit=24 offset=265 #RLE Lossless #------------- -gdcmCxxTests testWrite canadaAloka.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite canadaAloka.dcm r; echo "expected pixelType=8U SamplesPerPixel=1" echo " PlanarConfiguration=0 PhotometricInterpretation=MONOCHROME2" echo " nb Frames (DIMZ) : 1" affim filein=canadaAloka.dcm.RAW DIMX=608 DIMY=420 -gdcmCxxTests testWrite FMAG0001.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite FMAG0001.dcm r; echo "expected pixelType=8U SamplesPerPixel=3" echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL" echo " nb Frames (DIMZ) : 1" affim filein=FMAG0001.dcm.RAW DIMX=768 DIMY=576 nbit=24 -gdcmCxxTests testWrite QMAG0001.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite QMAG0001.dcm r; echo "expected pixelType=8U SamplesPerPixel=3" echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL" affim filein=QMAG0001.dcm.RAW DIMX=384 DIMY=288 nbit=24; -gdcmCxxTests testWrite US-PAL-8-10x-echo.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite US-PAL-8-10x-echo.dcm r; echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0" echo " PhotometricInterpretation=PALETTE COLOR" echo " nb Frames (DIMZ): 10" @@ -264,11 +254,11 @@ affim filein=US-PAL-8-10x-echo.dcm.RAW DIMX=600 DIMY=430 nbit=24 offset=774000 affim filein=US-PAL-8-10x-echo.dcm.RAW DIMX=600 DIMY=430 nbit=24 offset=1548000 affim filein=US-PAL-8-10x-echo.dcm.RAW DIMX=600 DIMY=430 nbit=24 offset=6966000 -gdcmCxxTests testWrite 8BitsRunLengthGrayScale.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 8BitsRunLengthGrayScale.dcm r; echo "expected : correct Gray image" affim filein=8BitsRunLengthGrayScale.dcm.RAW DIMX=800 DIMY=535 -gdcmCxxTests testWrite 8BitsRunLengthColor.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 8BitsRunLengthColor.dcm r; echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=2" echo " PhotometricInterpretation=PALETTE COLOR" echo "expected correct color image" @@ -276,7 +266,7 @@ affim filein=8BitsRunLengthColor.dcm.RAW DIMX=800 DIMY=535 nbit=24 #RLE 16 bits --> Try to find some more images -gdcmCxxTests testWrite 16BitsRunLengthGrayScale.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 16BitsRunLengthGrayScale.dcm r; echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0" echo " PhotometricInterpretation=MONOCHROME2" affim filein=16BitsRunLengthGrayScale.dcm.RAW DIMX=800 DIMY=535 nbit=16 @@ -285,47 +275,47 @@ affim filein=16BitsRunLengthGrayScale.dcm.RAW DIMX=800 DIMY=535 nbit=16 #-------------------------- #(break xmedcon) -gdcmCxxTests testWrite 00191113.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 00191113.dcm r; affim filein=00191113.dcm.RAW DIMX=512 DIMY=512 affim filein=00191113.dcm.RAW DIMX=512 DIMY=512 offset=786432 -gdcmCxxTests testWrite DermaColorLossLess.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite DermaColorLossLess.dcm r; affim filein=DermaColorLossLess.dcm.RAW DIMX=117 DIMY=181 nbit=24 -gdcmCxxTests testWrite RadBWLossLess.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite RadBWLossLess.dcm r; affim filein=RadBWLossLess.dcm.RAW DIMX=136 DIMY=92 nbit=16 -gdcmCxxTests testWrite Wrist.pap r +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite Wrist.pap r affim filein=Wrist.pap.RAW nbit=16 dimx=720 dimy=360 #Known as BUGGED ! #---------------- #Rectangular old 24 Bits image -gdcmCxxTests testWrite gdcm-RGB-LibIDORect.acr r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-RGB-LibIDORect.acr r; affim filein=gdcm-RGB-LibIDORect.acr.RAW DIMX=400 DIMY=100 nbit=24 #MR GE GENESIS_SIGNA Palo Alto -gdcmCxxTests testWrite DicomSampleNastyGEImage.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite DicomSampleNastyGEImage.dcm r; echo "WAS expected : wrong lenth (13) for 0008|103e" affim filein=DicomSampleNastyGEImage.dcm.RAW DIMX=256 DIMY=256 nbit=16 #MR Philips NTSCAN Hop. Neuro Lyon -gdcmCxxTests testWrite philipsMR-lossy.ima r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite philipsMR-lossy.ima r; echo "WAS expected : 'Bogus Huffman table definition' on philipsMR-lossy.ima" echo "IS expected : 'JERR_BAD_HUFF_TABLE sym 16 (>15)' but the show goes on" echo "breaks xmedcon" affim filein=philipsMR-lossy.ima.RAW dim=512 nbit=16 #CT Siemens Hop. Salengro Lille -gdcmCxxTests testWrite gdcm-JPEG-LossLess3a.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-JPEG-LossLess3a.dcm r; echo "expected : wrong sequence delimiter (b00c,0eb6) at end of pixels"; echo "xmedcon says 'error: Unexpected end of file'" affim filein=gdcm-JPEG-LossLess3a.dcm.RAW dim=512 nbit=16 vtkgdcmViewer gdcm-JPEG-LossLess3a.dcm #CR Philips Thoravision Hop Cardio Lyon -gdcmCxxTests testWrite gdcm-JPEG-LossLessThoravision.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-JPEG-LossLessThoravision.dcm r; echo "expected : 147 fragments,length : 29860 + 145*32760 + 14416" echo "breaks xmedcom, breaks e-film" echo "WAS expected : hashed image -with jLBJpeg-" @@ -333,12 +323,12 @@ echo "IS expected : Seg Fault" affim filein=gdcm-JPEG-LossLessThoravision.dcm.RAW DIMX=1876 DIMY=2076 nbit=16 #MR Picker ST. ANTHONY HOSPITAL -gdcmCxxTests testWrite MR.6799.1.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite MR.6799.1.dcm r; echo "OK; DICOM Image with NO Preamble" affim filein=MR.6799.1.dcm.RAW dim=512 nbit=16 #Segmented Palette Color LUT Data -gdcmCxxTests testWrite gdcm-US-ALOKA-16.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite gdcm-US-ALOKA-16.dcm r; echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0" echo " PhotometricInterpretation=PALETTE COLOR" echo "expected : Gray image since 'Segmented xxx Palette Color LUT Data' not yet taken into account" @@ -349,15 +339,15 @@ vtkgdcmViewer gdcm-US-ALOKA-16.dcm affim dimx=640 dimy=480 filein=gdcm-US-ALOKA-16.dcm.RAW nbit=16 # bugged Siemens 'Leonardo' image -gdcmCxxTests testWrite 8078283Leonardo.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite 8078283Leonardo.dcm r; affim filein=8078283Leonardo.dcm.RAW dim=512 nbit=16 #CT McTwin Elscint C.H.R.U LILLE C.HURIEZ -gdcmCxxTests testWrite MxTwinLossLess.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite MxTwinLossLess.dcm r; affim filein=MxTwinLossLess.dcm.RAW DIMX=512 DIMY=512 nbit=16 # MRI image from VPRO burned CD -gdcmCxxTests testWrite mriThruVPRO.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite mriThruVPRO.dcm r; affim filein=mriThruVPRO.dcm.RAW DIMX=256 DIMY=256 nbit=16 echo "expected : tasteless SHIT !" echo "breaks Siemens Leonardo viewer . JPEG encoding is bugged?" @@ -365,5 +355,5 @@ echo "breaks Siemens Leonardo viewer . JPEG encoding is bugged?" # gdcm made Theralys image # due to H table, a SeQuence is tagged with 0 length # when using gdcmFile::WriteDcmXXX -gdcmCxxTests testWrite fromTheralys.dcm r; +/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite fromTheralys.dcm r; affim filein=fromTheralys.dcm.RAW dim=256 nbit=16