public RowColorConverter(ColorResponse response, Dataset matrix) { this(defaultColorMap, response, matrix);
public RowColorConverter(int[] colormap, ColorResponse response, DoubleMatrix2D matrix) { Color[] colors = new Color[colormap.length]; for(int i = 0; i < colormap.length; ++i) { colors[i] = new Color(colormap[i]); } this.colors = colors; this.slots = new float[colormap.length]; this.response = response; if(response != ColorResponse.LINEAR && response != ColorResponse.LOG) { throw new IllegalArgumentException("Unkown ColorResponse (" + response + ")"); } this.matrix = matrix;
	public RowColorConverter(ColorResponse response, Dataset matrix) {		this(defaultColorMap, response, matrix);	}