Giter VIP home page Giter VIP logo

ios-dicom-image-processing's Introduction

ios-dicom-image-processing

DICOM image processing using Imebra

Imebra Offical Guide

Prerequisite

ImebraBuild Setup

As per the Imebra official guide compile and generate library using command line as follows,

For iOS
mkdir imebra_for_ios
cd imebra_for_ios
cmake your_imebra_location -DIOS=IPHONE
cmake --build .
For iOS-Simulator
mkdir imebra_for_ios_simulator
cd imebra_for_ios_simulator
cmake your_imebra_location -DIOS=SIMULATOR
cmake --build .

In both compilation, libimebra.a will be generated.

Combine Static Libraries

lipo -create libimebra.a libimebra.a -o libimebraUniversal.a

Note: libimebra.a one is iPhone(armv7,armv7s architecture) and another one for simulator(i386,x86_64 architecture). Rename libimebraUniversal.a to libimebra.a

Xcode Setup

  • Select Target -> Build Phase -> Link Binary with libraries -> Click "+" to add the libraries libimebra.a, libiconv.tbd and libc++.tbd

  • Select Target -> Build Settings -> Search Paths -> Library Search Paths -> add Imebra build location (imebra_for_ios or imebra_for_ios_simulator) with recursive

That's it Clean and Build.

ios-dicom-image-processing's People

Contributors

shanmugasanthosh7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ios-dicom-image-processing's Issues

Error while running

While compiling project throws an error

:0: error: error opening input file '/Users/genix/imebra_4_2_2_1/objectivec/include/imebraobjc/imebra_swift.h' (No such file or directory)

Could you please help?

ios 编译的问题

尊敬的工程师:
我在编译ios oc 下的 imebra 的时候遇到了问题:
gupodeMac-mini:~ gupo$ cd /Users/gupo/Desktop/imebra_for_ios
gupodeMac-mini:imebra_for_ios gupo$ cmake /Users/gupo/Desktop/imebra_4_4_0_2 -DIOS=SIMULATOR
Using ICONV (default)
IOS SDK ROOT: xcrun: error: SDK "iphonesimulator" cannot be located
xcrun: error: SDK "iphonesimulator" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphonesimulator'
-- CLANG detected, adding compile flags
-- OBJC INCLUDE:/Users/gupo/Desktop/imebra_4_4_0_2/objectivec/include
-- GNU INCLUDE:
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gupo/Desktop/imebra_for_ios

请问怎么编译?

Memory growth problem

I found that loading a dicom image required 150mb of memory, and loading 150 images required 1.5g of memory for my simulator. How to solve it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.