Leadtools.Dicom.WCF
LEAD Technologies, Inc

GetDicom Method (DICOMService)






A System.String representing the SOP Instance UID of the DICOM object to match.
true to return the DICOM object without the image data; otherwise false.
Character string that contains the UID of the new Transfer Syntax, pass null or System.String.Empty to keep the original Transfer Syntax.
The quality factor (Q factor) is a number that determines the degree of loss in the compression process. You can set a value from 2 to 255, where 2 is the highest quality and 255 is the most compression. This parameter only applies when the new Transfer Syntax will involve compressing pixel data using a lossy compression. This value will be ignored if transferSyntax is null or System.String.Empty.
user custom data.
Retrieves a DICOM object with options.
Syntax
public virtual byte[] GetDicom( 
   string sopInstanceUID,
   bool stripImage,
   string transferSyntax,
   int qualityFactor,
   string extraData
)
'Declaration
 
Public Overridable Function GetDicom( _
   ByVal sopInstanceUID As String, _
   ByVal stripImage As Boolean, _
   ByVal transferSyntax As String, _
   ByVal qualityFactor As Integer, _
   ByVal extraData As String _
) As Byte()
'Usage
 
Dim instance As DICOMService
Dim sopInstanceUID As String
Dim stripImage As Boolean
Dim transferSyntax As String
Dim qualityFactor As Integer
Dim extraData As String
Dim value() As Byte
 
value = instance.GetDicom(sopInstanceUID, stripImage, transferSyntax, qualityFactor, extraData)
public virtual byte[] GetDicom( 
   string sopInstanceUID,
   bool stripImage,
   string transferSyntax,
   int qualityFactor,
   string extraData
)
 function Leadtools.Dicom.WCF.DICOMService.GetDicom( 
   sopInstanceUID ,
   stripImage ,
   transferSyntax ,
   qualityFactor ,
   extraData 
)
public:
virtual array<byte>^ GetDicom( 
   String^ sopInstanceUID,
   bool stripImage,
   String^ transferSyntax,
   int qualityFactor,
   String^ extraData
) 

Parameters

sopInstanceUID
A System.String representing the SOP Instance UID of the DICOM object to match.
stripImage
true to return the DICOM object without the image data; otherwise false.
transferSyntax
Character string that contains the UID of the new Transfer Syntax, pass null or System.String.Empty to keep the original Transfer Syntax.
qualityFactor
The quality factor (Q factor) is a number that determines the degree of loss in the compression process. You can set a value from 2 to 255, where 2 is the highest quality and 255 is the most compression. This parameter only applies when the new Transfer Syntax will involve compressing pixel data using a lossy compression. This value will be ignored if transferSyntax is null or System.String.Empty.
extraData
user custom data.

Return Value

An data buffer containing the requested DICOM Object.
Remarks

This method allows you to retrieve a DICOM object with or without the image data. This is useful when you are only interested in the DICOM information and don’t want the original image.

You can also retrieve the DICOM object with your preferred Transfer Syntax and compression quality factor.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DICOMService Class
DICOMService Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.