Search found 169 matches

by paolom
Mon, 2017-02-06, 22:54
Forum: DCMTK - Installation
Topic: Error with Dcmtk_20161102 on Mac Os X Sierra
Replies: 1
Views: 2516

Error with Dcmtk_20161102 on Mac Os X Sierra

Hi, I'm trying to compile the snapshot 20161102 on Mac Os X Sierra 10.12.3. The compilation is ok, but when I try to use the compiled libs on my project I received this error: Undefined symbols for architecture x86_64: "FGFrameAnatomy::FGFrameAnatomy()", referenced from: FGFactory::create(...
by paolom
Fri, 2016-10-28, 19:03
Forum: DCMTK - General
Topic: Write JPEG image to stream
Replies: 3
Views: 4420

Re: Write JPEG image to stream

So is it possible to make a JPEG to a standard file only? Not in memory?
by paolom
Fri, 2016-10-28, 14:46
Forum: DCMTK - General
Topic: Write JPEG image to stream
Replies: 3
Views: 4420

Write JPEG image to stream

Hi, I want to convert a Dicom Image to JPEG stream. To make this I'm trying to redirect the stdout to a stringstrem buffer, but it doesnt' work. This is the code: std::stringstream out; std::streambuf * old = std::cout.rdbuf(); std::cout.rdbuf(out.rdbuf()); DiJPEGPlugin plugin; plugin.setQuality(OFs...
by paolom
Fri, 2016-10-21, 17:58
Forum: DCMTK - General
Topic: DcmDicomdir from an input stream
Replies: 4
Views: 4888

DcmDicomdir from an input stream

Hi, I'm reading some dicom files from input stream whit this code: DcmInputBufferStream dataBuf; dataBuf.setBuffer(buffer, buflen); dataBuf.setEos(); DcmFileFormat fileFormat; fileFormat.transferInit(); OFCondition cond = fileFormat.read(dataBuf); fileFormat.transferEnd(); Now I need to parse DICOMD...
by paolom
Mon, 2015-10-05, 13:42
Forum: DCMTK - General
Topic: FrameVOILUTSequence on PerFrameFunctionalGroupsSequence
Replies: 3
Views: 5021

Re: FrameVOILUTSequence on PerFrameFunctionalGroupsSequence

Which setter do I use?

I've tried with setVoiLUT() but it doesn't work.

Do I need to apply individually windowCenter and windowWidth and not the entire VOI LUT?
by paolom
Mon, 2015-10-05, 13:33
Forum: DCMTK - General
Topic: FrameVOILUTSequence on PerFrameFunctionalGroupsSequence
Replies: 3
Views: 5021

FrameVOILUTSequence on PerFrameFunctionalGroupsSequence

Hi, I want to apply a FrameVOILut on a Multiframe Dicom Images. This is a piece of DICOM that contains one item of FrameVOILUTSequence (5200,9230) SQ (Sequence with explicit length #=34) # 10948, 1 PerFrameFunctionalGroupsSequence (fffe,e000) na (Item with explicit length #=4) # 314, 1 Item (0018,95...
by paolom
Wed, 2015-06-10, 16:33
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 3
Views: 4260

Re: Modality LUT Sequence

..whether the output of the LUT creates many different grayscale values So do you think that I need to create the DicomImage whit the default modality LUT and analyze the pixelData, pixel by pixel, and If all the pixels are white recreate the DicomImage with the CIF_IgnoreModalityTransformation ? I...
by paolom
Tue, 2015-06-09, 17:58
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 3
Views: 4260

Modality LUT Sequence

Hi, I'm creating a DicomImage with default constructor and I obtain a white image. After a dump, I found that this DICOM file has this field: (0028,3000) SQ (Sequence with explicit length #=1) # 5820, 1 ModalityLUTSequence (fffe,e000) na (Item with explicit length #=4) # 5812, 1 Item (0028,3002) SS ...
by paolom
Wed, 2015-04-01, 17:22
Forum: DCMTK - General
Topic: DVPresentationState on 16 bit image
Replies: 1
Views: 2969

DVPresentationState on 16 bit image

Hi, I use this code from the doc to attach presentation state to image data DcmFileFormat imagefile; DcmFileFormat gspsfile; if (imagefile.loadFile("image.dcm").good() && gspsfile.loadFile("gsps.dcm").good()) { DVPresentationState pstate; // presentation state handler if ...
by paolom
Fri, 2014-10-17, 14:36
Forum: DCMTK - General
Topic: Error compilation dcmtk-3.6.1_20140617 with Qt 5.3
Replies: 3
Views: 4461

Re: Error compilation dcmtk-3.6.1_20140617 with Qt 5.3

Where can I enable this support?
by paolom
Thu, 2014-10-16, 16:44
Forum: DCMTK - General
Topic: Error compilation dcmtk-3.6.1_20140617 with Qt 5.3
Replies: 3
Views: 4461

Error compilation dcmtk-3.6.1_20140617 with Qt 5.3

Hi, I've compiled the dcmtk-3.6.1_20140617 under Windows 7 with CMAKE and it works. I create a project with Qt 5.3 including dcmtk-3.6.1_20140617 the and when I try to compile I get many errors...this is the first: tracelog.h(59) : error C2678: binary '+' : no operator found which takes a left-hand ...
by paolom
Wed, 2014-10-08, 16:12
Forum: DCMTK - Installation
Topic: dcmtk-3.6.1_20140617 64 bit with MacOsX 10.9.5
Replies: 5
Views: 11272

dcmtk-3.6.1_20140617 64 bit with MacOsX 10.9.5

Hi, I try to compile dcmtk-3.6.1_20140617 to 64 bit on Mac Os X 10.9.5 and it works. When I try to create a Qt Project I receive this errors: Undefined symbols for architecture x86_64: "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) c...
by paolom
Mon, 2013-08-05, 17:50
Forum: DCMTK - General
Topic: Rescale slope/intercept on MONOCHROME1
Replies: 5
Views: 8897

Re: Rescale slope/intercept on MONOCHROME1

So, what the mean of this constructor?? DicomImage::DicomImage ( DcmObject * object, const E_TransferSyntax xfer, const double slope, const double intercept, const unsigned long flags = 0, const unsigned long fstart = 0, const unsigned long fcount = 0 ) how can I consider the rescale Slope/Intercept...
by paolom
Mon, 2013-08-05, 17:31
Forum: DCMTK - General
Topic: Rescale slope/intercept on MONOCHROME1
Replies: 5
Views: 8897

Re: Rescale slope/intercept on MONOCHROME1

As you can see from the dump the values are:

RescaleIntercept (0028,1052) is 0
RescaleSlope (0028,1053) is 1

I extract these values from the dicom dataset if presents and I use it on the DicomImage constructor.

It works for all the others DICOM Image.

What I'm wrong?
by paolom
Mon, 2013-08-05, 15:43
Forum: DCMTK - General
Topic: Rescale slope/intercept on MONOCHROME1
Replies: 5
Views: 8897

Rescale slope/intercept on MONOCHROME1

Hi, I've a DICOM image CR with this value: # Dicom-File-Format # Dicom-Meta-Information-Header # Used TransferSyntax: Little Endian Explicit (0002,0000) UL 214 # 4, 1 FileMetaInformationGroupLength (0002,0001) OB 00\01 # 2, 1 FileMetaInformationVersion (0002,0002) UI =ComputedRadiographyImageStorage...