![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectimp.ima.util.RgbFilter
imp.ima.util.Monochrome
public class Monochrome
Defines the conversion from color to monochrome.
Constructor Summary | |
---|---|
Monochrome(double[] m)
Creates a monochrome channel calculator. |
Method Summary | |
---|---|
static double[] |
getMonochromeDirection(int[] src,
int width,
int height)
Returns the direction of maximal 2nd order momentum in the color space. |
Methods inherited from class imp.ima.util.RgbFilter |
---|
filterChannel, filterRGB, getChannel, getChannel, getRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Monochrome(double[] m)
Method Detail |
---|
public static double[] getMonochromeDirection(int[] src, int width, int height)