Returns an array containing the lookup tables used by this image, one per channel, or an empty array if this is an RGB image. @see #getNChannels @see #isComposite @see #getCompositeMode Javascript example: luts = imp.getLuts(); for (i=0; i IJ.log((i+1)+“: “+lut
()
| 482 | * </pre> |
| 483 | */ |
| 484 | public LUT[] getLuts() { |
| 485 | ImageProcessor ip2 = getProcessor(); |
| 486 | if (ip2==null) |
| 487 | return new LUT[0]; |
| 488 | LUT lut = ip2.getLut(); |
| 489 | if (lut==null) |
| 490 | return new LUT[0]; |
| 491 | LUT[] luts = new LUT[1]; |
| 492 | luts[0] = lut; |
| 493 | return luts; |
| 494 | } |
| 495 | |
| 496 | /** Calls draw to draw the image and also repaints the |
| 497 | image window to force the information displayed above |
no test coverage detected