(ImagePlus imp)
| 507 | } |
| 508 | |
| 509 | private String getLutInfo(ImagePlus imp) { |
| 510 | String lut = "LUT"; |
| 511 | if (imp.getProcessor().isColorLut()) |
| 512 | lut = "color " + lut; |
| 513 | else |
| 514 | lut = "grayscale " + lut; |
| 515 | if (imp.isInvertedLut()) |
| 516 | lut = "inverting " + lut; |
| 517 | return lut; |
| 518 | } |
| 519 | |
| 520 | public static String getDisplayRanges(ImagePlus imp) { |
| 521 | LUT[] luts = imp.getLuts(); |
no test coverage detected