DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Mon, 2018-02-26, 02:28

All times are UTC + 1 hour


Search found 9 matches
Search these results:

Author Message

 Forum: DCMTK - General   Topic: byte array to DicomImage

 Post subject: byte array to DicomImage
Posted: Thu, 2017-06-15, 13:48 

Replies: 1
Views: 458


Hello, great software. My question is how does one create a DicomImage object from a byte array? This byte array contains a dcm file read from the filesystem. The intention is to return the processed image to some java code with createJavaAWTBitmap. Now for example I already have the DcmInputBufferS...

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Re: Android installation
Posted: Wed, 2017-05-10, 10:24 

Replies: 14
Views: 2783


Jan Schlamelcher wrote:
I am sorry, then I still do not understand. How does your project use the DCMTK libraries without C++ source code that links to them?

Well, it doesn't yet. I thought that the header files located in the include directory will be linked to the libraries during the cmake build process.

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Re: Android installation
Posted: Wed, 2017-05-10, 08:30 

Replies: 14
Views: 2783


I see, so we talked about different things the whole time. The CMake Exports step ist for including DCMTK in your own C++ Android project. If this is not what you want, please clarify instead what is. If you "simply" want to use the dcmtk command line tools, you can copy them to the devic...

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Re: Android installation
Posted: Wed, 2017-05-10, 06:54 

Replies: 14
Views: 2783


As I did not create any additional cpp files (executables or libs), I defined the executable like this: add_executable(android "") set_target_properties(android PROPERTIES LINKER_LANGUAGE CXX) SET(DCMTK_DIR "C:/Program Files (x86)/DCMTK/lib/cmake/dcmtk") find_package(DCMTK CONFIG...

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Re: Android installation
Posted: Tue, 2017-05-09, 08:23 

Replies: 14
Views: 2783


Modify your CMakeLists.txt to use find_package() in CONFIG mode, as explained here . - find_package(DCMTK) + find_package(DCMTK CONFIG) Thank you. However I am still not familiar with cmake builds. CmakeLists.txt looks like this: SET(DCMTK_DIR "C:/Program Files (x86)/DCMTK/lib/cmake/dcmtk"...

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Re: Android installation
Posted: Mon, 2017-05-08, 11:59 

Replies: 14
Views: 2783


Ok, I built dcmtk from the latest commit and used ndk r12b. Got an error when building with make in the #ifdef HAVE_GETPWNAM_R block (the method was missing I suppose), but rectified it by commenting it out. Now I can't seem to be able to build with cmake in my project with the following output: -- ...

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Re: Android installation
Posted: Fri, 2017-05-05, 06:11 

Replies: 14
Views: 2783


You should consider it, if you want to be able to update to new DCMTK versions in the future. The main difference of the current code is that you need to provide your own Android Toolchain file (the one included in DCMTK was removed since it was outdated and we do not have the resources to maintain...

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Re: Android installation
Posted: Thu, 2017-05-04, 12:58 

Replies: 14
Views: 2783


It of course depends on your application. I would recommend using the find_package() mechanism of CMake together with our CMake Exports to include and link DCMTK to your project. But this of course only works if your project uses CMake... Also, did you build DCMTK for Android from our git repositor...

 Forum: DCMTK - Installation   Topic: Android installation

 Post subject: Android installation
Posted: Wed, 2017-05-03, 07:37 

Replies: 14
Views: 2783


Hello. So I have built an x86 version of dcmtk 3.6.1. Now, after make install I have a bunch of header files and shared libraries in the ndk toolchains directory. How do I use them in my application?
Sort by:  
Page 1 of 1 [ Search found 9 matches ]


All times are UTC + 1 hour


Jump to:  
Powered by phpBB® Forum Software © phpBB Group