Package util

Class ColorStream

java.lang.Object
util.ColorStream

public class ColorStream extends Object
Generate a stream of `random' saturated RGB colors with all colors being maximally distinct from each other.
Author:
Stephan Saalfeld >saalfeld@mpi-cbg.de<, Tobias Pietzsch >tobias.pietzsch@gmail.com<
  • Field Details

    • goldenRatio

      protected static final double goldenRatio
    • stepSize

      protected static final double stepSize
    • rs

      protected static final double[] rs
    • gs

      protected static final double[] gs
    • bs

      protected static final double[] bs
  • Constructor Details

    • ColorStream

      public ColorStream()
  • Method Details

    • interpolate

      protected static final int interpolate(double[] xs, int k, int l, double u, double v)
    • argb

      protected static final int argb(int r, int g, int b)
    • get

      public static final int get(long index)
    • next

      public static final int next()
    • iterator

      public static final Iterator<net.imglib2.type.numeric.ARGBType> iterator()