Changeset 3172


Ignore:
Timestamp:
09/18/07 11:15:26 (12 years ago)
Author:
melissa
Message:

Added isIndexed to macro functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/LociFunctions.java

    r3110 r3172  
    4848  public void getRGBChannelCount(Double[] rgbChannelCount) { 
    4949    rgbChannelCount[0] = new Double(r.getRGBChannelCount()); 
     50  } 
     51 
     52  public void isIndexed(String[] indexed) { 
     53    indexed[0] = r.isIndexed() ? "true" : "false"; 
    5054  } 
    5155 
     
    241245      IJ.write("Ext.getEffectiveSizeC(effectiveSizeC)"); 
    242246      IJ.write("Ext.getRGBChannelCount(rgbChannelCount)"); 
     247      IJ.write("Ext.isIndexed(indexed)"); 
    243248      IJ.write("Ext.getChannelDimCount(channelDimCount)"); 
    244249      IJ.write("Ext.getChannelDimLength(i, channelDimLength)"); 
Note: See TracChangeset for help on using the changeset viewer.