INCLUDE_DIRECTORIES(\r
${GDCM_SOURCE_DIR}/jpeg/libijg8\r
#${GDCM_SOURCE_DIR}/jpeg/libijg12 #all files have been renamed, appending 12\r
+ #${GDCM_SOURCE_DIR}/jpeg/ljpg # JPEG lib from xmedcom \r
+ #\r
)\r
\r
SET(libgdcm_la_SOURCES\r
gdcmJpeg2000.cxx\r
gdcmRLE.cxx\r
gdcmParse.cxx\r
- gdcmJpegIdo.cxx\r
+ gdcmJpegIdo.cxx # to be removed\r
)\r
#-----------------------------------------------------------------------------\r
# Why one should not use ADD_DEFINITIONS\r
TARGET_LINK_LIBRARIES(gdcm \r
gdcmijpeg8 \r
gdcmijpeg12\r
+ gdcmjpeg # JPEG lib from xmedcom \r
)\r
ELSE(UNIX)\r
TARGET_LINK_LIBRARIES(gdcm \r
gdcmijpeg8 \r
gdcmijpeg12\r
+ gdcmjpeg\r
Wsock32.lib #doesn't exist on cygwin\r
)\r
ENDIF(UNIX)\r
\r
-#The following is not wroking because when a header file is not found it tries \r
+#The following is not working because when a header file is not found it tries \r
#to find one in the binary dir\r
#INSTALL_FILES(/include .h ${libgdcm_la_SOURCES})\r
#INSTALL_FILES(/include FILES gdcmIdo.h iddcmjpeg.h)\r
libgdcm_la_LIBADD = \
$(top_builddir)/src/jpeg/libijg12/libgdcmijpeg12.la \
- $(top_builddir)/src/jpeg/libijg8/libgdcmijpeg8.la
-
+ $(top_builddir)/src/jpeg/libijg8/libgdcmijpeg8.la \
+ $(top_builddir)/src/jpeg/ljpg/libgdcmjpg.la
libgdcm_la_SOURCES= \
gdcmException.cxx \
* \ingroup gdcmFile
* \brief Reads a 'Run Length Encoded' Dicom encapsulated file
* @param image_buffer destination Address (in caller's memory space)
- * at which the
- * pixel data should be copied
+ * at which the pixel data should be copied
+ *
* @return int acts as a Boolean
*/
// Forget the printf as they will be removed
// as soon as the last Heuristics are checked
+// pb with RLE 16 Bits :
+
+
int
gdcmFile::gdcm_read_RLE_file (void * image_buffer) {
long fragmentBegining; // for ftell, fseek