GDCM is an open source DICOM library. It is meant to deal with DICOM files (as specified in part 10 of the DICOM standard). It offers some compatibility with ACR-NEMA 1.0 & 2.0 files (raw files). It is written in C++ and offer wrapping to the following target languages (via the use of swig): * Python (supported) * C# (testing) * Java (experimental) * PHP (experimental) It attempt to support all possible DICOM image encoding, namely: * RAW * JPEG lossy 8 & 12 bits * JPEG lossless 8, 12 & 16 bits * JPEG 2000 reversible & irreversible * RLE * Deflated (compression at DICOM Dataset level) * JPEG-LS (experimental) * MPEG-2 (not supported for now) GDCM is designed under the XP definition and has a nightly dashboard (CMake/CTest/Dart). Reproducible: Always
Created attachment 168876 [details] sci-libs/gdcm-2.0.9 ebuild sci-libs/gdcm-2.0.9 ebuild made by me.
Steve, thanks for submitting this ebuild! It looks interesting -- how does gdcm compare to dmctk? I'm not sure which of our ebuild maintainers would be likely to adopt this package since it is mainly of interest to those in the medical industry, but I'm assigning it to sci-biology in case they have a medical researcher who is interested. If they do not, then they will reassign this bug to "maintainer-wanted" and I hope you will consider adding this ebuild to sunrise overlay instead, so that it will be available to other users even if it is not popular enough to be in the main gentoo tree http://overlays.gentoo.org/proj/sunrise
you mean dcmtk? I think dcmtk is very old package. I'm using gdcm in my recent research project, and of course i found it's powerful. by supplying python and java bindings, intergated with vtk and itk. I think gdcm is a more powerful tool to me than dcmtk.
Is there a patch missing from the tree? >>> Unpacking gdcm-2.0.9.tar.bz2 to /var/tmp/paludis/sci-libs-gdcm-2.0.9/work tar jxf /usr/portage/distfiles/gdcm-2.0.9.tar.bz2 --no-same-owner * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/local/overlays/wayne/sci-libs/gdcm/files/doxygen-nopdf.patch * ( doxygen-nopdf.patch )
I am the maintainer of gdcm, but never got any info about this package... Anyway what you get for free (compared to dcmtk): - J2K (jpeg2000 thanks to openjpeg) - Part3 Integration with VTK & ITK. As a side note gdcm 2.0.10 is out, and http://gdcm.sourceforge.net/wiki/index.php/Main_Page is deprecated in favor of: http://apps.sourceforge.net/mediawiki/gdcm/index.php?title=Main_Page thanks
BTW, someone should fix the ebuild. It is missing at least: GDCM_BUILD_TESTING:BOOL=OFF CMAKE_BUILD_TYPE:STRING=Release GDCM_USE_SYSTEM_UUID:BOOL=ON GDCM_USE_SYSTEM_OPENJPEG:BOOL=ON And if you do not want PDF doc: GDCM_PDF_DOCUMENTATION:BOOL=OFF thanks
http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Common_questions#I_don.27t_want_to_install_CMake.2C_can_you_send_me_V.24_project_files_.3F that part says a bit about how *interesting* upstream is.
I have updated this to gdcm-2.0.15 adding most of the suggested changes from Mathieu Malterre. I put the ebuild in my gentoo overlay at http://github.com/drescherjm/jmdgentoooverlay/tree/master/sci-libs/gdcm I have briefly tested this with the following use flags enabled: [ebuild N ] sci-libs/gdcm-2.0.15 USE="examples expat jpeg pdf python wxwindows zlib -doc -java -test -uuid -vtk" 0 kB [1] John