This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, October 11, 2012 6:42:23 PM(UTC)
Groups: Registered
Posts: 71
Hello,
Can you please provide me some sample code to take a DICOM print of one of the frame of Multiframe XA image....
Thanks..
#2
Posted
:
Monday, October 15, 2012 6:34:14 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
First, you need to extract that frame from the original dataset then create a new Dicom dataset and insert the image into that newly created dataset.
After that, pass it as attribute list to N-SET command.
See the Table H.4-10 under the section H.4.3.1.2.1.1 of PS 3.4 of DICOM standard.
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Sunday, November 4, 2012 8:53:23 PM(UTC)
Groups: Registered
Posts: 71
Hello,
Can you please give me some sample code to do this i.e. extracting frame from original dataset and inserting image to newly created dataset? and how to pass it as attribute list to N-SET command?
Thanks...
#4
Posted
:
Monday, November 5, 2012 4:41:57 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
About the extraction of desired frame: you can use ds.GetImage method, please see the following help topic:
http://www.leadtools.com/help/leadtools/v175/dh/di/leadtools.dicom~leadtools.dicom.dicomdataset~getimage.html
Now you can create Dicom data set using:
DicomDataSet dataSet = new DicomDataSet()
About inserting a frame image to the newly created dataset: you can use ds.InsertImage Method, for more information, see the following help topic:
http://www.leadtools.com/help/leadtools/v175/dh/di/leadtools.dicom~leadtools.dicom.dicomdataset~insertimage.html
For the code of inserting a frame image to Dicom dataset, see the same help topic of GetImage Method:
http://www.leadtools.com/help/leadtools/v175/dh/di/leadtools.dicom~leadtools.dicom.dicomdataset~getimage.html
About Passing the Dataset to the NSET request, read the following help:
http://www.leadtools.com/help/leadtools/v175/dh/di/leadtools.dicom~leadtools.dicom.dicomnet~sendnsetrequest.html
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
#5
Posted
:
Wednesday, November 14, 2012 9:02:18 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Attached is a VS 2008 project using LEADTOOLS v17.5 designed to print single or multiframe XA datasets. This code could be modified to print images from other storage classes. This demo specifically uses a template dataset aimed at XA images. I have noted in the code where the changes should be made.
The method of printing is application-specific. This sample creates a single film session. It then creates a film box for each page of frames that will be sent to the SCP.
Steps for using this demo:
1.) Associate
2.) Create Film Session (pick a directory of files to print)
3.) Release
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.