Search found 11 matches

by hemp110
Sun, 2013-12-29, 15:12
Forum: DCMTK - General
Topic: error: LNK:2001 DJEncoderRegistration::registerCodecs
Replies: 1
Views: 2759

error: LNK:2001 DJEncoderRegistration::registerCodecs

I have met a similar problem with http://forum.dcmtk.org/viewtopic.php?f=1&t=2136&start=0 I have included <dcmtk/dcmjpeg/djencode.h> and added dcmjpeg.lib, ijg8.lib, ijg12.lib, ijg16.lib, dcmimage.lib, dcmimgle.lib, dcmdata.lib, ofstd.lib, wsock32.lib, netapi32.lib, ofstd.lib, oflog.lib the ...
by hemp110
Thu, 2013-10-31, 09:13
Forum: DCMTK - General
Topic: How to store multi frame image in Pixel Data element tag?
Replies: 3
Views: 4875

Re: How to store multi frame image in Pixel Data element tag

Are you talking about compressed pixel data? I'm asking because what you describe (encapsulation of pixel items) only applies to compressed pixel data. If so, please have a look at the classes DcmPixelData and DcmPixelSequence . Btw, the value representation (VR) is "OB" for compressed pi...
by hemp110
Mon, 2013-10-28, 09:37
Forum: DCMTK - General
Topic: How to store multi frame image in Pixel Data element tag?
Replies: 3
Views: 4875

How to store multi frame image in Pixel Data element tag?

Hi, I'm going to make a multi frame image with DCMTK. By refering DICOM standard file PS 3.5 Annex G.6 I see the strategy goes like this: Assume there are n frames, in Data Element there are n+1 Items. The first item stores Basic Offset Table where the offset of every item is stored. Then each Item ...
by hemp110
Wed, 2013-06-26, 07:09
Forum: DCMTK - General
Topic: A strange problem in Release mode
Replies: 2
Views: 3819

A strange problem in Release mode

I created a Visual Studio 2010 project with DCMTK 3.6.0. The project often crashes at function putAndInsertString(DCM_PatientBirthDate, ...) when I run the exe generated in Release mode. It took quite a while to find where it crashed because in Release mode codes can't run step by step and I could o...
by hemp110
Wed, 2013-04-24, 08:56
Forum: DCMTK - General
Topic: DCMTK support libraries for Linux?
Replies: 1
Views: 2986

DCMTK support libraries for Linux?

Hi, We can easily find DCMTK support libraries for Windows (libpng, libxml2, openssl, tiff, zlib) and use them. But under Linux I cant't make them with the source code. When I want make libpng for example, the configure step shows that "error: zlib not installed". If I code without the sup...
by hemp110
Tue, 2013-04-16, 10:08
Forum: DCMTK - General
Topic: How to write several images to a dcm file?
Replies: 1
Views: 10776

How to write several images to a dcm file?

I want to Insert several images into a SOP, but I cannot find the sequence of saving image pixel data. How can I deal with it?
Thank you!
by hemp110
Tue, 2013-04-09, 10:22
Forum: DCMTK - General
Topic: How to release the memory of DcmDataSet
Replies: 2
Views: 4452

How to release the memory of DcmDataSet

I created a DcmFileFormat and find the DcmDataSet. When it goes to the clear function, an access voilation occurs. Here is my code. DcmFileFormat m_pFileFormat = new DcmFileFormat; DcmDataSet m_pDataset = m_pFileFormat->getDataset(); m_pDataset ->putAndInsertString(DCM_PatientName, ""); .....
by hemp110
Tue, 2013-04-02, 11:29
Forum: DCMTK - General
Topic: Something wrong about MetaHeader version.
Replies: 1
Views: 3174

Something wrong about MetaHeader version.

Hi, I'm making a SDK of writing WSI DICOM file. Below is the part of meta information. m_pMetainfo->putAndInsertString(DCM_FileMetaInformationGroupLength, ""); m_pMetainfo->putAndInsertString(DCM_FileMetaInformationVersion, "0001"); m_uids->pMediaStoredSOPClassUID = "1.2.840...
by hemp110
Wed, 2013-03-20, 02:48
Forum: DCMTK - General
Topic: Can one dicom file contain multiple SOP Instances?
Replies: 1
Views: 2963

Can one dicom file contain multiple SOP Instances?

Maybe my last question was too complicated to answer. Now I change it to the most serious part.
Can one dicom file contain multiple SOP Instances? If so, what's the structure between SOP Instances in the file? How to code?
with my most appreciation :wink:
by hemp110
Wed, 2013-03-20, 02:41
Forum: DCMTK - General
Topic: questions about WSI, multi SOP instances and multi frames
Replies: 2
Views: 4175

Re: questions about WSI, multi SOP instances and multi frame

J. Riesmeier wrote:
Are all of the frames of one SOP instance have to be of the same size?
Yes, this is what Rows and Columns specify.
Thanks for your explicit reply!
by hemp110
Mon, 2013-03-18, 07:16
Forum: DCMTK - General
Topic: questions about WSI, multi SOP instances and multi frames
Replies: 2
Views: 4175

questions about WSI, multi SOP instances and multi frames

Hi everyone, I want to create encapsulate an entire WSI (while slide image) pyramid into a single dicom file. By referring to PS 3.3 Annex A.32.8, I want to store a tile as one frame, one level of pyramid as a SOP Instance containing multi frame, and then the entire WSI pyramid as one Concatenation ...