DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / SetSimpleMasking Method / SetSimpleMasking(Int32,MaskMode) Method

Frame number of the frame for subtraction

The subtraction mode to use
Example

In This Topic
    SetSimpleMasking(Int32,MaskMode) Method
    In This Topic
    Sets the frame number of the mask frame for subtraction.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetSimpleMasking( _
       ByVal Frame As System.Integer, _
       ByVal mode As MaskMode _
    ) 
    public void SetSimpleMasking( 
       System.int Frame,
       MaskMode mode
    )

    Parameters

    Frame

    Frame number of the frame for subtraction

    mode
    The subtraction mode to use
    Example
    DicomImage image = new DicomImage("your_dicom_image.dcm");
    int frame = 1;
    MaskMode mode = MaskMode.AverageSubtraction;
    image.SetSimpleMasking(frame, mode);
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also