In your opinion,
can I take the same pixel data from DicomImage to Canvas Image?
I need to not duplicate the pixel data to render a DicomImage with Canvas...
Is it possible with
inline const void getOutputData() ???
Many thanks
Search found 169 matches
- Wed, 2012-02-22, 15:50
- Forum: DCMTK - General
- Topic: RGB pixel value
- Replies: 26
- Views: 29791
- Tue, 2012-02-21, 17:37
- Forum: DCMTK - General
- Topic: RGB pixel value
- Replies: 26
- Views: 29791
I use the getOutputData to obtain the pixelData of the DICOM Image. I use this pixel data to create my canvas image. I make some operation to this canvas image ( for instance, I zoom the canvas and I apply some smoothing to it), so I lost the original pixel data. The problem is that If I get the nth...
- Tue, 2012-02-21, 16:18
- Forum: DCMTK - General
- Topic: RGB pixel value
- Replies: 26
- Views: 29791
Yes, I'm sorry.... the getInterDat() returns a DiPixel * which has: getData() to retrieve a pointer to pixel data. I've seen that for RGB images this pixelData has the size of ( image->width() * image->height()), so I've seen that this pixelData is not the complete array of all RGB pixel data ( but ...
- Tue, 2012-02-21, 15:35
- Forum: DCMTK - General
- Topic: RGB pixel value
- Replies: 26
- Views: 29791
- Mon, 2012-02-20, 11:17
- Forum: DCMTK - General
- Topic: RGB pixel value
- Replies: 26
- Views: 29791
RGB pixel value
Hi, I need to obtain the RGB value of a RGB DICOM Image pixel. I've my DicomImage and I create my Canvas Image with getOuputData() function. The problem is that I lost the original pixel data when I scale my Canvas Image. With MONOCHROME DICOM image I can get the original pixel value with getInterDa...
- Tue, 2011-12-20, 16:43
- Forum: DCMTK - Installation
- Topic: Get all dicom tags on the dictionary
- Replies: 1
- Views: 4638
Get all dicom tags on the dictionary
How can I get all of the dicom tags of the DCMTK??
I've the dicom.dic linked statically on the dcmtk.
Is there a static array or something else to obtain it?
I've the dicom.dic linked statically on the dcmtk.
Is there a static array or something else to obtain it?
- Tue, 2011-08-30, 11:12
- Forum: DCMTK - General
- Topic: Built-in data dictionary
- Replies: 1
- Views: 2670
Built-in data dictionary
Hi, I'm working on Windows 7, with dcmtk-3.6.0. I've compiled dcmtk with CMake and when I try to generate the VS project I read this: INFO: DCMTK's builtin private dictionary support will be disable. I expected that to use the binary I need to set the DICMDICTPATH to the dicom.dic file. But when I t...
- Mon, 2011-04-11, 12:47
- Forum: DCMTK - General
- Topic: DICOMDIR problem
- Replies: 1
- Views: 3212
DICOMDIR problem
Hi, When I try to read the DICOMDIR the code exit on the first nextSub() level. I think that some tag missing on the DICOMDIR ( like the FileSetID ) or any other. This is a part of the code that I use to read the DICOMDIR. The code exit on the first nextSub(). DcmDirectoryRecord * Dir = &(DicomD...
- Thu, 2011-02-24, 09:30
- Forum: DCMTK - General
- Topic: US Multiframe deallocation
- Replies: 9
- Views: 10053
- Wed, 2011-02-23, 16:58
- Forum: DCMTK - General
- Topic: US Multiframe deallocation
- Replies: 9
- Views: 10053
- Wed, 2011-02-23, 16:39
- Forum: DCMTK - General
- Topic: US Multiframe deallocation
- Replies: 9
- Views: 10053
Hi Jorg, I think I've found the problem. In my program , I use to save each frame of a Multiframe with own dicom reference. I alloc the DcmFileFormat of the dicom Multiframe and after I give it to all the frame object, using DcmFileFormat::clone(). I think that the clone make a deep copy. This is th...
- Tue, 2011-02-22, 10:35
- Forum: DCMTK - General
- Topic: US Multiframe deallocation
- Replies: 9
- Views: 10053
- Mon, 2011-02-21, 16:02
- Forum: DCMTK - General
- Topic: US Multiframe deallocation
- Replies: 9
- Views: 10053
- Mon, 2011-02-21, 15:12
- Forum: DCMTK - General
- Topic: US Multiframe deallocation
- Replies: 9
- Views: 10053
US Multiframe deallocation
Hi, I've an US Multiframe PALETTE COLOR. When I get a single frame of this image and I create a DicomImage with the DicomImage * image= new DicomImage(dataSet, dataSet->getOriginalXfer(), CIF_UsePartialAccessToPixelData, iFrameNumber, 1); the image size is 3 MB in RAM. When I delete the image, the m...
- Thu, 2011-01-13, 17:38
- Forum: DCMTK - General
- Topic: CIF_UsePartialAccessToPixelData with JPEG Baseline multiframe
- Replies: 11
- Views: 10105
I've done from the original image ( W: 480 H: 512 ) and PixelAspectRatio ( 586/804)
but the result height is always 512.
Code: Select all
const unsigned long a = 0, b = 0;
DicomImage * im = image->createScaledImage(a);