Search found 85 matches

by ali.m.habib
Thu, 2011-01-27, 13:57
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

Michael Onken wrote:Hi,

have a look at the dcmdata online documentation.

Michael
final question, and sorry for my naive questions, I am in my first steps in imaging

how to get the following information using DCMTK
bitsPerComponent;
bitsPerPixel;
bytesPerRow;

from the DCM file
by ali.m.habib
Thu, 2011-01-27, 12:57
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

Michael Onken wrote:Hi,

Omar's code snippet was just fine. If you need a full example, look might look at the demo SCU from the CTK project.

Good luck,
Michael
thanks alot ,
what about read local dcm file , I need to read the image data as buffer

any suggestion please
by ali.m.habib
Thu, 2011-01-27, 12:30
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

Right, and I said you would to do (add a compile flag); the rest is now up to you: learning how to do that with your compiler (Xcode/gcc). it compiled corectly , I need example to -test the connection with pacs I missed omarelgazar reply - read local dicom file and convert it to buffer data any sug...
by ali.m.habib
Thu, 2011-01-27, 11:34
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

Hi, It is not a Linker flag, it is a compiler flag. First, every .cc file is compiled into an object file, then in the end, they are linked together into applications. You can recognize an application if one of the objects (and only one) contains a main() function. I do not have a mac here, but the...
by ali.m.habib
Thu, 2011-01-27, 10:59
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

Hi, try to add "-DHAVE_CONFIG_H" to your compiler flags, otherwise including osconfig.h does actually nothing. Best regards, Michael how can I do that in xcode , there're no direct compiler flag there're OpenMP linker flags other linker flags symbol ordering flags warning linker flag I tr...
by ali.m.habib
Thu, 2011-01-27, 10:00
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242707

Hi, that's an error on the mac caused by the CMake configuration.. You can ignore it and go ahead anyway,i.e. hit configure again and go on. If you want to fix it instead, unselect any boxes on the screen where the description contains the word TIFF ;) Best regards, Michael I got this error 57 time...
by ali.m.habib
Thu, 2011-01-27, 08:12
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

omarelgazzar wrote:First of all, you should include osconfig.h at the top of all other included files. So, your code should look like

#define INCLUDE_CSTDIO
#include <dcmtk/config/osconfig.h>
...
...
it gave the same error
by ali.m.habib
Wed, 2011-01-26, 14:03
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

There is an example in the documentation for echoscu However, I would recommend using the DCMSCU Class SCU = new DcmSCU (this); if (SCU != NULL) { SCU ->setPeerAETitle(PeerAETitle); SCU ->setPeerHostName(PeerHostName); SCU ->setPeerPort(PeerPortNumber); SCU ->addPresentationContexts(PreferredOutgoi...
by ali.m.habib
Wed, 2011-01-26, 12:57
Forum: DCMTK - General
Topic: connect to PACS system biginner question
Replies: 30
Views: 46108

connect to PACS system biginner question

Hi all,

I need sample code / example in how to connect to pacs sustem and test teh connection


your fast reply is highly appreciated
by ali.m.habib
Wed, 2011-01-26, 11:09
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242707

Hi, that's an error on the mac caused by the CMake configuration.. You can ignore it and go ahead anyway,i.e. hit configure again and go on. If you want to fix it instead, unselect any boxes on the screen where the description contains the word TIFF ;) Best regards, Michael is there a bug in that I...
by ali.m.habib
Wed, 2011-01-26, 11:03
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242707

Hello, If you don't need to convert DICOM images to TIFF , set the option for DCMTK_WITH_TIFF support OFF in the CMakeLists.txt file. Do the same for the other libraries such as PNG, OPENSSL and ZLIB. If you need TIFF support, I recommend you to read the INSTALL file in the source package carefully...
by ali.m.habib
Wed, 2011-01-26, 11:01
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242707

Hi, that's an error on the mac caused by the CMake configuration.. You can ignore it and go ahead anyway,i.e. hit configure again and go on. If you want to fix it instead, unselect any boxes on the screen where the description contains the word TIFF ;) Best regards, Michael is there a bug in that I...
by ali.m.habib
Wed, 2011-01-26, 10:59
Forum: DCMTK - General
Topic: dcmtk on iPhone ??
Replies: 59
Views: 242707

Hi, that's an error on the mac caused by the CMake configuration.. You can ignore it and go ahead anyway,i.e. hit configure again and go on. If you want to fix it instead, unselect any boxes on the screen where the description contains the word TIFF ;) Best regards, Michael ok I have another questi...
by ali.m.habib
Wed, 2011-01-26, 10:57
Forum: DCMTK - General
Topic: fix bug with dicom dictionary
Replies: 1
Views: 2592

fix bug with dicom dictionary

Hi all

what is the bug in file dcdict.cc that I should put in consideration while compile DCMTK for mac OS snow leapard


Best regards
by ali.m.habib
Wed, 2011-01-26, 10:33
Forum: DCMTK - General
Topic: DICOM for iphone questions
Replies: 8
Views: 11722

Hi, first of all try to compile on a Mac without thinking about the iPad/iPhone. Therefore, look into the INSTALL.TXT that comes with DCMTK. The easiest way is to open a terminal, change to the DCMTK source code directory and call "./configure", and after that, call "make". That...