Search found 2049 matches

by Michael Onken
Thu, 2008-02-21, 17:24
Forum: DCMTK - General
Topic: storescu problem with presentation context
Replies: 6
Views: 22364

[MPEG2] TransferSyntaxes = MPEG2 PresentationContexts = StorageCompressedAndUncompressed Don't mix TransferSyntaxes into the profile secition. Explained top down: You have some profiles under the [[Profiles]] section. For storescu and storescp, you select one of these profiles that specify the comp...
by Michael Onken
Thu, 2008-02-21, 15:41
Forum: DCMTK - General
Topic: storescu problem with presentation context
Replies: 6
Views: 22364

Hi,

try reading the documentation that comes with DCMTK: dcmnet/docs/asconfig.txt

Hope that helps,
Michael
by Michael Onken
Thu, 2008-02-21, 11:56
Forum: DCMTK - General
Topic: question abgout writing DICOM files
Replies: 1
Views: 3272

Hi Anja, this seems to be a very unspecific question. In most cases, it is a bad idea to just copy a DICOM file (or a complete series) and to then customize it because it is quite likely that you will forget to change some attributes according to the new image data. Private attributes should be dele...
by Michael Onken
Thu, 2008-02-21, 11:47
Forum: DCMTK - General
Topic: storescu problem with presentation context
Replies: 6
Views: 22364

Hi, It seems that storescu fails to negotiate the Video Photographic Image SOP class with the PACS. Are you sure your Osirix installation accepts images of Video Photographic Image SOP class? Also, if that works, be sure that you are proposing the correct transfer syntax with storescu (I dont know w...
by Michael Onken
Thu, 2008-02-21, 11:13
Forum: DCMTK - General
Topic: Can I find the offset of pixeldata in a DICOM file?
Replies: 11
Views: 13591

Hi, not a Macro, but I just said "Marco" implemented that :) You can get a CVS snapshot - I will send a link to your forum email adress. ad 1) Difficult to say. You always can have private data in the file (maybe thumbnails or whatever) which makes it impossible to stop reading after certa...
by Michael Onken
Tue, 2008-02-19, 15:02
Forum: DCMTK - General
Topic: Can I find the offset of pixeldata in a DICOM file?
Replies: 11
Views: 13591

Hi, I guess you only have two possibilities, either you receive the full dataset in memory or you write it to disk immediately, circumventing heavy memory usage. Take a look into storescp.cc code to see how to accomplish both - for receiving the dataset you call DIMSE_storeProvider(..) with either a...
by Michael Onken
Mon, 2008-02-18, 17:09
Forum: DCMTK - General
Topic: Can I find the offset of pixeldata in a DICOM file?
Replies: 11
Views: 13591

Hi, actually DCMTK does not read long tag values (ie pixel data) into memory when parsing but only loads them on demand. You can control DCMTKs behaviour, as for example dcmdump does with the options: +M --load-all load very long tag values (default) -M --load-short do not load very long values (e.g...
by Michael Onken
Mon, 2008-02-18, 10:27
Forum: DCMTK - General
Topic: Storescp error
Replies: 1
Views: 3190

Hm, just what it says :): if you want to use option --exec-on-eostudy, you also have to use option --sort-conc-studies.

So add --sort-conc-studies to your commandline (that will sort received images into study subfolders).

Regards,
Michael
by Michael Onken
Mon, 2008-02-18, 09:27
Forum: DCMTK - General
Topic: Can I find the offset of pixeldata in a DICOM file?
Replies: 11
Views: 13591

Yes, of course you are right; Group Length are more a theoretical solution :wink:

Regards,
Michael
by Michael Onken
Mon, 2008-02-18, 09:00
Forum: DCMTK - General
Topic: Can I find the offset of pixeldata in a DICOM file?
Replies: 11
Views: 13591

Hi, unfortunately there is no way to find the pixel data without parsing the complete file. Some people rely on the Pixel Data element being the last in the dataset and to calculate its size (for CTs) with 512*512*2 bytes, but that does not work in general! You sometimes can speed up reading a DICOM...
by Michael Onken
Thu, 2008-02-14, 15:11
Forum: DCMTK - General
Topic: error C2661 in dump2dcm api
Replies: 6
Views: 7712

- I don't have the same problem with my Windows XP box. Does the error occur on both systems, Windows 2000 and Windows XP? - Did you build Visual Studio files yourself or did you read the installation instructions (INSTALL file that comes with source code) and used CMake to build them? - If you foll...
by Michael Onken
Thu, 2008-02-14, 11:03
Forum: DCMTK - General
Topic: Re:Storescp commandline arguments
Replies: 3
Views: 4870

There is another error in your commandline, option -xcs also takes an argument: --exec-on-eostudy ommand: string (only w/ -ss) execute command c after having received and processed all C-STORE-Request messages that belong to one study [/quote] You have to specify which command should be executed aft...
by Michael Onken
Thu, 2008-02-14, 10:49
Forum: DCMTK - General
Topic: Re:Storescp commandline arguments
Replies: 3
Views: 4870

Hi, as documented for storescp, option -xf --config-file [f]ilename [p]rofile: string use profile p from config file f takes two arguments: The file with configuration information *and* the profile from this file you want to use. If you are using the default configuration file coming with DCMTK, the...
by Michael Onken
Thu, 2008-02-14, 10:40
Forum: DCMTK - General
Topic: error C2661 in dump2dcm api
Replies: 6
Views: 7712

Hi Sergio,

Hm, never seen this error before -
which Windows OS, processor platform and compiler are you using?

Regards,
Michael
by Michael Onken
Fri, 2008-02-08, 17:01
Forum: DCMTK - General
Topic: Problems using dcmdjpeg.exe
Replies: 11
Views: 12711

Hi,

maybe you can use "dcmodify -i RescaleIntercept=-32768 c:\comparativa\b.IMG " to insert the attribute?

Regards,
Michael