Search Results for

    Show / Hide Table of Contents

    Class FilmBox

    Basic film box

    Inheritance
    Object
    DicomDataset
    FilmBox
    Implements
    IEnumerable<DicomItem>
    IEnumerable
    Inherited Members
    DicomDataset.InternalTransferSyntax
    DicomDataset.AutoValidate
    DicomDataset.GetDicomItem<T>(DicomTag)
    DicomDataset.GetSequence(DicomTag)
    DicomDataset.GetCodeItem(DicomTag)
    DicomDataset.GetMeasuredValue(DicomTag)
    DicomDataset.GetReferencedSOP(DicomTag)
    DicomDataset.TryGetSequence(DicomTag, DicomSequence)
    DicomDataset.GetValueCount(DicomTag)
    DicomDataset.GetValue<T>(DicomTag, Int32)
    DicomDataset.TryGetValue<T>(DicomTag, Int32, T)
    DicomDataset.GetValueOrDefault<T>(DicomTag, Int32, T)
    DicomDataset.GetValues<T>(DicomTag)
    DicomDataset.TryGetValues<T>(DicomTag, T[])
    DicomDataset.GetSingleValue<T>(DicomTag)
    DicomDataset.TryGetSingleValue<T>(DicomTag, T)
    DicomDataset.GetSingleValueOrDefault<T>(DicomTag, T)
    DicomDataset.GetString(DicomTag)
    DicomDataset.TryGetString(DicomTag, String)
    DicomDataset.Validate()
    DicomDataset.Get<T>(DicomTag, Int32)
    DicomDataset.Get(DicomTag, Int32)
    DicomDataset.Get<T>(DicomTag, T)
    DicomDataset.Get<T>(DicomTag, Int32, T)
    DicomDataset.GetPrivateTag(DicomTag)
    DicomDataset.Add(DicomItem[])
    DicomDataset.Add(IEnumerable<DicomItem>)
    DicomDataset.Add<T>(DicomTag, T[])
    DicomDataset.Add<T>(DicomTag, Encoding, T[])
    DicomDataset.Add<T>(DicomVR, DicomTag, T[])
    DicomDataset.Add<T>(DicomVR, DicomTag, Encoding, T[])
    DicomDataset.AddOrUpdate(DicomItem[])
    DicomDataset.AddOrUpdate(IEnumerable<DicomItem>)
    DicomDataset.AddOrUpdate<T>(DicomTag, T[])
    DicomDataset.AddOrUpdate<T>(DicomTag, Encoding, T[])
    DicomDataset.AddOrUpdate<T>(DicomVR, DicomTag, T[])
    DicomDataset.AddOrUpdate<T>(DicomVR, DicomTag, Encoding, T[])
    DicomDataset.AddOrUpdatePixelData(DicomVR, IByteBuffer, DicomTransferSyntax)
    DicomDataset.Contains(DicomTag)
    DicomDataset.Remove(DicomTag[])
    DicomDataset.Remove(Func<DicomItem, Boolean>)
    DicomDataset.Clear()
    DicomDataset.CopyTo(DicomDataset)
    DicomDataset.CopyTo(DicomDataset, DicomTag[])
    DicomDataset.CopyTo(DicomDataset, DicomMaskedTag)
    DicomDataset.GetEnumerator()
    DicomDataset.IEnumerable.GetEnumerator()
    DicomDataset.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.Printing
    Assembly: cs.temp.dll.dll
    Syntax
    public class FilmBox : DicomDataset, IEnumerable<DicomItem>, IEnumerable

    Constructors

    FilmBox(FilmSession, DicomUID, DicomDataset)

    Declaration
    public FilmBox(FilmSession filmSession, DicomUID sopInstance, DicomDataset dataset)
    Parameters
    Type Name Description
    FilmSession filmSession
    DicomUID sopInstance
    DicomDataset dataset

    FilmBox(FilmSession, DicomUID, DicomTransferSyntax)

    Create baisc film box for specified film session

    Declaration
    public FilmBox(FilmSession filmSession, DicomUID sopInstance, DicomTransferSyntax transferSyntax)
    Parameters
    Type Name Description
    FilmSession filmSession

    Film session instance

    DicomUID sopInstance

    Basic film box SOP Instance UID

    DicomTransferSyntax transferSyntax

    Requested internal transfer syntax.

    Fields

    SOPClassUID

    Basic film box SOP class UID

    Declaration
    public static readonly DicomUID SOPClassUID
    Field Value
    Type Description
    DicomUID

    Properties

    AnnotationDisplayFormatID

    Identification of annotation display format. The definition of the annotation display formats and the annotation box position sequence are defined in the Conformance Statement.

    Declaration
    public string AnnotationDisplayFormatID { get; set; }
    Property Value
    Type Description
    String

    BasicImageBoxes

    Basic image boxes list

    Declaration
    public IList<ImageBox> BasicImageBoxes { get; }
    Property Value
    Type Description
    IList<ImageBox>

    BorderDensity

    Density of the film areas surrounding and between images on the film.

    Declaration
    public string BorderDensity { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Defined Terms:

    • BLACK
    • WHITE
    • i where i represents the desired density in hundredths of OD (e.g. 150 corresponds with 1.5 OD)

    ConfigurationInformation

    Character string that contains either the ID of the printer configuration table that contains a set of values for implementation specific print parameters (e.g. perception LUT related parameters) or one or more configuration data values, encoded as characters. If there are multiple configuration data values encoded in the string, they shall be separated by backslashes. The definition of values shall be contained in the SCP's Conformance Statement.

    Declaration
    public string ConfigurationInformation { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Defined Terms:

    Note: It is recommended that for SCPs, CS000 represent the lowest contrast and CS999 the highest contrast levels available.

    EmptyImageDensity

    Density of the image box area on the film that contains no image.

    Declaration
    public string EmptyImageDensity { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Defined Terms:

    • BLACK
    • WHITE
    • i where i represents the desired density in hundredths of OD (e.g. 150 corresponds with 1.5 OD)

    FilmOrientation

    Film orientation.

    Declaration
    public string FilmOrientation { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Enumerated Values:

    • PORTRAITvertical film position
    • LANDSCAPEhorizontal film position

    FilmSession

    Declaration
    public FilmSession FilmSession { get; }
    Property Value
    Type Description
    FilmSession

    FilmSizeID

    Film size identification.

    Declaration
    public string FilmSizeID { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Defined Terms:

    • 8INX10IN
    • 8_5INX11IN
    • 10INX12IN
    • 10INX14IN
    • 11INX14IN
    • 11INX17IN
    • 14INX14IN
    • 14INX17IN
    • 24CMX24CM
    • 24CMX30CM
    • A4
    • A3

    Notes: 10INX14IN corresponds with 25.7CMX36.4CM A4 corresponds with 210 x 297 millimeters A3 corresponds with 297 x 420 millimeters

    Illumination

    Luminance of lightbox illuminating a piece of transmissive film, or for the case of reflective media, luminance obtainable from diffuse reflection of the illumination present. Expressed as L0, in candelas per square meter (cd/m2).

    Declaration
    public ushort Illumination { get; set; }
    Property Value
    Type Description
    UInt16

    ImageDisplayFormat

    Type of image display format.

    Declaration
    public string ImageDisplayFormat { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Enumerated Values:

    • STANDARD\C,R film contains equal size rectangular image boxes with R rows of image boxes and C columns of image boxes; C and R are integers.
    • ROW\R1,R2,R3, etc. film contains rows with equal size rectangular image boxes with R1 image boxes in the first row, R2 image boxes in second row, R3 image boxes in third row, etc.; R1, R2, R3, etc. are integers.
    • COL\C1,C2,C3, etc. film contains columns with equal size rectangular image boxes with C1 image boxes in the first column, C2 image boxes in second column, C3 image boxes in third column, etc.; C1, C2, C3, etc. are integers.
    • SLIDE film contains 35mm slides; the number of slides for a particular film size is configuration dependent.
    • SUPERSLIDE film contains 40mm slides; the number of slides for a particular film size is configuration dependent.
    • CUSTOM\i film contains a customized ordering of rectangular image boxes; i identifies the image display format; the definition of the image display formats is defined in the Conformance Statement; i is an integer .

    MagnificationType

    Interpolation type by which the printer magnifies or decimates the image in order to fit the image in the image box on film.

    Declaration
    public string MagnificationType { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Defined Terms:

    • REPLICATE
    • BILINEAR
    • CUBIC
    • NONE

    MaxDensity

    Maximum density of the images on the film, expressed in hundredths of OD. If Max Density is higher than maximum printer density than Max Density is set to maximum printer density.

    Declaration
    public ushort MaxDensity { get; set; }
    Property Value
    Type Description
    UInt16

    MinDensity

    Minimum density of the images on the film, expressed in hundredths of OD. If Min Density is lower than minimum printer density than Min Density is set to minimum printer density.

    Declaration
    public ushort MinDensity { get; set; }
    Property Value
    Type Description
    UInt16

    PresentationLut

    Declaration
    public PresentationLut PresentationLut { get; }
    Property Value
    Type Description
    PresentationLut

    ReferencedPresentationLutSequence

    Declaration
    public DicomSequence ReferencedPresentationLutSequence { get; set; }
    Property Value
    Type Description
    DicomSequence

    ReflectedAmbientLight

    For transmissive film, luminance contribution due to reflected ambient light. Expressed as La, in candelas per square meter (cd/m2).

    Declaration
    public ushort ReflectedAmbientLight { get; set; }
    Property Value
    Type Description
    UInt16

    RequestedResolutionID

    Specifies the resolution at which images in this Film Box are to be printed.

    Declaration
    public string RequestedResolutionID { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Defined Terms:

    • STANDARDapproximately 4k x 5k printable pixels on a 14 x 17 inch film
    • HIGHApproximately twice the resolution of STANDARD.

    SmoothingType

    Further specifies the type of the interpolation function. Values are defined in Conformance Statement. Only valid for Magnification Type (2010,0060) = CUBIC

    Declaration
    public string SmoothingType { get; set; }
    Property Value
    Type Description
    String

    SOPInstanceUID

    Basic film box SOP instance UID

    Declaration
    public DicomUID SOPInstanceUID { get; }
    Property Value
    Type Description
    DicomUID

    Trim

    Specifies whether a trim box shall be printed surrounding each image on the film.

    Declaration
    public string Trim { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Enumerated Values:

    • YES
    • NO

    Methods

    Clone()

    Create clone of basic film box instanct

    Declaration
    public FilmBox Clone()
    Returns
    Type Description
    FilmBox

    The cloned basic film box instance

    FindImageBox(DicomUID)

    Find specific basic image box using its SOP instance UID

    Declaration
    public ImageBox FindImageBox(DicomUID sopInstance)
    Parameters
    Type Name Description
    DicomUID sopInstance

    Image box SOP instance UID

    Returns
    Type Description
    ImageBox

    The basic image box instance for specified SOP instance UID or null if no matches found

    Initialize()

    Initalize the film box dataset attributes to defaults

    Declaration
    public bool Initialize()
    Returns
    Type Description
    Boolean

    True if film box attributes could be initialized, false otherwise.

    IsColor()

    Gets whether one or more image boxes is colored.

    Declaration
    public bool IsColor()
    Returns
    Type Description
    Boolean

    Load(FilmSession, String)

    Load a film box for a specific session from a specific folder.

    Declaration
    public static FilmBox Load(FilmSession filmSession, string filmBoxFolder)
    Parameters
    Type Name Description
    FilmSession filmSession

    Film session.

    String filmBoxFolder

    Folder in which film box is stored.

    Returns
    Type Description
    FilmBox

    Film box for the specified filmSession located in the filmBoxFolder.

    PrintColumnFormat(String[], RectF)

    Generate rectangles arranged in column format.

    Declaration
    public static RectF[] PrintColumnFormat(string[] parts, RectF marginBounds)
    Parameters
    Type Name Description
    String[] parts

    Display format data.

    RectF marginBounds

    Margin bounds.

    Returns
    Type Description
    RectF[]

    Rectangles arranged in column format.

    PrintRowFormat(String[], RectF)

    Generate rectangles arranged in row format.

    Declaration
    public static RectF[] PrintRowFormat(string[] parts, RectF marginBounds)
    Parameters
    Type Name Description
    String[] parts

    Display format data.

    RectF marginBounds

    Margin bounds.

    Returns
    Type Description
    RectF[]

    Rectangles arranged in row format.

    PrintStandardFormat(String[], RectF)

    Generate rectangles arranged in standard format.

    Declaration
    public static RectF[] PrintStandardFormat(string[] parts, RectF marginBounds)
    Parameters
    Type Name Description
    String[] parts

    Display format data.

    RectF marginBounds

    Margin bounds.

    Returns
    Type Description
    RectF[]

    Rectangles arranged in standard format.

    Save(String)

    Save the contents of the film box.

    Declaration
    public void Save(string filmBoxFolder)
    Parameters
    Type Name Description
    String filmBoxFolder

    Folder in which to save the film box contents.

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors