DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sun, 2018-01-21, 15:27

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Print true-size
PostPosted: Thu, 2006-06-15, 15:43 
Offline

Joined: Thu, 2006-06-15, 15:07
Posts: 2
Hi,

I am trying to print cropped images to either Kodak, or Fuji printer at true-size. I believe I need to send the RequestedImageSize tag the printer. For an image with pixelspacing of 0.125mm, and columns of 1420, I am sending RequestedImageSize of 178. But on Kodak, the image came out zoomed to fit the film, while Kodak doesn't print at all. I was wondering if there is any other tags that need to be set in addition to RequestedImageSize. Any advise would be greatly appreciated.

--Wenchao--


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2006-06-16, 13:56 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1209
Location: Oldenburg, Germany
The requested image size of 178 (mm width) is correct. However, please note that Requested Image Size is an optional attribute and not every printer will support it - printers may completely ignore the attribute or reject the N-SET message when the attribute is present. Check the conformance statement of the printer to see whether or not true size printing is supported. Another issue may exist when the requested size is larger than the size available in the image box on the page (which should not be the case here if your image is printed with a STANDARD\1,1 layout) - DICOM does not prescribe a specific behavior of the printer in this case, and a printer might just ignore the attribute in that case or produce a weird printout.


Top
 Profile  
 
 Post subject:
PostPosted: Sun, 2006-06-18, 18:06 
Offline

Joined: Thu, 2006-06-15, 15:07
Posts: 2
I think I found where the problem is. By setting RequestedSize in the cfg file (tcpprt.cfg), the print scu (tcpprt.cc) sends a seperate N-SET command of BasicGrayscaleImageBox for the RequesteImageSize tag, instead of sending the tag with the other mandatory ones (ie. BasicGrayscaleImageSequence). As a result, the printers either rejects the N-SET or ignors it.

After modified both psvauto.cc and psvmib.cc, so that the RequestedImageSize tag is sent with all other BasicGrayscaleImageBox tags in a single N-SET, I can now print true-size images to Kodak, Agfa, and Fuji printers. I can post the code if anyone interested.

Thanks.


--Wenchao--


Top
 Profile  
 
 Post subject:
PostPosted: Wed, 2006-06-21, 09:42 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1209
Location: Oldenburg, Germany
Quote:
After modified both psvauto.cc and psvmib.cc, so that the RequestedImageSize tag is sent with all other BasicGrayscaleImageBox tags in a single N-SET, I can now print true-size images to Kodak, Agfa, and Fuji printers. I can post the code if anyone interested.
Yes, please do.


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2010-12-20, 18:41 
Offline

Joined: Mon, 2010-12-20, 17:23
Posts: 3
I would like to achieve true size printing in Osirix. Osirix use dcmprint, apparently version 3.5.4 so I was wondering if I have any change to achieve this by adding RequestedSize or I will have same problem as wenchao. Was posted bugfix for this issue? Unfortunately I can't investigate source code in printdicom, because it's not freely available and Osirix use dynamic library.

Thanks for any feedback.

Jarda


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group