Creates a LookUpTable object that corresponds to this image.
()
| 1786 | } |
| 1787 | /** Creates a LookUpTable object that corresponds to this image. */ |
| 1788 | public LookUpTable createLut() { |
| 1789 | ImageProcessor ip2 = getProcessor(); |
| 1790 | if (ip2!=null) |
| 1791 | return new LookUpTable(ip2.getColorModel()); |
| 1792 | else |
| 1793 | return new LookUpTable(LookUpTable.createGrayscaleColorModel(false)); |
| 1794 | } |
| 1795 | |
| 1796 | /** Returns true is this image uses an inverting LUT that |
| 1797 | displays zero as white and 255 as black. */ |
no test coverage detected