A class for BitmapToDicom program options.
Inheritance Hierarchy
LaurelBridge.DCFExamples.BitmapToDicomOptions
Namespace: LaurelBridge.DCFExamples.BitmapToDicom
Assembly: BitmapToDicom (in BitmapToDicom.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public class Options
The Options type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Options | Initializes a new instance of the Options class |
Properties
Name | Description | |
---|---|---|
Allocated |
8 or 16, RGB is 8 only, default=8 for bits stored <= 8, otherwise 16
| |
BitmapPath |
The path to the Bitmap file.
| |
BitsAllocated |
8 or 16, RGB is 8 only, default=8 for bits stored <= 8, otherwise 16. This property will contain the integer value
parsed from the Allocated options property.
| |
BitsStored |
8 for RGB, 3-16 for MONO1 or MONO2, default=8 for RGB, 12 for MONO. This property will contain the integer value
parsed from the Stored options property.
| |
DicomPath |
The path for the DICOM output file, which is overwritten if it exists.
| |
Photometric |
One of RGB, MONOCHROME2, MONOCHROME1, default=RGB.
| |
PixelRepresentation |
One of 0 (unsigned) or 1 (signed), RGB is unsigned only, default is unsigned for MONO
| |
Stored |
8 for RGB, 3-16 for MONO1 or MONO2, default=8 for RGB, 12 for MONO
| |
TransferSyntax |
The transfer syntax uid, default=1.2.840.10008.1.2.1 (ELE)
|
Methods
Name | Description | |
---|---|---|
TryParse |
Try to create an instance of the Options class using the specified commandLine parameter.
For an invalid command line, a failure message is written to the console.
|
See Also