(FileInfo fi, boolean show)
| 419 | } |
| 420 | |
| 421 | private void createImage(FileInfo fi, boolean show) { |
| 422 | IndexColorModel cm = new IndexColorModel(8, 256, fi.reds, fi.greens, fi.blues); |
| 423 | ByteProcessor bp = createImage(cm); |
| 424 | setProcessor(fi.fileName, bp); |
| 425 | saveLUTName(this, fi); |
| 426 | if (show) show(); |
| 427 | } |
| 428 | |
| 429 | /** Opens the specified ImageJ LUT and returns |
| 430 | it as an IndexColorModel. Since 1.43t. */ |