Search found 21 matches
- Fri, 2008-09-12, 16:11
- Forum: DCMTK - General
- Topic: Problem compressing XA multiframe
- Replies: 4
- Views: 6271
- Tue, 2008-09-09, 16:27
- Forum: DCMTK - General
- Topic: Problem compressing XA multiframe
- Replies: 4
- Views: 6271
The only difference in your test is the OS. It's probably something specific to the Windows code... C:\>dcmcjpeg_ori +un +ho +rm +q 90 +eb xa_original.dcm xa_lossy.dcm -v -d reading input file xa_original.dcm Convert DICOM file to compressed transfer syntax <--- crashes after this C:\>dcmcjpeg_ori -...
- Fri, 2008-09-05, 18:07
- Forum: DCMTK - General
- Topic: Problem compressing XA multiframe
- Replies: 4
- Views: 6271
Problem compressing XA multiframe
I'm trying to compress a file using the precompiled Windows binaries. It's a XA multiframe file, you can download it from: http://rapidshare.com/files/142877809/xa_original.zip.html Lossless compression works fine, but lossy compression does not. This is the command I use: dcmcjpeg +un +ho +rm +q 90...
- Mon, 2007-06-18, 15:19
- Forum: DCMTK - General
- Topic: Empty pixeldata
- Replies: 1
- Views: 2873
Empty pixeldata
Just reporting a tiny bug... I have an image generated by a Toshiba Aquilion that has empty pixeldata (zero length). That's weird but not the point :P Compressing this image works, decompressing it does not (DcmFileFormat::saveToFile() fails). So I have a Dicom server that received, compressed and s...
- Fri, 2006-12-15, 17:24
- Forum: DCMTK - General
- Topic: UN_SQ
- Replies: 4
- Views: 5357
- Fri, 2006-12-15, 16:05
- Forum: DCMTK - General
- Topic: UN_SQ
- Replies: 4
- Views: 5357
- Fri, 2006-12-15, 14:08
- Forum: DCMTK - General
- Topic: UN_SQ
- Replies: 4
- Views: 5357
UN_SQ
I had an image in Implicit Little that my application encoded as Explicit Little. I wanted my code to treat an unkown data element (not in my dictionary) with undefined length as a sequence, but I made a mistake and it encoded it as UN. I wanted it to be SQ. Here is the resulting image http://rapids...
- Mon, 2006-11-20, 13:56
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
- Tue, 2006-11-14, 14:20
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
Yes, that's correct... One more problem :P: to work around this I decided to, after scaling, if the image was compressed, I compress it again (because createScaledImage() is decompressing it). Problem is, that seems to work only with lossless compression. So if I do this: dcmcjpeg.exe scaled.dcm sca...
- Mon, 2006-11-13, 20:03
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
Okay, so we have managed to render the image properly... We were expecting it be like this (3 frames/3 pixels): RRR GGG BBB RRR GGG BBB RRR GGG BBB Instead it is: RRR RRR RRR GGG GGG GGG BBB BBB BBB Now the question is: is this how it should be for a multiframe colored by plane image? I'm not famili...
- Mon, 2006-11-13, 18:42
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
This seems wrong: The only difference I can see in the definition of the Image Pixel Module between the unscaled and the scaled image is that the latter uses color-by-plane ordering of the pixel data wheras the source image uses color-by-pixel (this can be modified through the parameters passed to t...
- Mon, 2006-11-13, 14:29
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
- Mon, 2006-11-13, 14:24
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
Hmm... The colors are wrong in our own viewer too. IrfanView (with Dicom plugin) also shows the wrong colors. Changing this dcmdjpeg compressed uncompressed to dcmdjpeg +px compressed uncompressed Should give us a colored by pixel image, right? But the results are the same... Using +pl results in th...
- Thu, 2006-11-09, 19:42
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
Can anyone else give this a try? Anyone really, no need to be a dcmtk developer :-)... Just to make sure it isn't something I'm doing wrong, since Marco said dcmdjpeg + dcmscale works... Download the latest dcmtk Windows binaries, download the image I linked in the first post, unrar it, and rename i...
- Thu, 2006-11-09, 13:14
- Forum: DCMTK - General
- Topic: problem with scaling (RGB multiframe)
- Replies: 13
- Views: 20241
hmmm... Still doesn't work here... Added this at the top of my scaling function DJDecoderRegistration::registerCodecs(); // register JPEG codecs It does create file, but with a new bug :P The created file is larger than the input and ezDicom can't read it. Its transfer syntax is set to JPEG Lossless...