DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / ChangeLossyUIDs Property






In This Topic
    ChangeLossyUIDs Property (DicomAssociation)
    In This Topic
    Control allocation of new UIDs for lossy compressed images
    Syntax
    'Declaration
     
    
    <System.ObsoleteAttribute("This property has been superceded by WriteBehaviours.ChangeLossyUIDs, which is more flexible, including use when writing files")>
    Public Property ChangeLossyUIDs As System.Boolean
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As System.Boolean
     
    instance.ChangeLossyUIDs = value
     
    value = instance.ChangeLossyUIDs
    [System.Obsolete("This property has been superceded by WriteBehaviours.ChangeLossyUIDs, which is more flexible, including use when writing files")]
    public System.bool ChangeLossyUIDs {get; set;}
    public read-write property ChangeLossyUIDs: System.Boolean; 
    System.ObsoleteAttribute("This property has been superceded by WriteBehaviours.ChangeLossyUIDs, which is more flexible, including use when writing files")
    public function get,set ChangeLossyUIDs : System.boolean
    [System.Obsolete("This property has been superceded by WriteBehaviours.ChangeLossyUIDs, which is more flexible, including use when writing files")]
    public: __property System.bool get_ChangeLossyUIDs();
    public: __property void set_ChangeLossyUIDs( 
       System.bool value
    );
    [System.Obsolete("This property has been superceded by WriteBehaviours.ChangeLossyUIDs, which is more flexible, including use when writing files")]
    public:
    property System.bool ChangeLossyUIDs {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    There are times when the negotiated transfer syntaxes for a DicomConnection 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. The default value of this property is copied from DicomGlobal.ChangeLossyUIDs (which itself has a default value of true), but if set to false, then images sent via SendInstances which undergo lossy compression will not have new UIDs allocated.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also