Search found 10 matches

by francois
Mon, 2011-03-14, 02:59
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

I give you the most interresting part of the code - (void) LoadTextures:(NSData *)data { //textures is a array of GLuint glGenTextures(1, &textures[0]); // select our current texture glBindTexture(GL_TEXTURE_2D, textures[0]); glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 512, 512, 0, GL_LUMINANCE...
by francois
Mon, 2011-03-07, 14:27
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

It's not so complicated.

When you read a dicom file, you can get rawData (in 8 bits) of the picture.

So, with that, you can use the data like a texture for openGles.

Create a simple surface and put the picture/texture on the surface.
by francois
Sun, 2011-03-06, 04:07
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

Re: Thanks!

@Francois Thanks for the links.... So am I right in thinking using OpenGLEs will display a DICOM image and I don't need additional libraries to just display a simple image in a UIimageviewer? I already try to use UIimageviewer without success (not good color/size). When you read a dicom file, you g...
by francois
Fri, 2011-03-04, 07:09
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

OpenGL ES

It's opengl for embedded devices.

To read

http://www.khronos.org/opengles/

http://en.wikipedia.org/wiki/OpenGL_ES
by francois
Thu, 2011-03-03, 04:02
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

rick wrote:it throws the errors of missing the dreaded libc.h
Comment the line :twisted:

To show Dcm files use OpenGLEs, it's work fine.

Dcm file is a simple texture on a simple surface.
by francois
Wed, 2011-02-23, 12:25
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

Do you compile dcmtk for IOS simulator and test the libs for the device?

The libs are not universal binary.
by francois
Tue, 2011-02-22, 15:24
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

dcm2pdf is a executable,you don't need to compile it, remove it in your targets. but if it's the case, what library have you this error? For your example, think to link at your project the good library with the good architecture, don't forget IOS use "arm" for device and "I386" f...
by francois
Tue, 2011-02-22, 02:14
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

A simple "Reveal in finder" for a library can help you.
by francois
Mon, 2011-02-21, 15:00
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242778

HOW TO COMPILE DCMTK ON IPHONE (not fully checked) It's simple, 1 - Download last dcmtk and extract 2 - go in the directory and create a folder "xcode" 3 - go to the new directory and type "ccmake -GXcode ../" 4 - for ccmake options DOXYGEN : OFF OPENSSL : ON (optional : you need...
by francois
Mon, 2011-02-21, 10:04
Forum: DCMTK - Installation
Topic: Dcmtk on IOS? it's works!
Replies: 2
Views: 7491

Dcmtk on IOS? it's works!

Hi every one, i'm currently on a project on smart-phone, see the website on my project " http://skuld-project.net/ ". I'm the IOS programmer of the project and i use dcmtk to manage dicom file. Some people, who i know, have already use dcmtk but not on IOS. So i try to compile and use dcmt...