Search found 41 matches

by guy
Mon, 2005-01-24, 14:54
Forum: DCMTK - General
Topic: Presentation State, Presentation LUT...
Replies: 2
Views: 5453

Presentation State, Presentation LUT...

Hello, I have some questions about Presentation State and Presentation LUT in the case of printing. First, if I I have well read and understood the NEMA PS3.3, the Presentation LUT is applied to Grayscale Image to convert values in P-Values, but what about the Color Images ? No Presentation LUT requ...
by guy
Fri, 2005-01-21, 11:29
Forum: DCMTK - General
Topic: Encapsulate DVPStoredPrint (please, important, end of practice soon)
Replies: 1
Views: 4656

Encapsulate DVPStoredPrint (please, important, end of practice soon)

I still have the problem of DVPStoredPrint, maybe it's a question for Marco but if you could give me a solution, don't hesitate! Below, my problem : the StoredPrintObject is defined as a private member in the DVInterface class, and I want to encapsulate this class to allow the implementation of Basi...
by guy
Fri, 2005-01-21, 09:43
Forum: DCMTK - General
Topic: Storing pixel information of a device context into pixel data array
Replies: 11
Views: 15241

"""

There are some attributes you have to set, view the PS3 A.8 concerning the secondary captures. For Secondary Capture RGB for example: UID = "1.2.840.10008.5.1.4.1.1.7.4"; --> Multi-Frame True Color SC PhotometricInterpretation = "RGB"; SamplesPerPixel = 3; BitsAllocated = 8; Bits...
by guy
Wed, 2005-01-19, 12:54
Forum: DCMTK - General
Topic: Storing pixel information of a device context into pixel data array
Replies: 11
Views: 15241

convert DC to Dicom file

If I have well understood what you want to do, it's quiete easy. For being sure, you want to convert the image in your device context into a dicom file, aren't you ? I'm sure you are able to set the pixels of your DC in a buffer. If you have an image R (rows) * C (columns), you will get a buffer wit...
by guy
Wed, 2005-01-19, 10:44
Forum: DCMTK - General
Topic: Dicomscope Print SCP and Layout
Replies: 3
Views: 8222

DVPSStored Print and layout

Thanks Jorg, I have managed to send a print job with various images to the dicomscope and to view them. I still have the problem of DVPStoredPrint, maybe it's a question for Marco but if you could give me a solution, don't hesitate! Below, my problem : the StoredPrintObject is defined as a private m...
by guy
Tue, 2005-01-18, 12:31
Forum: DCMTK - General
Topic: Dicomscope Print SCP and Layout
Replies: 3
Views: 8222

Layout and Stored Print

For my second question, I have changed the displayformat in dicomscope.cfg but I still have the error "unable to create basic film box" using the dicomscope print scp, whereas using Jdicom Print Server GUI, i haven't error but I can't see the result. remark : i set two grayscale image box ...
by guy
Tue, 2005-01-18, 11:39
Forum: DCMTK - General
Topic: Dicomscope Print SCP and Layout
Replies: 3
Views: 8222

Dicomscope Print SCP and Layout

Hello, I will soon finish my pratice and before I must terminate some points, so if you can help me, it will be great. 2 questions : 1)the StoredPrintObject is defined as a private member in the DVInterface class, and I want to encapsulate this class to allow the implementation of Basic Color Image ...
by guy
Fri, 2005-01-14, 12:01
Forum: DCMTK - General
Topic: DICOM RGB IMAGES
Replies: 5
Views: 9543

Create Image Color

Hello Jorg, I try to create a dicom color image RGB in vain ... If someone can help me with this code: DcmFileFormat *dfile = new DcmFileFormat(); OFCondition cond = dfile->loadFile("c:\\hg.dcm", EXS_Unknown, EGL_withoutGL, DCM_MaxReadLength,0); if (cond.bad()) AfxMessageBox ("pb lect...
by guy
Fri, 2005-01-14, 10:16
Forum: DCMTK - General
Topic: Attributes public/private
Replies: 0
Views: 8266

Attributes public/private

Hello Jorg, and thanks for answering. I have read the dcm2pnm as you tell me and indeed it seems possible to not redefine or rewrite code for loading color image. The next problem I find was with the StoredPrintObject which is defined as a private member in the DVInterface class, and I want to encap...
by guy
Wed, 2005-01-12, 15:56
Forum: DCMTK - General
Topic: DICOM RGB IMAGES
Replies: 5
Views: 9543

Dicom RGB Color Image and private attributes in DCMTK

Re, sorry for my latest question, I found my answer fastly. I will use DicomImage and as a member of this class DiImage (with DiRGBImage type). So, I have to re-write the function Init() of DicomImage to allow a PhotoMetricInterpretation of RGB. The problem is that you have declared some attributes ...
by guy
Wed, 2005-01-12, 14:53
Forum: DCMTK - General
Topic: DICOM RGB IMAGES
Replies: 5
Views: 9543

DICOM RGB IMAGES

Hello, I want to implement the Dicom RGB Color Image to implement later the Basic Color Image Box. I found in the DCMTK the class DicomImage, and only DicomMono1 and DicomMono2 derived from this class, but I also found the class belonging to DicomImage named DiColorImage (and DiRGBImage) Can you adv...
by guy
Fri, 2005-01-07, 15:22
Forum: DCMTK - General
Topic: Create a Stored Print Object
Replies: 3
Views: 6828

Create a Stored Print Object

I have managed to create my Stored Print Object and I succeed in spoolstoredprint it. In fact, in this function, it calls getfilename to access database giving the uid of series, study and instance to get the filename of the hardcopy, and I don't work with a database file (as index.dat in dcmtk). My...
by guy
Thu, 2005-01-06, 17:13
Forum: DCMTK - General
Topic: Create a Stored Print Object
Replies: 3
Views: 6828

Create a Stored print Object

Hello, I have managed to create manually an HardCopy (Grayscale and Color), and i would like now to create a Stored Print Object for this HardCopy. I use DCMTK functions and attributes to do this (DcmSequenceOfItems and DcmItem) to affect the value of the tags. But I have problems : 1- to understand...
by guy
Thu, 2005-01-06, 17:11
Forum: DCMTK - General
Topic: Create a Stored Print Object
Replies: 3
Views: 6828

Create a Stored Print Object

the question number 3 is :

- I create for the moment some items I put in a DcmSequenceOfItems for DCM_FilmBoxContentSequence and when I simulate to send the Stored Print to a printer with dcmprscu, I have this error.

you probably correct it.
by guy
Mon, 2005-01-03, 17:18
Forum: DCMTK - General
Topic: Print parameters
Replies: 6
Views: 11404

Print parameters solved and reflection

I think I have solved my problem re-testing with the command lines of DCMTK which give me the same errors. If I set min-density or trim mode with the dcmpsprt command line, no problem, HG and SPrint Object are created but if I send them with dcmprscu to the Printer (dcmprscp), there is a problem of ...