Questions tagged [imebra]

Imebra is a C++ DICOM library. The DICOM standard defines how medical images and data are exchanged via storage mediums or via network messages.

Imebra is a multi platform C++ library for handling DICOM files and network messages.

It provides Java and Python bindings and Objective-C helpers for iOS and OS-X.

22 questions
3
votes
1 answer

Get absolute path from Uri in Android 10

I am trying to integrate Imebra library to load .dcm files inside the app. The problem is that as per the documentation, I need to pass the absolute path of the file to Imebra as shown below: val loadDataSet = CodecFactory.load("myFile.dcm") For…
2
votes
1 answer

Saving DICOM images using Imebra library

In my Android project I am currently using Imebra library to extract image frames from a dicom file and save them as Bitmaps. After that I use ffmpeg to create a video from these frames. Every thing is working well so far, but my only concern is…
TheEngineer
  • 792
  • 6
  • 18
2
votes
0 answers

C++ How to display Imebra image (char buffer) as an image?

I use an Imebra library to read DICOM files. I need to display DICOM image. Imebra library gives me an image in buffer (I follow this documentation): load file std::unique_ptr MyDataSet(CodecFactory::load("IM1")); retrieving an…
Nika_Rika
  • 613
  • 2
  • 6
  • 29
1
vote
0 answers

Converting C++ code to swift (For imebra library integration)

I really need some help to convert this c++ code to Swift. I am trying to integrate Imebra library into iOS, which has sample tutorial code in C++ as such (Source: Imebra integration tutorial) // The transforms chain will contain all the transform…
Subrata
  • 182
  • 7
1
vote
0 answers

Unable to build imebra in Xcode 12.4?

Imebra is working in xcode 11.6, when trying to build in code 12.4, getting below error /Users/xxxxx/Imebra/imebra_for_ios/libimebra.a(imebra_exceptions.mm.o), building for iOS, but linking in object file built for macOS, file…
Kavitha Madhu
  • 396
  • 1
  • 5
  • 19
1
vote
1 answer

Load Server URL dicom files inside Imebra in iOS?

I am using https://imebra.com/ in my application, when I load a local files it reading the DICOM file and I am able to see the Image. when, I am sending Cloud url path to imebra It is showing an error and below I shared sample code.I want to send…
Ramya K
  • 29
  • 4
1
vote
1 answer

How to perform Image processing with Dicom Images in Android?

I am using imebra library to display dicom image and it converts dicom image to bitmap to display. So when i perform manipulation with the image can cause memory issue. Is there any other way in Android for Window Leveling.
Prateek
  • 189
  • 1
  • 6
1
vote
1 answer

How to save compressed pixels (compressed with my own encoder) back into DICOM image file using Imebra library?

I have my own image encoder and decoder. What I want is to read DICOM images, extract uncompressed image pixels, compress them using my encoder and then write those compressed pixels back in the DICOM file in place of uncompressed pixels. Decoder…
Jet Black
  • 21
  • 3
1
vote
1 answer

Imebra - Change color contrasts

I am able to load dicom image using imebra, and want to change the colors of image, but cant figure out a way. I want to achieve functionality as in Dicomite app. Following is my code: public void loadDCM() { com.imebra.DataSet loadedDataSet =…
1
vote
2 answers

How to build Imebra library using CMake for iOS?

I tried to embed use the Imebra library as Dicom file viewer in my iOS app. But when I built the Imebra library via "cmake --build ." on command line after "cmake install...", Errors came out as the following Undefined symbols for architecture…
YLei
  • 11
  • 1
1
vote
1 answer

Issues with Imebra Dicom Viewer

I'm trying to read a dicom file using the instructions given in "Adding Imebra to your Intellij Idea" and am facing issues with the same. The exact code snippet where am facing the issue is this: Stream stream = new…
0
votes
1 answer

How to integrate Imebra v5 to a swift command line project

I'm trying to import Imebra into a basic swift 5 command line project using Xcode 12. I followed the official steps but I failed. I can summarise the whole structure: The structure of the project is just ./ ├── main.swift ├── Data └──…
user91676
  • 41
  • 4
0
votes
1 answer

Imebra library shows completely gray image for transfer syntax 1.2.840.10008.1.2.1

Iam trying to use Imebra library to display DICOM images in android. Iam using version 5.0 of the library. The bitmap shown is completely gray, transfer syntax for image is 1.2.840.10008.1.2.1.For other supported transfer syntax i.e JPEG it works…
K patel
  • 54
  • 1
  • 5
0
votes
1 answer

C++ reading 16bit binary data from raw img and store them in vector

These days I am struggling at malloc memory. I try to read 16-bit binary data from raw img and store them in buffer or vector. The total size of these binary data is about 15M. For this kind of size, which way is better between buf or vector? Here…
lee1591
  • 17
  • 4
0
votes
1 answer

segmentation fault when compling c++ code

I am now days struggling at this question from my code,the code could be complied successfully but when I ran the binary file, the segmentation fault would occured and here below was the problem: Program received signal SIGSEGV, Segmentation fault.…
lee1591
  • 17
  • 4
1
2