Search found 4 matches

by Jyunji Kuboya
Mon, 2005-02-21, 11:52
Forum: DCMTK - General
Topic: About the saving processing of the Lossless JPEG image
Replies: 6
Views: 10510

A loaded file might be edited. It occasionally save a file by a different file name. When saving a file, original "ImplementationVersionName" is added. Loaded DcmFileFormat is used for a display. Therefore, the display is likely to differ from DcmFileFormat that executed saveFile() and a f...
by Jyunji Kuboya
Mon, 2005-02-21, 05:17
Forum: DCMTK - General
Topic: About the saving processing of the Lossless JPEG image
Replies: 6
Views: 10510

This time codes it as follows. DJEncoderRegistration::registerCodecs(); // register JPEG codecs DcmFileFormat fileformat; if (fileformat.loadFile("test.dcm").good()) { //new DcmFileFormat is created by a opened file. DcmFileFormat* pFileFormat = new DcmFileFormat(fileformat); DcmDataset *d...
by Jyunji Kuboya
Fri, 2005-02-18, 12:54
Forum: DCMTK - General
Topic: About the saving processing of the Lossless JPEG image
Replies: 6
Views: 10510

It goes according to the following procedures. 1.The source image is made in the shape that has already been compressed. 2.The source image is read with DcmFileFormat. 3.New DcmFileFormat is made by handling the copy constructor from read DcmFileFormat. 4.New DcmFileFormat is saved in the file. 5.Pi...
by Jyunji Kuboya
Fri, 2005-02-18, 05:48
Forum: DCMTK - General
Topic: About the saving processing of the Lossless JPEG image
Replies: 6
Views: 10510

About the saving processing of the Lossless JPEG image

Hi, everybody! :D I am trying the saving of the Lossless JPEG image. (At this time, it uses the copy constructor of DcmFileFormat) When copied DcmFileFormat is saved, PixelData of the saved file is lost. Condition: TransferSyntaxUID is "1.2.840.10008.1.2.70". How should be done the saving ...