private void readWavelength(int channel, MetadataStore store) throws FormatException, IOException { float min = in.readFloat(); float max = in.readFloat(); addGlobalMeta("Wavelength " + (channel + 1) + " min. intensity", min); addGlobalMeta("Wavelength " + (channel + 1) + " max. intensity", max); if (store instanceof IMinMaxStore) { ((IMinMaxStore) store).setChannelGlobalMinMax(channel, min, max, 0); } }
private void readWavelength(int channel, MetadataStore store) throws FormatException, IOException { float min = in.readFloat(); float max = in.readFloat(); addGlobalMeta("Wavelength " + (channel + 1) + " min. intensity", min); addGlobalMeta("Wavelength " + (channel + 1) + " max. intensity", max); if (store instanceof IMinMaxStore) { ((IMinMaxStore) store).setChannelGlobalMinMax(channel, min, max, 0); } }
minMaxStore.setChannelGlobalMinMax(c, chanMin[getCoreIndex()][c], chanMax[getCoreIndex()][c], getSeries());
minMaxStore.setChannelGlobalMinMax(c, chanMin[getCoreIndex()][c], chanMax[getCoreIndex()][c], getSeries());
addGlobalMetaList("Image bands max - band", values[i*3 + 2]); if (store instanceof IMinMaxStore) { ((IMinMaxStore) store).setChannelGlobalMinMax(i, Double.parseDouble(values[i*3 + 1]), Double.parseDouble(values[i*3 + 2]), 0);
addGlobalMetaList("Image bands max - band", values[i*3 + 2]); if (store instanceof IMinMaxStore) { ((IMinMaxStore) store).setChannelGlobalMinMax(i, Double.parseDouble(values[i*3 + 1]), Double.parseDouble(values[i*3 + 2]), 0);
if (store instanceof IMinMaxStore) { IMinMaxStore minMaxStore = (IMinMaxStore) store; minMaxStore.setChannelGlobalMinMax(q, minMax[q][0], minMax[q][1], i);
if (store instanceof IMinMaxStore) { IMinMaxStore minMaxStore = (IMinMaxStore) store; minMaxStore.setChannelGlobalMinMax(q, minMax[q][0], minMax[q][1], i);
for (int i=0; i<minWave.length; i++) { if (i < getEffectiveSizeC()) { minMaxStore.setChannelGlobalMinMax( i, minWave[i], maxWave[i], series);
for (int i=0; i<minWave.length; i++) { if (i < getEffectiveSizeC()) { minMaxStore.setChannelGlobalMinMax( i, minWave[i], maxWave[i], series);