Imebra is a C++ DICOM library able to:
A JNI interface allows to use the library also with the JAVA language, including on Android OS.
Objective-C wrappers (compatible with Swift) are also available.
If you downloaded the source distribution then you can skip this part and jump directly to "Compiling Imebra".
This section describes how to create an Imebra Source Distribution containing the full C++source code, the Java wrappers for Android, the HTML documentation, the test units code coverage information.
The Imebra image is built on Ubuntu 20.04 with the following apt packages:
Additionally, 2 Python packages must be present (installable with pip):
In order to install the packages, type the following commands as root or prepend them with sudo:
apt-get update && \ apt-get install -y \ tzdata \ git \ doxygen \ g++ \ lcov \ python3 \ python3-dev \ python3-pip \ ant \ cmake \ swig \ liblog4cxx-dev \ libdcmtk-dev \ default-jdk \ junit4 \ dcmtk && \ pip3 install Sphinx==2.4.4 && \ pip3 install breathe==4.14.2 && \ pip3 install sphinx_rtd_theme
Then clone the Imebra git repository:
git clone git@bitbucket.org:binarno/imebra_git.git
Finally, cd into the imebra folder and execute ant to build the source distribution that includes:
cd imebra ant
Public releases of Imebra V5 are versioned according to the rules defined in Semantic versioning.
Nightly releases are versioned as public releases but their minor version or patch number are set to 999 (the master branch or the major version branches have a minor version set to 999, the minor version branches have a patch number set to 999).
For instance:
This section explains how to compile Imebra from the source distribution. You can download the source distribution from https://imebra.com, or you can create a source distribution by following the instructions at "Creating the source distribution from the code in the VCS"
The result of the Imebra compilation is a shared library for your operating system of choice.
The Imebra Source Distribution includes:
In order to build the library from the Imebra Source Distribution you need:
The library folder contains a CMakeLists file, which contains the information needed by CMake to generate a solution file for your platform (a make file, a VisualStudio solution, etc).
To generate the Imebra shared library, execute the following steps:
For instance:
md artifacts cd artifacts cmake imebra_location/library cmake --build .
The first CMake command will generate a solution file for the your platform: this will be a make file on Linux, a VisualStudio solution of Windows, an XCode project on Mac.
The second CMake command with the --build option will launch make, VisualStudio or the build chain defined on your machine.
On Windows, the last cmake command can be followed by --config release or --config debug, like this:
cmake --build . --config release
or
cmake --build . --config debug
In order to build the Android version of Imebra you need:
The Android version of the library needs both the Java source code (located in the wrappers/javaWrapper folder) and the C++ source code (located in the library folder)
To generate the Imebra Jar library:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。