spiral.digitalize.filters
Interface Colormap


public interface Colormap

This class is part of package downloaded from JH Labs - filters

Title: JH Labs - filters

Description: 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.

Copyright: Copyright (C) Jerry Huxtable 1998

Company:


Method Summary
 int getColor(float v)
          Convert a value in the range 0..1 to an RGB color.
 

Method Detail

getColor

public 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