DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomGlobal Class / ChangeLossyUIDs Property



In This Topic
    ChangeLossyUIDs Property (DicomGlobal)
    In This Topic
    Controls whether DicomObjects changes the UID when doing lossy compression
    Syntax
    'Declaration
     
    
    Public Shared Property ChangeLossyUIDs As Boolean
    'Usage
     
    
    Dim value As Boolean
     
    DicomGlobal.ChangeLossyUIDs = value
     
    value = DicomGlobal.ChangeLossyUIDs
    public static bool ChangeLossyUIDs {get; set;}
    public:
    static property bool ChangeLossyUIDs {
       bool get();
       void set (    bool value);
    }
    Remarks

    There are times when the negotiated transfer syntaxes for a DicomAssociation require a previously uncompressed (or losslessly compressed) image to be transmmited in a lossy form. Although the DICOM standard is not entirely clear, most people believe that a new instance UID should be generated whenever this happens. This is the normal DicomObjects behaviour, and a reference to the original UID is included in the referenced image sequence. However, some query SCUs having requested a specific image by it's UID fail to look in the referenced image sequence and reject images with UIDs other than those they had requested.

    This property provides a default value for new DicomAssociation objects, and also controls the behaviour for DicomImage.Write and DicomDataSet.Write. The default value of this property is true, causing new UIDs to be generated.

    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