public String getChannelLightSourceSettingsID(int imageIndex, int channelIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getChannelLightSourceSettingsID(imageIndex, channelIndex); if (result != null) return result; } } return null; }
public String getChannelLightSourceSettingsID(int imageIndex, int channelIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getChannelLightSourceSettingsID(imageIndex, channelIndex); if (result != null) return result; } } return null; }
String lightSourceID = src.getChannelLightSourceSettingsID(srcImage, srcChannel); if (lightSourceID != null && (lightSourceIds == null || lightSourceIds.contains(lightSourceID))) { dest.setChannelLightSourceSettingsID(lightSourceID, destImage, destChannel);