-gdcmCxxTests PrintHeader 00191113.dcm
-gdcmCxxTests PrintHeader 012345.002.050.dcm
-gdcmCxxTests PrintHeader 16BitsJpegLosslessGrayScale.dcm
-gdcmCxxTests PrintHeader 16BitsRunLengthGrayScale.dcm
-gdcmCxxTests PrintHeader 16BitsUncompressedGrayScale.dcm
-gdcmCxxTests PrintHeader 24BitsJpegLosslessColor.dcm
-gdcmCxxTests PrintHeader 24BitsJpegLossyColor.dcm
-gdcmCxxTests PrintHeader 24BitsUncompressedColor.dcm
-gdcmCxxTests PrintHeader 3E768EB7.dcmg
-gdcmCxxTests PrintHeader 8078283Leonardo.dcm
-gdcmCxxTests PrintHeader 8BitsJpegLossyGrayScale.dcm
-gdcmCxxTests PrintHeader 8BitsRunLengthColor.dcm
-gdcmCxxTests PrintHeader 8BitsRunLengthGrayScale.dcm
-gdcmCxxTests PrintHeader 8BitsUncompressedColor.dcm
-gdcmCxxTests PrintHeader 8BitsUncompressedGrayScale.dcm
-gdcmCxxTests PrintHeader canadaAloka.dcm
-gdcmCxxTests PrintHeader CLIP0001-Sequoia-U11.dcm
-gdcmCxxTests PrintHeader cr172241.dcm
-gdcmCxxTests PrintHeader cr_45031.dcm
-gdcmCxxTests PrintHeader CR-MONO1-10-chest.dcm
-gdcmCxxTests PrintHeader CT-MONO2-12-lomb-an2.acr2
-gdcmCxxTests PrintHeader CT-MONO2-16-ankle.dcm
-gdcmCxxTests PrintHeader CT-MONO2-16-brain.dcm
-gdcmCxxTests PrintHeader CT-MONO2-16-chest.dcm
-gdcmCxxTests PrintHeader CT-MONO2-16-ort.dcm
-gdcmCxxTests PrintHeader CT-MONO2-8-abdo.dcm
-gdcmCxxTests PrintHeader DermaColorLossLess.dcm
-gdcmCxxTests PrintHeader DicomSampleNastyGEImage.dcm
-gdcmCxxTests PrintHeader FMAG0001.dcm
-gdcmCxxTests PrintHeader fromTheralys.dcm
-gdcmCxxTests PrintHeader gdcm-ACR-LibIDO.acr
-gdcmCxxTests PrintHeader gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
-gdcmCxxTests PrintHeader gdcm-JPEG-Extended.dcm
-gdcmCxxTests PrintHeader gdcm-JPEG-LossLess3a.dcm
-gdcmCxxTests PrintHeader gdcm-JPEG-LossLessThoravision.dcm
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16.dcm
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16-NonRectPix.dcm
-gdcmCxxTests PrintHeader gdcm-MR-SIEMENS-16.acr1
-gdcmCxxTests PrintHeader gdcm-MR-SIEMENS-16.acr2
-gdcmCxxTests PrintHeader gdcm-RGB-LibIDORect.acr
-gdcmCxxTests PrintHeader gdcm-US-ALOKA-16.dcm
-gdcmCxxTests PrintHeader I9000001.dcm
-gdcmCxxTests PrintHeader icone.dcm
-gdcmCxxTests PrintHeader irmPhlipsNew1.dcm
-gdcmCxxTests PrintHeader jpeg16Bits.dcm
-gdcmCxxTests PrintHeader jpeglossles1.dcm
-gdcmCxxTests PrintHeader jpeglossy1.dcm
-gdcmCxxTests PrintHeader jpeglossy2.dcm
-gdcmCxxTests PrintHeader mr176621.dcm
-gdcmCxxTests PrintHeader MR.6799.1.dcm
-gdcmCxxTests PrintHeader mriThruVPRO.dcm
-gdcmCxxTests PrintHeader MR-MONO2-12-an2.acr2
-gdcmCxxTests PrintHeader MR-MONO2-12-angio-an1.acr1
-gdcmCxxTests PrintHeader MR-MONO2-12-shoulder.dcm
-gdcmCxxTests PrintHeader MR-MONO2-16-head.dcm
-gdcmCxxTests PrintHeader MR-MONO2-8-16x-heart.dcm
-gdcmCxxTests PrintHeader multiframe1Integris.dcm
-gdcmCxxTests PrintHeader multiframe2GE.dcm
-gdcmCxxTests PrintHeader MxTwinLossLess.dcm
-gdcmCxxTests PrintHeader newACR1000.nema
-gdcmCxxTests PrintHeader NM-MONO2-16-13x-heart.dcm
-gdcmCxxTests PrintHeader oldACR00001.ima
-gdcmCxxTests PrintHeader OT-MONO2-8-a7.dcm
-gdcmCxxTests PrintHeader OT-PAL-8-face.dcm
-gdcmCxxTests PrintHeader QMAG0001.dcm
-gdcmCxxTests PrintHeader RadBWLossLess.dcm
-gdcmCxxTests PrintHeader sonataMonaco.dcm
-gdcmCxxTests PrintHeader test.acr
-gdcmCxxTests PrintHeader US.1.2.dcm
-gdcmCxxTests PrintHeader US.3405.1.dcm
-gdcmCxxTests PrintHeader US-MONO2-8-8x-execho.dcm
-gdcmCxxTests PrintHeader US-PAL-8-10x-echo.dcm
-gdcmCxxTests PrintHeader US-RGB-8-epicard.dcm
-gdcmCxxTests PrintHeader US-RGB-8-esopecho.dcm
-gdcmCxxTests PrintHeader xa_integris.dcm
-gdcmCxxTests PrintHeader XA-MONO2-8-12x-catheter.dcm
+#You can use this one as following :
+#sh checkPrintDocument.sh | grep "\[OW\]"
+#for checking the occurences of a given 'Value Representation'
+
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 00191113.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 012345.002.050.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 16BitsJpegLosslessGrayScale.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 16BitsRunLengthGrayScale.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 16BitsUncompressedGrayScale.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 24BitsJpegLosslessColor.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 24BitsJpegLossyColor.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 24BitsUncompressedColor.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 3E768EB7.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 8078283Leonardo.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 8BitsJpegLossyGrayScale.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 8BitsRunLengthColor.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 8BitsRunLengthGrayScale.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 8BitsUncompressedColor.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument 8BitsUncompressedGrayScale.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument canadaAloka.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CLIP0001-Sequoia-U11.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument cr172241.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument cr_45031.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CR-MONO1-10-chest.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CT-MONO2-12-lomb-an2.acr2
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CT-MONO2-16-ankle.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CT-MONO2-16-brain.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CT-MONO2-16-chest.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CT-MONO2-16-ort.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument CT-MONO2-8-abdo.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument DermaColorLossLess.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument DicomSampleNastyGEImage.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument FMAG0001.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument fromTheralys.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-ACR-LibIDO.acr
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-JPEG-Extended.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-JPEG-LossLess3a.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-JPEG-LossLessThoravision.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-MR-PHILIPS-16.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-MR-PHILIPS-16-Multi-Seq.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-MR-PHILIPS-16-NonRectPix.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-MR-SIEMENS-16.acr1
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-MR-SIEMENS-16.acr2
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-RGB-LibIDORect.acr
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument gdcm-US-ALOKA-16.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument I9000001.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument icone.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument irmPhlipsNew1.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument jpeg16Bits.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument jpeglossles1.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument jpeglossy1.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument jpeglossy2.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument mr176621.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument MR.6799.1.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument mriThruVPRO.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument MR-MONO2-12-an2.acr2
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument MR-MONO2-12-angio-an1.acr1
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument MR-MONO2-12-shoulder.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument MR-MONO2-16-head.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument MR-MONO2-8-16x-heart.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument multiframe1Integris.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument multiframe2GE.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument MxTwinLossLess.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument newACR1000.nema
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument NM-MONO2-16-13x-heart.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument oldACR00001.ima
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument OT-MONO2-8-a7.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument OT-PAL-8-face.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument QMAG0001.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument RadBWLossLess.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument sonataMonaco.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument test.acr
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument US.1.2.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument US.3405.1.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument US-MONO2-8-8x-execho.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument US-PAL-8-10x-echo.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument US-RGB-8-epicard.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument US-RGB-8-esopecho.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument xa_integris.dcm
+/home/jpr/JUNK/gdcmbin/bin/PrintDocument XA-MONO2-8-12x-catheter.dcm
#
#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.acr r;
-affim filein=CT-MONO2-12-lomb-an2.acr.RAW DIM=512 nbit=16
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests TestWrite CT-MONO2-12-lomb-an2.acr2 r;
+affim filein=CT-MONO2-12-lomb-an2.acr2.RAW DIM=512 nbit=16
-gdcmCxxTests testWrite gdcm-MR-SIEMENS-16-1.acr r;
+/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-2.acr r;
+/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.acr r;
+/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
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests 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.acr r;
-affim filein=MR-MONO2-12-angio-an1.acr.RAW dim=256 nbit=16
+/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;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests 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;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests 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
#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
#--------------------------------------------------------------------------
# (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;
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"
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
#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"
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"
#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
#--------------------------
#(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-"
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"
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?"
# 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
# use :
-../../gdcm/bin/gdcmCxxTests PrintHeader mriThruVPRO.dcm 2 new | more
+../../gdcm/bin/gdcmCxxTests PrintDocument mriThruVPRO.dcm 2 | more
+Kross soucis !
+
+
# Horror Picture Show
# -------------------
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm 2 new # 400 SQ, embedded SQ
+gdcmCxxTests PrintDocument gdcm-MR-PHILIPS-16-Multi-Seq.dcm 2 # 400 SQ, embedded SQ
# with O length sequ
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16-NonRectPix.dcm 2 new # 22 SQ, embedded SQ
+gdcmCxxTests PrintDocument gdcm-MR-PHILIPS-16-NonRectPix.dcm 2 # 22 SQ, embedded SQ
# with O length sequ
-gdcmCxxTests PrintHeader mriThruVPRO.dcm 2 new # 7 SQ ffffffff length
+gdcmCxxTests PrintDocument mriThruVPRO.dcm 2 # 7 SQ ffffffff length
# with O length sequ
-gdcmCxxTests PrintHeader MxTwinLossLess.dcm 2 new # 0088|0200 x(59c) [Icon Image Sequence]
+gdcmCxxTests PrintDocument MxTwinLossLess.dcm 2 # 0088|0200 x(59c) [Icon Image Sequence]
# with O length sequ
-gdcmCxxTests PrintHeader icone.dcm 2 new # SQ ffffffff length
+gdcmCxxTests PrintDocument icone.dcm 2 # SQ ffffffff length
# 0008|2112 x(264) [Source Image Sequence]
# with 130 useless Items (?!)
# 0088|0200 x(362a) [Icon Image Sequence]
# with Item Delimitation Item e00d
# with Sequence Delimitation Item e0dd
-gdcmCxxTests PrintHeader Wrist.pap 2 new # PAPYRUS 3.0 image
+gdcmCxxTests PrintDocument Wrist.pap 2 # PAPYRUS 3.0 image
+gdcmCxxTests PrintDocument cinecard.pap 2 # PAPYRUS 3.0 multiframe
+
# Peacefull images
# ----------------
-gdcmCxxTests PrintHeader canadaAloka.dcm 2 new # 0018|6011 x(2f6) [Sequence of Ultrasound Regions ] ffff
+gdcmCxxTests PrintDocument canadaAloka.dcm 2 # 0018|6011 x(2f6) [Sequence of Ultrasound Regions ] ffff
-gdcmCxxTests PrintHeader CLIP0001-Sequoia-U11.dcm # 0018|6011 [Sequence of Ultrasound Regions ]
+gdcmCxxTests PrintDocument CLIP0001-Sequoia-U11.dcm # 0018|6011 [Sequence of Ultrasound Regions ]
-gdcmCxxTests PrintHeader cr172241.dcm 2 new # 0028|3000 x(344) [Modality LUT Sequence]
+gdcmCxxTests PrintDocument cr172241.dcm 2 # 0028|3000 x(344) [Modality LUT Sequence]
-gdcmCxxTests PrintHeader fromTheralys.dcm 2 new # 0008|1140 x(2f1) [Referenced Image Sequence]
+gdcmCxxTests PrintDocument fromTheralys.dcm 2 # 0008|1140 x(2f1) [Referenced Image Sequence]
# ????
-gdcmCxxTests PrintHeader gdcm-CR-DCMTK-16-NonSamplePerPix.dcm 2 new # 0008|1140 x(39a) [Referenced Image Sequence]
+gdcmCxxTests PrintDocument gdcm-CR-DCMTK-16-NonSamplePerPix.dcm 2 # 0008|1140 x(39a) [Referenced Image Sequence]
# 0008|2112 x(440) [Source Image Sequence]
-gdcmCxxTests PrintHeader gdcm-JPEG-Extended.dcm # ffff 0008|1140 x(39a) [Referenced Image Sequence]
+gdcmCxxTests PrintDocument gdcm-JPEG-Extended.dcm # ffff 0008|1140 x(39a) [Referenced Image Sequence]
# ffff 0008|2112 x(440) [Source Image Sequence]
-gdcmCxxTests PrintHeader gdcm-JPEG-LossLess3a.dcm 2 new # 0008|2112 x(378) [Source Image Sequence]
+gdcmCxxTests PrintDocument gdcm-JPEG-LossLess3a.dcm 2 # 0008|2112 x(378) [Source Image Sequence]
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16.dcm 2 new # 0008|1140 x(33c) [Referenced Image Sequence]
+gdcmCxxTests PrintDocument gdcm-MR-PHILIPS-16.dcm 2 # 0008|1140 x(33c) [Referenced Image Sequence]
-gdcmCxxTests PrintHeader I9000001.dcm 2 new # ffff 0028|6100 x(c0e) [Mask Subtraction Sequence]
+gdcmCxxTests PrintDocument I9000001.dcm 2 # ffff 0028|6100 x(c0e) [Mask Subtraction Sequence]
# ffff 0050|0010 x(c74) [Device Sequence]
-gdcmCxxTests PrintHeader multiframe2GE.dcm 2 new # 0028|6100 x(3e) [Mask Subtraction Sequence]
+gdcmCxxTests PrintDocument multiframe2GE.dcm 2 # 0028|6100 x(3e) [Mask Subtraction Sequence]
# 0050|0010 x(3c) [Device Sequence]
-gdcmCxxTests PrintHeader irmPhlipsNew1.dcm 2 new # 0008|1140 x(33c) [Referenced Image Sequence]
+gdcmCxxTests PrintDocument irmPhlipsNew1.dcm 2 # 0008|1140 x(33c) [Referenced Image Sequence]
-gdcmCxxTests PrintHeader multiframe1Integris.dcm # 0028|3000 x(66c) [Modality LUT Sequence]
+gdcmCxxTests PrintDocument multiframe1Integris.dcm # 0028|3000 x(66c) [Modality LUT Sequence]
-gdcmCxxTests PrintHeader QMAG0001.dcm 2 new # 0008|2112 x(2ac) [Source Image Sequence]
+gdcmCxxTests PrintDocument QMAG0001.dcm 2 # 0008|2112 x(2ac) [Source Image Sequence]
# 0018|6011 x(3b6) [Sequence of Ultrasound Regions ]
-gdcmCxxTests PrintHeader US.1.2.dcm 2 new # 0018|6011 x(4b8) [Sequence of Ultrasound Regions ]
+gdcmCxxTests PrintDocument US.1.2.dcm 2 # 0018|6011 x(4b8) [Sequence of Ultrasound Regions ]
-gdcmCxxTests PrintHeader sonataMonaco.dcm 2 new # 0008|1140 x(35a) [Referenced Image Sequence]
+gdcmCxxTests PrintDocument sonataMonaco.dcm 2 # 0008|1140 x(35a) [Referenced Image Sequence]
-gdcmCxxTests PrintHeader xa_integris.dcm 2 new # 0008|1111 x(32c) [Referenced Performed Procedure Step Sequence]
+gdcmCxxTests PrintDocument xa_integris.dcm 2 # 0008|1111 x(32c) [Referenced Performed Procedure Step Sequence]
# 0029|fd00 x(674) [unkn]
-gdcmCxxTests PrintHeader E00001S03I0015.dcm 2 new # 0008|1111 x(342) [Referenced Performed Procedure Step Sequence] []
+gdcmCxxTests PrintDocument E00001S03I0015.dcm 2 # 0008|1111 x(342) [Referenced Performed Procedure Step Sequence] []
# 0008|1140 x(3ac) [Referenced Image Sequence]
-gdcmCxxTests PrintHeader 3E768EB7.dcm 2 new
+gdcmCxxTests PrintDocument 3E768EB7.dcm 2
#No Swap Info
#------------
-gdcmCxxTests testWrite mr176621.dcm x;
-gdcmCxxTests PrintHeader mr176621.dcm.XDCM 2; .
+/home/jpr/JUNK/gdcmbin/bin/Write mr176621.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument mr176621.dcm.XDCM 2; .
vtkgdcmViewer mr176621.dcm.XDCM; # OK
xmedcon mr176621.dcm.XDCM; # warning: No transfer syntax found
# warning: Tag with uneven length
# ------------------------------------------- BIG SOUCY !!
affimdcm filein=cr172241.dcm zoom=-4;
xmedcon cr172241.dcm; # OK
-gdcmCxxTests testWrite cr172241.dcm r;
+/home/jpr/JUNK/gdcmbin/bin/Write cr172241.dcm r;
affim filein=cr172241.dcm.RAW nbit=16 DIMX=1792 DIMY=2392;
-gdcmCxxTests PrintHeader cr172241.dcm 2; #OK
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument cr172241.dcm 2; #OK
# But ... :
vtkgdcmViewer cr172241.dcm; # breaks (white image) WHITE IMAGE ?!?
# Doesn't break DaVaW ...
-gdcmCxxTests testWrite cr172241.dcm x;
-gdcmCxxTests PrintHeader cr172241.dcm.XDCM 2; #OK
+/home/jpr/JUNK/gdcmbin/bin/Write cr172241.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument cr172241.dcm.XDCM 2; #OK
xmedcon cr172241.dcm.XDCM; # OK Incorrect OB value representation (fixed)
affimdcm filein=cr172241.dcm.XDCM; # OK
vtkgdcmViewer cr172241.dcm.XDCM; # breaks ?!? White image !
vtkgdcmViewer Wrist.pap; # PAPYRUS 3.0 single frame image
-gdcmCxxTests PrintHeader Wrist.pap 2;
-gdcmCxxTests testWrite Wrist.pap x; # OK
-gdcmCxxTests PrintHeader Wrist.pap.XDCM
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument Wrist.pap 2;
+/home/jpr/JUNK/gdcmbin/bin/Write Wrist.pap x; # OK
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument Wrist.pap.XDCM
-gdcmCxxTests testWrite cr_45031.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write cr_45031.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument cr_45031.dcm.XDCM 2;
vtkgdcmViewer cr_45031.dcm.XDCM; #OK
xmedcon cr_45031.dcm.XDCM; #OK
-gdcmCxxTests testWrite CR-MONO1-10-chest.dcm x;
-gdcmCxxTests PrintHeader CR-MONO1-10-chest.dcm.XDCM 2; #OK
+/home/jpr/JUNK/gdcmbin/bin/Write CR-MONO1-10-chest.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument CR-MONO1-10-chest.dcm.XDCM 2; #OK
vtkgdcmViewer CR-MONO1-10-chest.dcm.XDCM; #OK
xmedcon CR-MONO1-10-chest.dcm.XDCM; #OK Incorrect OB value representation (fixed)
-gdcmCxxTests testWrite CT-MONO2-12-lomb-an2.acr2 x;
-gdcmCxxTests PrintHeader CT-MONO2-12-lomb-an2.acr2.XDCM 2; # OK
+/home/jpr/JUNK/gdcmbin/bin/Write CT-MONO2-12-lomb-an2.acr2 x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument CT-MONO2-12-lomb-an2.acr2.XDCM 2; # OK
vtkgdcmViewer CT-MONO2-12-lomb-an2.acr2.XDCM; #OK
xmedcon CT-MONO2-12-lomb-an2.acr2.XDCM; #OK Incorrect OB value representation (fixed)
xmedcon gdcm-MR-SIEMENS-16.acr1; # Original OK
-gdcmCxxTests PrintHeader gdcm-MR-SIEMENS-16.acr1; #OK
-gdcmCxxTests testWrite gdcm-MR-SIEMENS-16.acr1 x;
-gdcmCxxTests PrintHeader gdcm-MR-SIEMENS-16.acr1.XDCM 2;
-vtkgdcmViewer gdcm-MR-SIEMENS-16.acr1.XDCM;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument gdcm-MR-SIEMENS-16-1.acr; #OK
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-MR-SIEMENS-16-1.acr x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument gdcm-MR-SIEMENS-16-1.acr.XDCM 2;
+vtkgdcmViewer gdcm-MR-SIEMENS-16-1.acr.XDCM;
xmedcon gdcm-MR-SIEMENS-16.acr1.XDCM; #breaks error: No images found
xmedcon gdcm-MR-SIEMENS-16.acr2 #original OK
-gdcmCxxTests testWrite gdcm-MR-SIEMENS-16.acr2 x;
-gdcmCxxTests PrintHeader gdcm-MR-SIEMENS-16.acr2.XDCM 2;
-vtkgdcmViewer gdcm-MR-SIEMENS-16.acr2.XDCM; #OK
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-MR-SIEMENS-16-2.acr x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument gdcm-MR-SIEMENS-16-2.acr.XDCM 2;
+vtkgdcmViewer gdcm-MR-SIEMENS-16-2.acr.XDCM; #OK
xmedcon gdcm-MR-SIEMENS-16.acr2.XDCM; #breaks
# --> TODO fix group length for odd groups#Feb 03 18:50:24 log[4419]: warning: No transfer syntax found
#Feb 03 18:50:24 log[4419]: warning: Tag with uneven length
#Feb 03 18:50:24 log[4419]: error: No images found
-gdcmCxxTests testWrite MR-MONO2-12-an2.acr2 x;
-gdcmCxxTests PrintHeader newACR1000.nema.XDCM 2;
+/home/jpr/JUNK/gdcmbin/bin/Write MR-MONO2-12-an2.acr2 x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument newACR1000.nema.XDCM 2;
vtkgdcmViewer MR-MONO2-12-an2.acr2.XDCM;
xmedcon MR-MONO2-12-an2.acr2.XDCM; # OK warning: Incorrect OB value representation
-gdcmCxxTests testWrite newACR1000.nema x; # == gdcmMR-SIEMENS-16.acr2
-gdcmCxxTests PrintHeader newACR1000.nema.XDCM; #OK
+/home/jpr/JUNK/gdcmbin/bin/Write newACR1000.nema x; # == gdcmMR-SIEMENS-16.acr2
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument newACR1000.nema.XDCM; #OK
vtkgdcmViewer newACR1000.nema.XDCM; #OK
xmedcon newACR1000.nema.XDCM; # breaks : no image found
-gdcmCxxTests testWrite oldACR00001.ima x; # == gdcm-MR-SIEMENS.16.acr1
-gdcmCxxTests PrintHeader oldACR00001.ima.XDCM; # OK
+/home/jpr/JUNK/gdcmbin/bin/Write oldACR00001.ima x; # == gdcm-MR-SIEMENS.16.acr1
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument oldACR00001.ima.XDCM; # OK
vtkgdcmViewer oldACR00001.ima.XDCM; #OK
xmedcon oldACR00001.ima.XDCM; # breaks : no image found
-gdcmCxxTests testWrite OT-MONO2-8-a7.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write OT-MONO2-8-a7.dcm x;
vtkgdcmViewer OT-MONO2-8-a7.dcm.XDCM; #OK
xmedcon OT-MONO2-8-a7.dcm.XDCM ; #OK
#No Samples Per Pixel
#--------------------
-gdcmCxxTests testWrite gdcm-CR-DCMTK-16-NonSamplePerPix.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-CR-DCMTK-16-NonSamplePerPix.dcm x;
affim filein=gdcm-CR-DCMTK-16-NonSamplePerPix.dcm;
-gdcmCxxTests PrintHeader gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.XDCM 2; # OK
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.XDCM 2; # OK
vtkgdcmViewer gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.XDCM; #OK
xmedcon gdcm-CR-DCMTK-16-NonSamplePerPix.dcm.XDCM #OK
#Unnormalized Rectangular LibIDO format image
#--------------------------------------------
-gdcmCxxTests testWrite gdcm-ACR-LibIDO.acr x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-ACR-LibIDO.acr x;
vtkgdcmViewer gdcm-ACR-LibIDO.acr.XDCM; # OK
xmedcon gdcm-ACR-LibIDO.acr.XDCM; #inverts x and y (of course)
#Bits Allocated =12, Bits Stored=12
#----------------------------------
#MR Philips (once upon a time in Lyon-Sud)
-gdcmCxxTests testWrite MR-MONO2-12-angio-an1.acr1 x;
+/home/jpr/JUNK/gdcmbin/bin/Write MR-MONO2-12-angio-an1.acr1 x;
vtkgdcmViewer MR-MONO2-12-angio-an1.acr1.XDCM; # shitty image
xmedcon MR-MONO2-12-angio-an1.acr1.XDCM; # pas mieux : warning: Incorrect PixelData length
#RGB
#---
-gdcmCxxTests testWrite US.3405.1.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write US.3405.1.dcm x;
echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0";
echo " PhotometricInterpretation=RGB";
vtkgdcmViewer US.3405.1.dcm.XDCM; #OK
# ------------------------------------------- KING SIZE SOUCY !!
-gdcmCxxTests testWrite OT-PAL-8-face.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write OT-PAL-8-face.dcm x;
echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1";
echo " PhotometricInterpretation=PALETTE COLOR";
-gdcmCxxTests PrintHeaderOT-PAL-8-face.dcm.XDCM; OK
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocumentOT-PAL-8-face.dcm.XDCM; OK
affimdcm filein=OT-PAL-8-face.dcm.XDCM; #OK
vtkgdcmViewer OT-PAL-8-face.dcm.XDCM; # seg fault .!?
xmedcon OT-PAL-8-face.dcm.XDCM; #OK
-gdcmCxxTests testWrite 8BitsUncompressedColor.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 8BitsUncompressedColor.dcm x;
vtkgdcmViewer 8BitsUncompressedColor.dcm.XDCM; # seg fault .!?
xmedcon 8BitsUncompressedColor.dcm.XDCM ; #OK
# Implicit VR - Little Endian
#-----------------------------
-gdcmCxxTests testWrite CT-MONO2-16-ankle.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write CT-MONO2-16-ankle.dcm x;
xmedcon CT-MONO2-16-ankle.dcm.XDCM; #ok
vtkgdcmViewer CT-MONO2-16-ankle.dcm.XDCM; #ok
- gdcmCxxTests PrintHeader CT-MONO2-16-ankle.dcm 2; #ok
+ /home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument CT-MONO2-16-ankle.dcm 2; #ok
-gdcmCxxTests testWrite CT-MONO2-16-ort.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write CT-MONO2-16-ort.dcm x;
vtkgdcmViewer CT-MONO2-16-ort.dcm.XDCM; #OK
xmedcon CT-MONO2-16-ort.dcm.XDCM; #OK
-gdcmCxxTests testWrite CT-MONO2-8-abdo.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write CT-MONO2-8-abdo.dcm x;
vtkgdcmViewer CT-MONO2-8-abdo.dcm.XDCM; #OK
xmedcon CT-MONO2-8-abdo.dcm.XDCM; #OK
-gdcmCxxTests testWrite gdcm-MR-PHILIPS-16.dcm x;
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16.dcm.XDCM 2; #OK
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-MR-PHILIPS-16.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument gdcm-MR-PHILIPS-16.dcm.XDCM 2; #OK
vtkgdcmViewer gdcm-MR-PHILIPS-16.dcm.XDCM; # OK
xmedcon gdcm-MR-PHILIPS-16.dcm.XDCM; # error: No images found
xmedcon gdcm-MR-PHILIPS-16.dcm; # OK with original image
-gdcmCxxTests testWrite MR-MONO2-16-head.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write MR-MONO2-16-head.dcm x;
vtkgdcmViewer MR-MONO2-16-head.dcm.XDCM; #OK
xmedcon MR-MONO2-16-head.dcm.XDCM; #OK
-gdcmCxxTests testWrite multiframe1Integris.dcm x;
-gdcmCxxTests PrintHeader CT-MONO2-8-abdo.dcm.XDCM 2; #OK
+/home/jpr/JUNK/gdcmbin/bin/Write multiframe1Integris.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument CT-MONO2-8-abdo.dcm.XDCM 2; #OK
vtkgdcmViewer multiframe1Integris.dcm.XDCM; #OK
xmedcon multiframe1Integris.dcm.XDCM; #breaks No images found
xmedcon multiframe1Integris.dcm;
-gdcmCxxTests testWrite multiframe2GE.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write multiframe2GE.dcm x;
vtkgdcmViewer multiframe2GE.dcm.XDCM; #OK
#breaks xmedcon
xmedcon multiframe2GE.dcm.XDCM; #breaks No images found
vtkgdcmViewer irmPhlipsNew1.dcm;
-gdcmCxxTests testWrite irmPhlipsNew1.dcm x; # == gdcm-MR-PHILIPS-16.dcm
+/home/jpr/JUNK/gdcmbin/bin/Write irmPhlipsNew1.dcm x; # == gdcm-MR-PHILIPS-16.dcm
vtkgdcmViewer irmPhlipsNew1.dcm.XDCM; #OK
xmedcon irmPhlipsNew1.dcm.XDCM; #breaks : No images found
#avec imagette (icone)
vtkgdcmViewer icone.dcm; #OK
-gdcmCxxTests PrintHeader icone.dcm 2 | grep fffe;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument icone.dcm 2 | grep fffe;
echo "so many 0xfffe ! (274)"
-gdcmCxxTests testWrite icone.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write icone.dcm x;
xmedcon icone.dcm; #original image OK
-gdcmCxxTests PrintHeader icone.dcm.XDCM 2;
-#gdcmCxxTests PrintHeader OK; vtkgdcmViewer OK; breaks xmedcom
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument icone.dcm.XDCM 2;
+#/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument OK; vtkgdcmViewer OK; breaks xmedcom
vtkgdcmViewer icone.dcm.XDCM; # shitty image --> TODO : FIX (once again)icon pb
xmedcon icone.dcm.XDCM; #breaks
#Explicit VR - Little Endian
#----------------------------
-gdcmCxxTests testWrite CT-MONO2-16-brain.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write CT-MONO2-16-brain.dcm x;
vtkgdcmViewer CT-MONO2-16-brain.dcm.XDCM; #OK
xmedcon CT-MONO2-16-brain.dcm.XDCM; #OK
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm 2;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument gdcm-MR-PHILIPS-16-Multi-Seq.dcm 2;
xmedcon gdcm-MR-PHILIPS-16-Multi-Seq.dcm #OK :Skip PHILIPS premature item bug
vtkgdcmViewer gdcm-MR-PHILIPS-16-Multi-Seq.dcm; #OK
-gdcmCxxTests testWrite gdcm-MR-PHILIPS-16-Multi-Seq.dcm x;
-gdcmCxxTests PrintHeader gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM 2; #pixel group missing??!?
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-MR-PHILIPS-16-Multi-Seq.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM 2; #pixel group missing??!?
#vtkgdcmViewer gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM; #shitty image, ofcourse
xmedcon gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM; # works ?!?
vtkgdcmViewer gdcm-MR-PHILIPS-16-Multi-Seq.dcm.XDCM;
-gdcmCxxTests testWrite gdcm-MR-PHILIPS-16-NonRectPix.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-MR-PHILIPS-16-NonRectPix.dcm x;
vtkgdcmViewer gdcm-MR-PHILIPS-16-NonRectPix.dcm.XDCM; #OK
xmedcon gdcm-MR-PHILIPS-16-NonRectPix.dcm.XDCM; #OK warning: Incorrect sequence length
-gdcmCxxTests testWrite MR-MONO2-8-16x-heart.dcm x; #multiframe # equals to ???
+/home/jpr/JUNK/gdcmbin/bin/Write MR-MONO2-8-16x-heart.dcm x; #multiframe # equals to ???
vtkgdcmViewer MR-MONO2-8-16x-heart.dcm.XDCM; #OK
xmedcon MR-MONO2-8-16x-heart.dcm.XDCM; #OK
-gdcmCxxTests testWrite NM-MONO2-16-13x-heart.dcm x; #multiframe
+/home/jpr/JUNK/gdcmbin/bin/Write NM-MONO2-16-13x-heart.dcm x; #multiframe
vtkgdcmViewer NM-MONO2-16-13x-heart.dcm.XDCM; #OK
xmedcon NM-MONO2-16-13x-heart.dcm.XDCM; #OK
-gdcmCxxTests testWrite sonataMonaco.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write sonataMonaco.dcm x;
vtkgdcmViewer sonataMonaco.dcm.XDCM; #OK
xmedcon sonataMonaco.dcm.XDCM; #OK
#MultiFrame
-gdcmCxxTests testWrite US-MONO2-8-8x-execho.dcm x;
-gdcmCxxTests PrintHeader US-MONO2-8-8x-execho.dcm.XDCM;
+/home/jpr/JUNK/gdcmbin/bin/Write US-MONO2-8-8x-execho.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument US-MONO2-8-8x-execho.dcm.XDCM;
vtkgdcmViewer US-MONO2-8-8x-execho.dcm.XDCM; # OK
xmedcon US-MONO2-8-8x-execho.dcm.XDCM; #OK
#RGB
-gdcmCxxTests testWrite US-RGB-8-epicard.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write US-RGB-8-epicard.dcm x;
echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=1";
echo " PhotometricInterpretation=RGB";
vtkgdcmViewer US-RGB-8-epicard.dcm.XDCM; #OK
xmedcon US-RGB-8-epicard.dcm.XDCM; #OK
-gdcmCxxTests testWrite US-RGB-8-esopecho.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write US-RGB-8-esopecho.dcm x;
echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0";
echo " PhotometricInterpretation=RGB",
xmedcon US-RGB-8-esopecho.dcm.XDCM; #OK
#--------------------------------------------------------------------------
# (JPEG Lossless)
-gdcmCxxTests testWrite CT-MONO2-16-chest.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write CT-MONO2-16-chest.dcm x;
vtkgdcmViewer CT-MONO2-16-chest.dcm.XDCM; #OK
xmedcon CT-MONO2-16-chest.dcm.XDCM; #OK
-gdcmCxxTests testWrite 012345.002.050.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 012345.002.050.dcm x;
vtkgdcmViewer 012345.002.050.dcm.XDCM; #OK
xmedcon 012345.002.050.dcm.XDCM; #OK
-gdcmCxxTests testWrite gdcm-JPEG-LossLess3a.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-JPEG-LossLess3a.dcm x;
vtkgdcmViewer gdcm-JPEG-LossLess3a.dcm.XDCM ; #OK
xmedcon gdcm-JPEG-LossLess3a.dcm.XDCM; #OK
-gdcmCxxTests testWrite XA-MONO2-8-12x-catheter.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write XA-MONO2-8-12x-catheter.dcm x;
vtkgdcmViewer XA-MONO2-8-12x-catheter.dcm.XDCM; #OK
-gdcmCxxTests PrintHeader XA-MONO2-8-12x-catheter.dcm.XDCM 2;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument XA-MONO2-8-12x-catheter.dcm.XDCM 2;
xmedcon XA-MONO2-8-12x-catheter.dcm.XDCM; #OK
-gdcmCxxTests testWrite xa_integris.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write xa_integris.dcm x;
echo "a lot of fragments expected here";
vtkgdcmViewer xa_integris.dcm.XDCM #OK
xmedcon xa_integris.dcm.XDCM #OK
-gdcmCxxTests testWrite 16BitsJpegLosslessGrayScale.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 16BitsJpegLosslessGrayScale.dcm x;
vtkgdcmViewer 16BitsJpegLosslessGrayScale.dcm.XDCM #OK
xmedcon 16BitsJpegLosslessGrayScale.dcm.XDCM #OK
#comming from GE dlx via VTServer
vtkgdcmViewer I9000001.dcm;
-gdcmCxxTests testWrite I9000001.dcm x;
-gdcmCxxTests PrintHeader I9000001.dcm.XDCM 2; # pixel group NOT FOUND ??!??
+/home/jpr/JUNK/gdcmbin/bin/Write I9000001.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument I9000001.dcm.XDCM 2; # pixel group NOT FOUND ??!??
#black image
vtkgdcmViewer I9000001.dcm.XDCM;
#no image found
#JPEG Extended (Process 2 & 4) // 16 bits
#-----------------------------
-gdcmCxxTests testWrite gdcm-JPEG-Extended.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-JPEG-Extended.dcm x;
vtkgdcmViewer gdcm-JPEG-Extended.dcm.XDCM; #OK
xmedcon gdcm-JPEG-Extended.dcm.XDCM; #OK
-gdcmCxxTests testWrite jpeglossy1.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write jpeglossy1.dcm x;
vtkgdcmViewer jpeglossy1.dcm.XDCM #OK
xmedcon jpeglossy1.dcm.XDCM #OK
#JPEG Baseline (Process 14)
#--------------------------
-gdcmCxxTests testWrite MR-MONO2-12-shoulder.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write MR-MONO2-12-shoulder.dcm x;
vtkgdcmViewer MR-MONO2-12-shoulder.dcm.XDCM; #OK
xmedcon MR-MONO2-12-shoulder.dcm.XDCM; #OK
#fichier format ecat.
-#gdcmCxxTests testWrite imageEcat.ecat r
+#/home/jpr/JUNK/gdcmbin/bin/Write imageEcat.ecat r
#JPEG Lossy 8 bits
#=================
#JPEG Baseline (Process 1)
#-------------------------
# Bracco Files
-gdcmCxxTests testWrite US.1.2.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write US.1.2.dcm x;
echo "expected : A lot of Fragments (40), nb Frames = 40 ;-)";
echo "expected pixelType=8U SamplesPerPixel=3 PlanarConfiguration=0";
echo " PhotometricInterpretation=YBR_FULL_422";
xmedcon US.1.2.dcm.XDCM; #OK
#Sequoia Acusson U11
-gdcmCxxTests testWrite CLIP0001-Sequoia-U11.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write CLIP0001-Sequoia-U11.dcm x;
vtkgdcmViewer CLIP0001-Sequoia-U11.dcm.XDCM; #OK
xmedcon CLIP0001-Sequoia-U11.dcm.XDCM; #OK
#RLE Lossless
#-------------
-gdcmCxxTests testWrite canadaAloka.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write canadaAloka.dcm x;
echo "expected pixelType=8U SamplesPerPixel=1";
echo " PlanarConfiguration=0 PhotometricInterpretation=MONOCHROME2";
echo " nb Frames (DIMZ) : 1";
vtkgdcmViewer canadaAloka.dcm.XDCM; # OK
xmedcon canadaAloka.dcm.XDCM; #OK
-gdcmCxxTests testWrite jpeglossy1.dcm x; # equal to ???
+/home/jpr/JUNK/gdcmbin/bin/Write jpeglossy1.dcm x; # equal to ???
vtkgdcmViewer jpeglossy1.dcm.XDCM; #OK
xmedcon jpeglossy1.dcm.XDCM; #OK
-gdcmCxxTests testWrite FMAG0001.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write FMAG0001.dcm x;
echo "expected pixelType=8U SamplesPerPixel=3";
echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL";
echo " nb Frames (DIMZ) : 1";
vtkgdcmViewer QMAG0001.dcm; #OK
xmedcon QMAG0001.dcm; #original breaks xmedcon
#warning: Unknown PhotometricInterpretation
-gdcmCxxTests testWrite QMAG0001.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write QMAG0001.dcm x;
echo "expected pixelType=8U SamplesPerPixel=3";
echo " PlanarConfiguration=1 PhotometricInterpretation=YBR_FULL";
vtkgdcmViewer QMAG0001.dcm.XDCM; #OK
xmedcon QMAG0001.dcm.XDCM; #OK
-gdcmCxxTests testWrite US-PAL-8-10x-echo.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write US-PAL-8-10x-echo.dcm x;
echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=0";
echo " PhotometricInterpretation=PALETTE COLOR";
echo " nb Frames (DIMZ): 10";
vtkgdcmViewer US-PAL-8-10x-echo.dcm.XDCM; # SEG FAULT
xmedcon US-PAL-8-10x-echo.dcm.XDCM; #OK
-gdcmCxxTests testWrite 8BitsRunLengthGrayScale.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 8BitsRunLengthGrayScale.dcm x;
echo "expected : correct Gray image";
vtkgdcmViewer 8BitsRunLengthGrayScale.dcm.XDCM; #OK
xmedcon 8BitsRunLengthGrayScale.dcm.XDCM; #OK
-gdcmCxxTests testWrite 8BitsRunLengthColor.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 8BitsRunLengthColor.dcm x;
echo "expected pixelType=8U SamplesPerPixel=1 PlanarConfiguration=2";
echo " PhotometricInterpretation=PALETTE COLOR";
vtkgdcmViewer 8BitsRunLengthColor.dcm.XDCM; # SEG FAULT
#RLE 16 bits --> Try to find some more images
-gdcmCxxTests testWrite 16BitsRunLengthGrayScale.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 16BitsRunLengthGrayScale.dcm x;
echo "expected pixelType=16U SamplesPerPixel=1 PlanarConfiguration=0";
echo " PhotometricInterpretation=MONOCHROME2";
vtkgdcmViewer 16BitsRunLengthGrayScale.dcm.XDCM;
#--------------------------
#(break xmedcon)
xmedcon 00191113.dcm; #No images found
-gdcmCxxTests testWrite 00191113.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 00191113.dcm x;
vtkgdcmViewer 00191113.dcm.XDCM; #OK
xmedcon 00191113.dcm.XDCM; #OK
xmedcon DermaColorLossLess.dcm; #breaks xmedcon : No images found
-gdcmCxxTests testWrite DermaColorLossLess.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write DermaColorLossLess.dcm x;
xmedcon DermaColorLossLess.dcm.XDCM; #breaks xmedcon
#Feb 02 19:33:16 log[2619]: warning: Tag with uneven length
#Feb 02 19:33:16 log[2619]: warning: No transfer syntax found
affimdcm filein=RadBWLossLess.dcm; #OK
vtkgdcmViewer RadBWLossLess.dcm; #OK
xmedcon RadBWLossLess.dcm; # breaks :error: No images found
-gdcmCxxTests testWrite RadBWLossLess.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write RadBWLossLess.dcm x;
vtkgdcmViewer RadBWLossLess.dcm.XDCM; #OK
xmedcon RadBWLossLess.dcm.XDCM; #error: No images found
#Rectangular old 24 Bits image
vtkgdcmViewer gdcm-RGB-LibIDORect.acr; # OK
-gdcmCxxTests testWrite gdcm-RGB-LibIDORect.acr x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-RGB-LibIDORect.acr x;
vtkgdcmViewer gdcm-RGB-LibIDORect.acr.XDCM;
xmedcon gdcm-RGB-LibIDORect.acr.XDCM; # breaks : large Bit Allocated (24)
#TODO transform '24 bit images' into 8 bits + samples per pixel = 3
#MR GE GENESIS_SIGNA Palo Alto
-gdcmCxxTests testWrite DicomSampleNastyGEImage.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write DicomSampleNastyGEImage.dcm x;
echo " expected : warning uneven length (13) for 0008|103e";
vtkgdcmViewer DicomSampleNastyGEImage.dcm.XDCM; #OK
xmedcon DicomSampleNastyGEImage.dcm.XDCM; #OK
#MR Philips NTSCAN Hop. Neuro Lyon
-gdcmCxxTests PrintHeader philipsMR-lossy.ima #OK
+/home/jpr/JUNK/gdcmbin/bin/gdcmTests PrintDocument philipsMR-lossy.ima #OK
xmedcon philipsMR-lossy.ima; #original breaks xmedcon
vtkgdcmViewer philipsMR-lossy.ima; #Original OK
-gdcmCxxTests testWrite philipsMR-lossy.ima x;
+/home/jpr/JUNK/gdcmbin/bin/Write philipsMR-lossy.ima x;
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";
vtkgdcmViewer philipsMR-lossy.ima.XDCM; # BLACK IMAGE
xmedcon philipsMR-lossy.ima.XDCM; #OK
#CT Siemens Hop. Salengro Lille
-gdcmCxxTests testWrite gdcm-JPEG-LossLess3a.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-JPEG-LossLess3a.dcm x;
echo "expected : wrong sequence delimiter (b00c,0eb6) at end of pixels";
echo "xmedcon says 'error: Unexpected end of file'";
vtkgdcmViewer gdcm-JPEG-LossLess3a.dcm.XDCM; #OK; needs 'R' for display
#CR Philips Thoravision Hop Cardio Lyon
affimdcm filein=gdcm-JPEG-LossLessThoravision.dcm; # OK, wrong image as usual
xmedcon gdcm-JPEG-LossLessThoravision.dcm; #original seg faults xmedcon
-gdcmCxxTests testWrite gdcm-JPEG-LossLessThoravision.dcm x; #breaks ;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-JPEG-LossLessThoravision.dcm x; #breaks ;
echo "expected : 147 fragments,length : 29860 + 145*32760 + 14416";
echo "breaks xmedcom, breaks e-film";
echo "WAS expected : hashed image -with jLBJpeg-";
xmedcon gdcm-JPEG-LossLessThoravision.dcm.XDCM; # NOT CHECKED
#MR Picker ST. ANTHONY HOSPITAL
-gdcmCxxTests testWrite MR.6799.1.dcm x; #equal to ???
+/home/jpr/JUNK/gdcmbin/bin/Write MR.6799.1.dcm x; #equal to ???
echo "OK; DICOM Image with NO Preamble";
vtkgdcmViewer MR.6799.1.dcm.XDCM; #OK
xmedcon MR.6799.1.dcm.XDCM; #OK
#Segmented Palette Color LUT Data
xmedcon gdcm-US-ALOKA-16.dcm; #breaks # Missing CLUT
vtkgdcmViewer gdcm-US-ALOKA-16.dcm3; #OK
-gdcmCxxTests testWrite gdcm-US-ALOKA-16.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write gdcm-US-ALOKA-16.dcm x;
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";
#Feb 03 13:40:19 log[26999]: error: No images found
# bugged Siemens 'Leonardo' image
-gdcmCxxTests testWrite 8078283Leonardo.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write 8078283Leonardo.dcm x;
xmedcon 8078283Leonardo.dcm.XDCM; #OK
#CT McTwin Elscint C.H.R.U LILLE C.HURIEZ
xmedcon MxTwinLossLess.dcm; #breaks No images found
vtkgdcmViewer MxTwinLossLess.dcm; #OK
- gdcmCxxTests testWrite MxTwinLossLess.dcm x;
+ /home/jpr/JUNK/gdcmbin/bin/Write MxTwinLossLess.dcm x;
vtkgdcmViewer MxTwinLossLess.dcm.XDCM; #OK
xmedcon MxTwinLossLess.dcm.XDCM #breaks
# MRI image from VPRO burned CD
vtkgdcmViewer mriThruVPRO.dcm; # Tasteless SHIT
xmedcon mriThruVPRO.dcm; # pas mieux
-gdcmCxxTests testWrite mriThruVPRO.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write mriThruVPRO.dcm x;
vtkgdcmViewer mriThruVPRO.dcm.XDCM;
echo "expected : tasteless SHIT !"
echo "breaks Siemens Leonardo viewer . JPEG encoding is bugged?"
# due to H table, a SeQuence is tagged with 0 length
# when using gdcmFile::WriteDcmXXX
xmedcon fromTheralys.dcm; # Original breaks xmedcon
-gdcmCxxTests testWrite fromTheralys.dcm x;
+/home/jpr/JUNK/gdcmbin/bin/Write fromTheralys.dcm x;
vtkgdcmViewer fromTheralys.dcm.XDCM; # OK
xmedcon fromTheralys.dcm.XDCM; # OK