Search found 8 matches

by rickf
Tue, 2019-12-31, 02:59
Forum: DCMTK - Installation
Topic: DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS not working in 3.6.5
Replies: 1
Views: 5457

DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS not working in 3.6.5

I turn off the flag.

I change the Compile settings in CMAKE to /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1


and it switches it back to /D_DEBUG /MTd /Zi /Ob0 /Od /RTC1

Where can I Modify the CMAKE file to fix this?

I need to keep my settings.

Thanks

Rick Frank
by rickf
Mon, 2017-07-31, 18:56
Forum: DCMTK - General
Topic: CIF_UseAbsolutePixelRange and conversions
Replies: 4
Views: 3805

Re: CIF_UseAbsolutePixelRange and conversions

So it seems that if I want the pixels "rendered" with the LUT I should do: DicomImage * di = new DicomImage(path.c_str(), flags); size_t sizeInBytes = di->getOutputDataSize(); void * bits = malloc(sizeInBytes); di->getOutputData(buffer, sizeInBytes, bitsStored); But I read: /**render pixel...
by rickf
Sat, 2017-07-29, 22:37
Forum: DCMTK - General
Topic: CIF_UseAbsolutePixelRange and conversions
Replies: 4
Views: 3805

Re: CIF_UseAbsolutePixelRange and conversions

I'm reading slices and building a volume in VTK, and if some of the slices come in at a different pixel width, it might save a little memory but it's not really helpful cause I have to rescale them
by rickf
Sat, 2017-07-29, 15:32
Forum: DCMTK - General
Topic: CIF_UseAbsolutePixelRange and conversions
Replies: 4
Views: 3805

CIF_UseAbsolutePixelRange and conversions

Hi, I'm using DicomImage() to create a volume from slices. I find that for some images, DicomImage() converts the data to 8 bit from 16, even though the file is 16 bits. ( tracing through the code it seems to think it needs 17 bits for the representation, which is strange) I found that if I used the...
by rickf
Mon, 2014-01-20, 23:44
Forum: DCMTK - Installation
Topic: static lib builds in Release mode Visual Studio 2012
Replies: 1
Views: 7241

static lib builds in Release mode Visual Studio 2012

If I download and build DCMTK 3.6.0, configure, and build Debug and Release, all is well. My own Cmake file has the following: target_link_libraries(${PROJECT_NAME} debug netapi32 debug ${DCMTK_oflog_LIBRARY} debug ${DCMTK_ofstd_LIBRARY} debug ${DCMTK_dcmdata_LIBRARY} debug ${ITK_LIBRARIES} debug ${...
by rickf
Mon, 2014-01-20, 12:07
Forum: DCMTK - General
Topic: Reading from CD
Replies: 4
Views: 4755

Re: Reading from CD

Ok, so then I think that to read a CD that does not already contain a DICOMDIR I have to loop through all the files, read tags, and build my own hierarchy patient-study-series-image etc
by rickf
Mon, 2014-01-20, 04:38
Forum: DCMTK - General
Topic: Reading from CD
Replies: 4
Views: 4755

Re: Reading from CD

It seems that the DICOMDIR file needs to be at the root level of the directory hierarchy? In the case of the CD, in other words a read-only medium do I have to copy the files from CD to a local storage in order to create the DICOMDIR information or can that be kept in memory and never written to disk?
by rickf
Sat, 2014-01-11, 03:34
Forum: DCMTK - General
Topic: Reading from CD
Replies: 4
Views: 4755

Reading from CD

I've just started working with DCMTK. I have data sets that are on read only media, some with DICOMDIR, some without. Is there a way to leverage the DicomdirInterface class to read the files on the CD that do not have a DICOMDIR and create the proper hierarchy? Also, some of the data sets have names...