`
qimo601
  • 浏览: 3445815 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论
文章列表
  Author Message
PACS connection Moderator: Moderator Team  
  通过DCMTK的DCMSCU,从PACS获取图像,看看人家咋回答的。 Receiving Images from PACS using DCMSCU Moderator: Moderator Team  
Author Message manoindia2020  Post subject: DCMSCU get series
转载:http://forum.dcmtk.org/viewtopic.php?f=1&t=2812&hilit=DCMNET connect to PACS system biginner question Moderator: Moderator Team  
  DcmSCU example program This is example code how to program an actual DICOM client with the DcmSCU class. In particular, it demonstrates how to send an ECHO to the server (usually a PACS), receive a list of studies the PACS has (Query) and downloads them (Retrieve). For this last s ...
  Howto: Extract Overlay Data Here's an example that shows how it works in principle: Source Code   #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmimgle/dcmimage.h" int main(int argc, char *argv[]) { DicomImageClass::setDebugLevel(0xff); DicomI ...
  Howto: Accessing Compressed Data If compressed DICOM images are loaded, DCMTK most of the time does the job of decompressing the image data itself, e.g. when the user feeds it into the DicomImage class for visualization or directly calls chooseRepresentation() to change the transfer syntax. How ...
  Howto: Access multi-frame images without loading complete pixel data Here's an example that shows how to access the individual frames of a large multi-frame image (for visualization purposes) without loading the complete pixel data into main memory. The parameter fcount in the DicomImage const ...
  Howto: Generate Unique Identifier (UID) Here's an example that shows how the generation of three new UIDs works (e.g. to be used for a new SOP Instance created by dump2dcm) :
  Examples The following example shows how to load a DICOM file and output the patient's name:   DcmFileFormat fileformat; OFCondition status = fileformat.loadFile("test.dcm"); if (status.good()) { OFString patientName; if (fileformat.getDataset()->findAndGetOFString(DCM_P ...
  Howto: Remove private data from a DICOM dataset There is no ready-to-use function in DCMTK to delete all private data from a DICOM dataset. However, using the API of DcmItem and the fact that all private data has an odd group number, it is pretty easy to do this. Here is some sample code for a ...
  Howto: Add private data elements to a DICOM dataset The following example shows how to add private data elements to a DICOM dataset (if not present yet):   #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" #define PRV_PrivateCreator DcmTag(0x0029, 0x ...
  Howto: Get information from a sequence item The following example shows, how to get the Code Meaning from the Procedure Code Sequence.   #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" int main(int argc, char *argv[]) { DcmFileFormat filefor ...
  Howto: Add an item to a sequence The following example shows, how to add a new item and the required UIDs to the Referenced Image Sequence. This also works if there was previously no Referenced Image Sequence in the image file test.dcm. #include "dcmtk/config/osconfig.h" #inclu ...
Global site tag (gtag.js) - Google Analytics