Interface Colormap

All Known Implementing Classes:
ArrayColormap, Gradient, GrayscaleColormap, LinearColormap, SpectrumColormap, SplineColormap

public interface Colormap
An interface for color maps. These are passed to filters which convert gray values to colors. This is similar to the ColorModel class but works with floating point values.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getColor(float v)
    Convert a value in the range 0..1 to an RGB color.
  • Method Details

    • getColor

      int getColor(float v)
      Convert a value in the range 0..1 to an RGB color.
      Parameters:
      v - a value in the range 0..1
      Returns:
      an RGB color