javactn/DICOM/Misc/PaletteColor.java
raw| 1 | /* Palette ColorInterface */ |
| 2 | |
| 3 | package DICOM.Misc; |
| 4 | |
| 5 | public class PaletteColor { |
| 6 | |
| 7 | public short Entries; |
| 8 | public short FirstPixel; |
| 9 | public short BitsPerPixel; |
| 10 | public short Map[]; |
| 11 | |
| 12 | public PaletteColor() { |
| 13 | Entries = 0; |
| 14 | FirstPixel = 0; |
| 15 | BitsPerPixel = 0; |
| 16 | } |
| 17 | |
| 18 | public void dumpState() { |
| 19 | System.out.println(" Entries: " + Entries); |
| 20 | System.out.println(" First Pixel: " + FirstPixel); |
| 21 | System.out.println("Bits Per Pixel: " + BitsPerPixel); |
| 22 | } |
| 23 | } |