Does Print SCP support 12/16 Bit allocated dicom images

Questions regarding the DCMPRINT library, a DCMTK add-on that implements a DICOM Print Management SCP and SCU

Moderator: Moderator Team

Post Reply
Message
Author
mail2vguna
Posts: 41
Joined: Tue, 2013-07-23, 12:15
Location: Chennai, India

Does Print SCP support 12/16 Bit allocated dicom images

#1 Post by mail2vguna » Mon, 2021-03-08, 16:59

Hi

I am using DCMPRINT.

Does Print SCP support 12/16 bit allocated images? Based on my testing its working (good qulaity printed image) only but 12/16 bit images are giving bad quality printed images. This is my config file.

[[[DICOM]]]
[[TCPIP]]
[Server]
Address = 127.0.0.1
Port = 104
ServerAETitle = DICOM_PRINT
ClientAETitle= DICOM_PRINT
[[DIMSE]]
[Service Classes]
BasicGrayscaleMetaSOPClass = YES
BasicColorMetaSOPClass = YES
Annotation = YES
PrintJob = YES
PresentationLUT = YES
ImplicitOnly = NO
MaxPDU = 32768
Send12BitImages = YES
SendSessionCreateDataset = YES
GenerateSOPInstanceUID = YES
SuppressPrinterNGET = NO
[[[ANNOTATIONS]]]
[General]
Description = Annotations for CUSTOM-1 layout
CanonicalName = 1
[Line-1]
defaulttext = DICOM Sample Image
[Line-2]
defaulttext = Patient: (unnamed)
[[[CONFIGURATION]]]
[[PAGE SIZE]]
[A4]
Description = Page size A4
CanonicalName = A4
[8INX10IN]
Description = 8x10 inch
[10INX12IN]
Description = 10x12 inch
[10INX14IN]
Description = 10x14 inch
[11INX14IN]
Description = 11x14 inch
[14INX14IN]
Description = 14x14 inch
[14INX17IN]
Description = 14x17 inch
[24CMX24CM]
Description = 24x24 cm
[24CMX30CM]
Description = 24x30 cm
[[CONFIGURATION INFORMATION]]
[Spot_DiagLines]
Description = Use custom halftone procedure (diagonal lines)
CanonicalName = SPOT_DIAGLINES
[Spot_HorzLines]
Description = Use custom halftone procedure (horizontal lines)
[Spot_Dots]
Description = Use custom halftone procedure (dot raster)
[[MEDIUM TYPE]]
[PAPER]
Description = Create hardcopy on paper
CanonicalName = PAPER
[BLUE FILM]
Description = Create hardcopy on blue film
CanonicalName = BLUE FILM
[[[LAYOUTS]]]
[[STANDARD]]
[General]
Description = DICOM standard format
CanonicalName = STANDARD
[[COL]]
[General]
Description = DICOM standard column format
[[ROW]]
[General]
Description = DICOM standard row format
[[SLIDE]]
[General]
Description = 35mm Slides
[[SUPERSLIDE]]
[General]
Description = 40mm Slides
[[CUSTOM-1]]
[General]
Description = Custom printer layout
[[[CLIENT]]]
[[AUTO-1]]
[General]
Description = Printserver Custom Layout, 1 image/page, collated
Collation = NO
FilesPerPage = 1
[Session]
[PresentationLUT]
PresentationLUT = IDENTITY
PresentationLUTFile = gamma.lut
[Page]
ImageDisplayFormat = STANDARD\1,1
[Image-1]
File = 1

Does any changes need in config file? Much Appreciated your help. Thanks
Thanks
Guna

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1292
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: Does Print SCP support 12/16 Bit allocated dicom images

#2 Post by Marco Eichelberg » Tue, 2021-04-06, 14:45

Sorry for the late reply - apparently I missed this forum for quite some time. The print server in the DCMPRINT module (tcpsrv) does support both 8 bit images (BitsAllocated = 8, BitsStored = 8) and 12 bit images (BitsAllocated = 16, BitsStored = 12); these are the two image types defined in DICOM Grayscale Print Management. There is nothing to configure, the print server will always correctly handle what it gets. Note, however, that the PostScript language only supports 8 bit/pixel for grayscale, and the dithering algorithm in typical paper laser printers cannot even print that. Around 64 distinguishable shades of gray are what you can realistically expect on a paper print.

The print server in DCMTK (dcmprscp) also supports both, but can be configured to refuse 12/16 bit, which is sometimes useful for testing. It does not really print, though, but only store incoming print jobs in a database consisting of DICOM Hardcopy Grayscale Image and DICOM Stored Print files.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest