Package org.imagearchive.lsm.toolbox.info

Examples of org.imagearchive.lsm.toolbox.info.ChannelNamesAndColors


      if (cz.OffsetChannelDataTypes != 0) {
        cz.OffsetChannelDataTypesValues = getOffsetChannelDataTypesValues(
            stream, cz.OffsetChannelDataTypes, cz.DimensionChannels);
      }
      if (cz.OffsetChannelColors != 0) {
        ChannelNamesAndColors channelNamesAndColors = getChannelNamesAndColors(
            stream, cz.OffsetChannelColors, cz.DimensionChannels);
        cz.channelNamesAndColors = channelNamesAndColors;
      }
      if (cz.OffsetChannelWavelength != 0) {
        cz.channelWavelength = getLambdaStamps(stream,
View Full Code Here


    return OffsetChannelDataTypesValues;
  }

  private ChannelNamesAndColors getChannelNamesAndColors(
      RandomAccessStream stream, long position, long channelCount) {
    ChannelNamesAndColors channelNamesAndColors = new ChannelNamesAndColors();
    try {
      stream.seek((int) position);
      channelNamesAndColors.BlockSize = ReaderToolkit.swap(stream
          .readInt());
      channelNamesAndColors.NumberColors = ReaderToolkit.swap(stream
View Full Code Here

      if (cz.OffsetChannelDataTypes != 0) {
        cz.OffsetChannelDataTypesValues = getOffsetChannelDataTypesValues(
            stream, cz.OffsetChannelDataTypes, cz.DimensionChannels);
      }
      if (cz.OffsetChannelColors != 0) {
        ChannelNamesAndColors channelNamesAndColors = getChannelNamesAndColors(
            stream, cz.OffsetChannelColors, cz.DimensionChannels);
        cz.channelNamesAndColors = channelNamesAndColors;
      }
    } catch (IOException getCZ_LSMINFO_exception) {
      getCZ_LSMINFO_exception.printStackTrace();
View Full Code Here

    return OffsetChannelDataTypesValues;
  }

  private ChannelNamesAndColors getChannelNamesAndColors(
      RandomAccessStream stream, long position, long channelCount) {
    ChannelNamesAndColors channelNamesAndColors = new ChannelNamesAndColors();
    try {
      stream.seek((int) position);
      channelNamesAndColors.BlockSize = swap(stream.readInt());
      channelNamesAndColors.NumberColors = swap(stream.readInt());
      channelNamesAndColors.NumberNames = swap(stream.readInt());
View Full Code Here

TOP

Related Classes of org.imagearchive.lsm.toolbox.info.ChannelNamesAndColors

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.