Search found 83 matches

by liuxinming
Mon, 2018-08-06, 01:30
Forum: DCMTK - General
Topic: Maybe a bug in DicomImage?
Replies: 4
Views: 3617

Re: Maybe a bug in DicomImage?

do you pass CIF_UsePartialAccessToPixelData to the DicomImage constructor Sorry for my carelessness. Yes, I use this flag without any other one. Now, I' ve discovered that when the two functions are in a dll, and they are called by the same caller, the processNextFrames always return FALSE in func2
by liuxinming
Fri, 2018-08-03, 01:39
Forum: DCMTK - General
Topic: Maybe a bug in DicomImage?
Replies: 4
Views: 3617

Re: Maybe a bug in DicomImage?

Very very simple:

Code: Select all

{
...
     func1();
     func2();
...
}
In func1: DicomImage *pdi=new DicomImage(...,0,1);
In func2: pdi->processNextFrames();

BTW, pdi is a global variable which can accessed by func1 and func2.
by liuxinming
Thu, 2018-08-02, 01:57
Forum: DCMTK - General
Topic: Maybe a bug in DicomImage?
Replies: 4
Views: 3617

Maybe a bug in DicomImage?

I' m using the v3.6.2 to develop my own application. But I discovered that sometimes the processNextFrames failed abnormally. Say there are two functions in my codes: func1 and func2, in func1 a DicomImage object has been dynamically created, and in func2 the method processNextFrames is called to ac...
by liuxinming
Fri, 2017-12-01, 04:10
Forum: DCMTK - General
Topic: How to modify the data sequence of the dataset
Replies: 0
Views: 61719

How to modify the data sequence of the dataset

The first part of my codes: DcmFileFormat fileformat; OFCondition cond=fileformat.loadFile(sFileName.GetBuffer(0),EXS_JPEGProcess1); DcmPixelData *pPixData; cond=pDataset->findAndGetElement(DCM_PixelData,(DcmElement *&)pPixData); Now I can manage the pixel data. The second part: DcmPixelSequence...
by liuxinming
Tue, 2017-11-21, 02:55
Forum: DCMTK - General
Topic: Decompressing large files
Replies: 2
Views: 3059

Re: Decompressing large files

which does exactly what you want I want to save several frames of the large file into another file with the same transfer syntax as the original file. So what i' ve done were: 1. Using the getUncompressedFrame to get the frames one by one. 2. Putting the frame datas into a buffer which was dynamica...
by liuxinming
Mon, 2017-11-20, 03:37
Forum: DCMTK - General
Topic: Decompressing large files
Replies: 2
Views: 3059

Decompressing large files

In order to get some special frames of a large file, I used DcmDataset::chooseRepresentation, then DcmPixelData::getUncompressedFrame. But I didn' t want to decompress the whole file. By the way, when decompressing large files, DcmDataset::chooseRepresentation sometimes failed, such as "Virtual...
by liuxinming
Thu, 2017-09-21, 02:15
Forum: DCMTK - Installation
Topic: Does v3.6.2 support Unicode?
Replies: 2
Views: 4224

Re: Does v3.6.2 support Unicode?

Thank you for your tips! I' ll try to compile the toolkit in Unicode environment later.
by liuxinming
Wed, 2017-09-20, 04:02
Forum: DCMTK - Installation
Topic: Does v3.6.2 support Unicode?
Replies: 2
Views: 4224

Does v3.6.2 support Unicode?

When compiling the toolkit in vs2012, I' m not sure if I can set the Character Set to Unicode.
By the way, I' ve known v3.6.1 doesn' t support Unicode.
by liuxinming
Tue, 2017-09-12, 02:57
Forum: DCMTK - Installation
Topic: Compiling 64-bit dcmtk3.6.2 in vs2010
Replies: 4
Views: 5796

Re: Compiling 64-bit dcmtk3.6.2 in vs2010

Thank you for your advice. I' ve ignored the warning in my application.
by liuxinming
Mon, 2017-09-11, 08:52
Forum: DCMTK - Installation
Topic: Compiling 64-bit dcmtk3.6.2 in vs2010
Replies: 4
Views: 5796

Re: Compiling 64-bit dcmtk3.6.2 in vs2010

Now I am compiling v3.6.2 in vs2012. But after the compilation, the output contains something like "warning LNK4099: PDB 'vc110.pdb' was not found with 'zlib_d.lib(adler32.obj)'...". When I compile the application linking with dcmtk, the warning is also shown in the output window. I find t...
by liuxinming
Fri, 2017-09-08, 03:33
Forum: DCMTK - Installation
Topic: Compiling 64-bit dcmtk3.6.2 in vs2010
Replies: 4
Views: 5796

Compiling 64-bit dcmtk3.6.2 in vs2010

In Cmake, I set the generator to "visual studio 2010 Win64", then generated the project step by step. At last the compilation was failed. Before the generation, I downloaded the "dcmtk-3.6.2-win64-support_MD-msvc-11.0" support libraries. I only have vs2010. Shall I download vs201...
by liuxinming
Fri, 2017-09-08, 02:01
Forum: DCMTK - Installation
Topic: The Compilation of mkvrscan
Replies: 4
Views: 5462

Re: The Compilation of mkvrscan

When I compiled the project as an administrator, it was not an issue.
by liuxinming
Thu, 2017-09-07, 04:24
Forum: DCMTK - Installation
Topic: The Compilation of mkvrscan
Replies: 4
Views: 5462

Re: The Compilation of mkvrscan

As you' ve said, I don' t need mkvrscan, so before the compilation, I removed the sub item. Another issue is, when I generated the "INSTALL" project, it failed. The details were as follow: 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073...
by liuxinming
Wed, 2017-09-06, 04:45
Forum: DCMTK - General
Topic: 4 Unresolved External symbols When Linking With 3.6.2
Replies: 1
Views: 2423

4 Unresolved External symbols When Linking With 3.6.2

1. public: virtual class OFCondition __thiscall DcmSCP::addPresentationContext 2. public: virtual class OFCondition __thiscall DcmSCU::sendSTORERequest 3. public: static void __cdecl DJDecoderRegistration::registerCodecs 4. dcmdata.lib(dcuid.obj) : error LNK2019: _GetAdaptersInfo@8 The lib files ref...
by liuxinming
Wed, 2017-09-06, 04:17
Forum: DCMTK - Installation
Topic: The Compilation of mkvrscan
Replies: 4
Views: 5462

The Compilation of mkvrscan

When compiling mkvrscan,the error MSB6006 appeared,with this message been showed:"flex" It is not an internal or external command, nor is it a program or batch file that can run.

What is "flex"? Could anyone give me some advice? Thanks in advance!