Got it working now
Especially the mandatory attributes where necessary off course...
I will now try to get it done by GetBitmapBits or GetDIBits.
Thanks!
Search found 5 matches
- Fri, 2005-01-21, 12:23
- Forum: DCMTK - General
- Topic: Storing pixel information of a device context into pixel data array
- Replies: 11
- Views: 15299
- Fri, 2005-01-21, 02:42
- Forum: DCMTK - General
- Topic: Storing pixel information of a device context into pixel data array
- Replies: 11
- Views: 15299
Hello Mark, Thank you for your response. You were right about the reading upside down, but that was because I was studying a BMP example.. And since BMP's are stored upside down, I forgot to reverse it for the DC... I know that GetPixel/SetPixel is a slow operation, but frankly I don't really know h...
- Wed, 2005-01-19, 20:49
- Forum: DCMTK - General
- Topic: Storing pixel information of a device context into pixel data array
- Replies: 11
- Views: 15299
Thank you very much for your help, but I'm still having problems converting the device context to a 24 bit RGB. I searched through the internet for a solution/example, but was unable to find one... As I said, I'm pretty new when it comes to C++ imaging.. :) The code I have untill so far: void CVTApp...
- Wed, 2005-01-19, 11:51
- Forum: DCMTK - General
- Topic: Storing pixel information of a device context into pixel data array
- Replies: 11
- Views: 15299
Sorry to bump this thread again, but it would really helpful if someone could help me out... The application is one in a Doc/view architecture. From the active view, I get the device context. And now I want to store the image information in this device context into a DICOM file. But for this, I have...
- Mon, 2005-01-17, 22:43
- Forum: DCMTK - General
- Topic: Storing pixel information of a device context into pixel data array
- Replies: 11
- Views: 15299
Storing pixel information of a device context into pixel data array
Hello, I'm pretty new at imaging with C++, so I was hoping some could help me out... I have an application which displays an image retrieved from a scanner. So now I want to export these images to DICOM. Can someone please explain how I store the pixel data into the dataset? I know I have to use the...