class ImagePixelMacroIod { DicomSourceProvider : IDicomDatasetService ; public constructor ( dicomProvider ) { this . DicomSourceProvider = dicomProvider ; } public get SamplesPerPixel ( ) { return this . DicomSourceProvider . getElement ( DicomTags . SamplesPerPixel ) . GetUInt16 ( 0 , 0 ) ; } public set SamplesPerPixel ( value ) { this . DicomSourceProvider . getElement ( DicomTags . SamplesPerPixel ) . SetUInt16 ( 0 , value ) ; } public get PhotometricInterpretation ( ) : string { return this . DicomSourceProvider . getElement ( DicomTags . PhotometricInterpretation ) . GetString ( 0 , "" ) ; } public set PhotometricInterpretation ( value ) { this . DicomSourceProvider . getElement ( DicomTags . PhotometricInterpretation ) . SetString ( 0 , value ) ; } public get Rows ( ) : number { var element = this . DicomSourceProvider . getElement ( DicomTags . Rows ) ; return element . GetUInt16 ( 0 , 0 ) ; } public set Rowse ( value ) { this . DicomSourceProvider . getElement ( DicomTags . Rows ) . SetUInt16 ( 0 , value ) ; } public get Columns ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . Columns ) . GetUInt16 ( 0 , 0 ) ; } public set Columns ( value ) { this . DicomSourceProvider . getElement ( DicomTags . Columns ) . SetUInt16 ( 0 , value ) ; } public get BitsAllocated ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . BitsAllocated ) . GetUInt16 ( 0 , 0 ) ; } public set BitsAllocated ( value ) { this . DicomSourceProvider . getElement ( DicomTags . BitsAllocated ) . SetUInt16 ( 0 , value ) ; } public get BitsStored ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . BitsStored ) . GetUInt16 ( 0 , 0 ) ; } public set BitsStored ( value ) { this . DicomSourceProvider . getElement ( DicomTags . BitsStored ) . SetUInt16 ( 0 , value ) ; } public get HighBit ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . HighBit ) . GetUInt16 ( 0 , 0 ) ; } public set HighBit ( value ) { this . DicomSourceProvider . getElement ( DicomTags . HighBit ) . SetUInt16 ( 0 , value ) ; } public get PixelRepresentation ( ) : string { return this . DicomSourceProvider . getElement ( DicomTags . PixelRepresentation ) . GetString ( 0 , "" ) ; } public set PixelRepresentation ( value ) { this . DicomSourceProvider . getElement ( DicomTags . PixelRepresentation ) . SetString ( 0 , value ) ; } public get PlanarConfiguration ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . PlanarConfiguration ) . GetUInt16 ( 0 , 0 ) ; } public set PlanarConfiguration ( value ) { this . DicomSourceProvider . getElement ( DicomTags . PlanarConfiguration ) . SetUInt16 ( 0 , value ) ; } public get SmallestImagePixelValue ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . SmallestImagePixelValue ) . GetUInt16 ( 0 , 0 ) ; } public set SmallestImagePixelValue ( value ) { this . DicomSourceProvider . getElement ( DicomTags . SmallestImagePixelValue ) . SetUInt16 ( 0 , value ) ; } public get LargestImagePixelValue ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . LargestImagePixelValue ) . GetUInt16 ( 0 , 0 ) ; } public set LargestImagePixelValue ( value ) { this . DicomSourceProvider . getElement ( DicomTags . LargestImagePixelValue ) . SetUInt16 ( 0 , value ) ; } public get WindowCenter ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . WindowCenter ) . GetUInt16 ( 0 , 0 ) ; } public set WindowCenter ( value ) { this . DicomSourceProvider . getElement ( DicomTags . WindowCenter ) . SetUInt16 ( 0 , value ) ; } public get WindowWidth ( ) : number { return this . DicomSourceProvider . getElement ( DicomTags . WindowWidth ) . GetUInt16 ( 0 , 0 ) ; } public set WindowWidth ( value ) { this . DicomSourceProvider . getElement ( DicomTags . WindowWidth ) . SetUInt16 ( 0 , value ) ; } }