C# 클래스 Dicom.Imaging.PhotometricInterpretation

Photometric Interpretation
파일 보기 프로젝트 열기: fo-dicom/mdcm 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Monochrome1 PhotometricInterpretation
Monochrome2 PhotometricInterpretation
PaletteColor PhotometricInterpretation
Rgb PhotometricInterpretation
YbrFull PhotometricInterpretation
YbrFull422 PhotometricInterpretation
YbrIct PhotometricInterpretation
YbrPartial420 PhotometricInterpretation
YbrPartial422 PhotometricInterpretation
YbrRct PhotometricInterpretation

공개 메소드들

메소드 설명
Lookup ( string photometricInterpretation ) : PhotometricInterpretation
ToString ( ) : string

비공개 메소드들

메소드 설명
PhotometricInterpretation ( ) : System
PhotometricInterpretation ( string value, string description, bool isColor, bool isPalette, bool isYbr ) : System

메소드 상세

Lookup() 공개 정적인 메소드

public static Lookup ( string photometricInterpretation ) : PhotometricInterpretation
photometricInterpretation string
리턴 PhotometricInterpretation

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Monochrome1 공개적으로 정적으로 프로퍼티

Pixel data represent a single monochrome image plane. The minimum sample value is intended to be displayed as white after any VOI gray scale transformations have been performed. See PS 3.4. This value may be used only when Samples per Pixel (0028,0002) has a value of 1.
public static PhotometricInterpretation,Dicom.Imaging Monochrome1
리턴 PhotometricInterpretation

Monochrome2 공개적으로 정적으로 프로퍼티

Pixel data represent a single monochrome image plane. The minimum sample value is intended to be displayed as black after any VOI gray scale transformations have been performed. See PS 3.4. This value may be used only when Samples per Pixel (0028,0002) has a value of 1.
public static PhotometricInterpretation,Dicom.Imaging Monochrome2
리턴 PhotometricInterpretation

PaletteColor 공개적으로 정적으로 프로퍼티

Pixel data describe a color image with a single sample per pixel (single image plane). The pixel value is used as an index into each of the Red, Blue, and Green Palette Color Lookup Tables (0028,1101-1103&1201-1203). This value may be used only when Samples per Pixel (0028,0002) has a value of 1. When the Photometric Interpretation is Palette Color; Red, Blue, and Green Palette Color Lookup Tables shall be present.
public static PhotometricInterpretation,Dicom.Imaging PaletteColor
리턴 PhotometricInterpretation

Rgb 공개적으로 정적으로 프로퍼티

Pixel data represent a color image described by red, green, and blue image planes. The minimum sample value for each color plane represents minimum intensity of the color. This value may be used only when Samples per Pixel (0028,0002) has a value of 3.
public static PhotometricInterpretation,Dicom.Imaging Rgb
리턴 PhotometricInterpretation

YbrFull 공개적으로 정적으로 프로퍼티

Pixel data represent a color image described by one luminance (Y) and two chrominance planes (Cb and Cr). This photometric interpretation may be used only when Samples per Pixel (0028,0002) has a value of 3. Black is represented by Y equal to zero. The absence of color is represented by both Cb and Cr values equal to half full scale. In the case where Bits Allocated (0028,0100) has a value of 8 then the following equations convert between RGB and YCBCR Photometric Interpretation: Y = + .2990R + .5870G + .1140B Cb = - .1687R - .3313G + .5000B + 128 Cr = + .5000R - .4187G - .0813B + 128
public static PhotometricInterpretation,Dicom.Imaging YbrFull
리턴 PhotometricInterpretation

YbrFull422 공개적으로 정적으로 프로퍼티

The same as YBR_FULL except that the Cb and Cr values are sampled horizontally at half the Y rate and as a result there are half as many Cb and Cr values as Y values. This Photometric Interpretation is only allowed with Planar Configuration (0028,0006) equal to 0. Two Y values shall be stored followed by one Cb and one Cr value. The Cb and Cr values shall be sampled at the location of the first of the two Y values. For each Row of Pixels, the first Cb and Cr samples shall be at the location of the first Y sample. The next Cb and Cr samples shall be at the location of the third Y sample etc.
public static PhotometricInterpretation,Dicom.Imaging YbrFull422
리턴 PhotometricInterpretation

YbrIct 공개적으로 정적으로 프로퍼티

Pixel data represent a color image described by one luminance (Y) and two chrominance planes (Cb and Cr). This photometric interpretation may be used only when Samples per Pixel (0028,0002) has a value of 3. Black is represented by Y equal to zero. The absence of color is represented by both Cb and Cr values equal to zero. Regardless of the value of Bits Allocated (0028,0100), the following equations convert between RGB and YCbCr Photometric Interpretation: Y = + .29900R + .58700G + .11400B Cb = - .16875R - .33126G + .50000B Cr = + .50000R - .41869G - .08131B
public static PhotometricInterpretation,Dicom.Imaging YbrIct
리턴 PhotometricInterpretation

YbrPartial420 공개적으로 정적으로 프로퍼티

The same as YBR_PARTIAL_422 except that the Cb and Cr values are sampled horizontally and vertically at half the Y rate and as a result there are four times less Cb and Cr values than Y values, versus twice less for YBR_PARTIAL_422. This Photometric Interpretation is only allowed with Planar Configuration (0028,0006) equal to 0. The Cb and Cr values shall be sampled at the location of the first of the two Y values. For the first Row of Pixels (etc.), the first Cb and Cr samples shall be at the location of the first Y sample. The next Cb and Cr samples shall be at the location of the third Y sample etc. The next Rows of Pixels containing Cb and Cr samples (at the same locations than for the first Row) will be the third etc.
public static PhotometricInterpretation,Dicom.Imaging YbrPartial420
리턴 PhotometricInterpretation

YbrPartial422 공개적으로 정적으로 프로퍼티

The same as YBR_FULL_422 except that: black corresponds to Y = 16 Y is restricted to 220 levels (i.e. the maximum value is 235) Cb and Cr each has a minimum value of 16 Cb and Cr are restricted to 225 levels (i.e. the maximum value is 240) lack of color is represented by Cb and Cr equal to 128 In the case where Bits Allocated (0028,0100) has value of 8 then the following equations convert between RGB and YBR_PARTIAL_422 Photometric Interpretation: Y = + .2568R + .5041G + .0979B + 16 Cb = - .1482R - .2910G + .4392B + 128 Cr = + .4392R - .3678G - .0714B + 128
public static PhotometricInterpretation,Dicom.Imaging YbrPartial422
리턴 PhotometricInterpretation

YbrRct 공개적으로 정적으로 프로퍼티

Pixel data represent a color image described by one luminance (Y) and two chrominance planes (Cb and Cr). This photometric interpretation may be used only when Samples per Pixel (0028,0002) has a value of 3. Black is represented by Y equal to zero. The absence of color is represented by both Cb and Cr values equal to zero. Regardless of the value of Bits Allocated (0028,0100), the following equations convert between RGB and YBR_RCT Photometric Interpretation: Y = floor((R + 2G +B) / 4) Cb = B - G Cr = R - G The following equations convert between YBR_RCT and RGB Photometric Interpretation: R = Cr + G G = Y – floor((Cb + Cr) / 4) B = Cb + G
public static PhotometricInterpretation,Dicom.Imaging YbrRct
리턴 PhotometricInterpretation