Class ChannelWrapper

    • Constructor Detail

      • ChannelWrapper

        public ChannelWrapper​(ChannelData channel)
        Constructor of the class ChannelWrapper.
        Parameters:
        channel - The ChannelData to wrap in the ChannelWrapper.
    • Method Detail

      • hasRGBA

        public boolean hasRGBA()
        Returns whether the channel contains all the RGBA values or not.
        Specified by:
        hasRGBA in interface Channel
        Returns:
        See above.
      • getIndex

        public int getIndex()
        Returns the channel index.
        Specified by:
        getIndex in interface Channel
        Returns:
        See above.
      • getChannelLabeling

        public java.lang.String getChannelLabeling()
        Returns the label of the channel.

        Following the specification: Name→Fluor→Emission wavelength→index.

        Specified by:
        getChannelLabeling in interface Channel
        Returns:
        See above.
      • getName

        public java.lang.String getName()
        Returns the name of the channel.
        Specified by:
        getName in interface Channel
        Returns:
        See above.
      • setName

        public void setName​(java.lang.String name)
        Sets the name of the channel.
        Specified by:
        setName in interface Channel
        Parameters:
        name - The name of the channel.
      • getAlpha

        public int getAlpha()
        Gets the sRGB alpha value of the channel.
        Specified by:
        getAlpha in interface Channel
        Returns:
        See above.
      • getRed

        public int getRed()
        Gets the sRGB red value of the channel.
        Specified by:
        getRed in interface Channel
        Returns:
        See above.
      • getGreen

        public int getGreen()
        Gets the sRGB green value of the channel.
        Specified by:
        getGreen in interface Channel
        Returns:
        See above.
      • getBlue

        public int getBlue()
        Gets the sRGB blue value of the channel.
        Specified by:
        getBlue in interface Channel
        Returns:
        See above.