Search found 83 matches
- Mon, 2009-08-17, 03:23
- Forum: DCMTK - General
- Topic: Something about the findscu tool
- Replies: 8
- Views: 10185
After I clicked the button on the messagebox to terminate the application, the detailed information are as follow: 0009\000d\0001\0002\0002\0002\0003\0002\0006\000c\000d\0004\0001\0007\0005\0007\ 0001\0003\0003\0008\000b\0007\0001\0000\0006\0006\0001\0000\0001\0000\0001\0000\ 0004\0005\0004\0001\000...
- Fri, 2009-08-14, 10:27
- Forum: DCMTK - General
- Topic: Something about the findscu tool
- Replies: 8
- Views: 10185
Something about the findscu tool
Recently I have been using my own codes as a find service provider and the findscu embedded in the dcmtk as a service user. The results were: The information of the special dicom file (including the dataset) could be found and printed in the commandline window, but could always cause an access viola...
- Thu, 2009-06-25, 01:25
- Forum: DCMTK - General
- Topic: How to send an Echo RSP message
- Replies: 2
- Views: 4078
Thank you for your reply! This has been solved by applying the ASC_acceptContextsWithPreferredTransferSyntaxes and the ASC_acknowladgeAssociation routins. I think that before accepting the association we shall accept the pesentation context and the transfer syntaxes and accept the association by usi...
- Mon, 2009-06-22, 03:27
- Forum: DCMTK - General
- Topic: How to send an Echo RSP message
- Replies: 2
- Views: 4078
How to send an Echo RSP message
Since there is only an echoscu application but no echoscps in dcmtk, I attempted to edit the codes, which will play an SCP role, by myself. The main codes are here: T_ASC_Association *assoc; if (ASC_receiveAssociation(net, &assoc,ASC_DEFAULTMAXPDU).good()) { cout<<"The association has been ...
- Wed, 2009-06-17, 04:27
- Forum: DCMTK - General
- Topic: DUL_ASSOCIATESERVICEPARAMETERS and T_ASC_Parameters
- Replies: 0
- Views: 15458
DUL_ASSOCIATESERVICEPARAMETERS and T_ASC_Parameters
What' s the differences between the maxPDU(peerMaxPDU) parameter in DUL_ASSOCIATESERVICEPARAMETERS structure and the ourMaxPDUReceiveSize(theirMaxPDUReceiveSize) parameter in T_ASC_Parameters?
Thanks in advance!
Thanks in advance!
- Tue, 2009-06-09, 11:06
- Forum: DCMTK - General
- Topic: An issue about using secondary pointer with dcmtk
- Replies: 4
- Views: 4280
- Tue, 2009-06-09, 09:33
- Forum: DCMTK - General
- Topic: An issue about using secondary pointer with dcmtk
- Replies: 4
- Views: 4280
Sorry, I' ve made a mistake in this sentence:
After I' ve changed the parameter which was passed to createWindowsDIB from "nframe-1" to "0", the codes worked.
Code: Select all
int num=imageArray[nframe-1]->createWindowsDIB(pixdata,pixnum,nframe-1,8,0,0);
- Tue, 2009-06-09, 03:45
- Forum: DCMTK - General
- Topic: An issue about using secondary pointer with dcmtk
- Replies: 4
- Views: 4280
An issue about using secondary pointer with dcmtk
Maybe this is not a problem with dcmtk. I' ve dynamically appied a secondary pointer in order to manage a DicomImage object array. The codes are here: OFString ofstr; DicomImage **imageArray=NULL; pfileformat->getDataset()->findAndGetOFString(DCM_NumberOfFrames,ofstr); nf=atoi(ofstr.data()); const u...
- Wed, 2009-05-27, 02:02
- Forum: DCMTK - General
- Topic: How to get the error information
- Replies: 15
- Views: 19105
- Tue, 2009-05-26, 02:10
- Forum: DCMTK - General
- Topic: How to get the error information
- Replies: 15
- Views: 19105
reading DICOM file: US-PAL-8-10x-echo preparing pixel data. writing frame 1 to US-PAL-8-10x-echo.0.ppm writing frame 2 to US-PAL-8-10x-echo.1.ppm writing frame 3 to US-PAL-8-10x-echo.2.ppm writing frame 4 to US-PAL-8-10x-echo.3.ppm writing frame 5 to US-PAL-8-10x-echo.4.ppm writing frame 6 to US-PAL...
- Mon, 2009-05-25, 11:17
- Forum: DCMTK - General
- Topic: How to get the error information
- Replies: 15
- Views: 19105
- Fri, 2009-05-22, 01:29
- Forum: DCMTK - General
- Topic: How to get the error information
- Replies: 15
- Views: 19105
- Thu, 2009-05-21, 10:45
- Forum: DCMTK - General
- Topic: Writing the data into a output stream
- Replies: 1
- Views: 2456
Writing the data into a output stream
I wanted to write the data from a dicom file into a stream, so I wrote the following codes: DcmFileFormat fileformat; fileformat.loadFile(filename); void *pBuf=malloc(100); memset(pBuf,0,100); DcmOutputBufferStream output(pBuf,100); fileformat.write(output,EXS_LittleEndianImplicit); But it did not s...
- Thu, 2009-05-21, 02:43
- Forum: DCMTK - General
- Topic: How to get the error information
- Replies: 15
- Views: 19105
One report is: reading DICOM file: US-PAL-8-10x-echo preparing pixel data. writing frame 1 to US-PAL-8-10x-echo.0.ppm writing frame 2 to US-PAL-8-10x-echo.1.ppm writing frame 3 to US-PAL-8-10x-echo.2.ppm writing frame 4 to US-PAL-8-10x-echo.3.ppm writing frame 5 to US-PAL-8-10x-echo.4.ppm writing fr...
- Wed, 2009-05-20, 01:22
- Forum: DCMTK - General
- Topic: How to get the error information
- Replies: 15
- Views: 19105
The report is: reading DICOM file: IM_0044 preparing pixel data. ERROR: cannot change to unencapsulated representation for pixel data ! $dcmtk: dcm2pnm v3.5.4 2005-12-20 $ dcm2pnm: Convert DICOM images to PGM/PPM, PNG, TIFF or BMP error: Invalid data value As for another sample, there were just mess...