public enum YBR extends Enum<YBR>
Modifier and Type | Field and Description |
---|---|
private static double[] |
FROM_YBR_FULL |
private static double[] |
FROM_YBR_PARTIAL |
private static double[] |
TO_YBR_FULL |
private static double[] |
TO_YBR_PARTIAL |
Modifier and Type | Method and Description |
---|---|
private static float[] |
convert(float[] in,
double[] a) |
abstract float[] |
fromRGB(float[] rgb) |
abstract float[] |
toRGB(float[] ybr) |
static YBR |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YBR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
private static double[] TO_YBR_FULL
private static double[] TO_YBR_PARTIAL
private static final double[] FROM_YBR_FULL
private static final double[] FROM_YBR_PARTIAL
public static YBR[] values()
for (YBR c : YBR.values()) System.out.println(c);
public static YBR valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract float[] toRGB(float[] ybr)
public abstract float[] fromRGB(float[] rgb)
private static float[] convert(float[] in, double[] a)
Copyright © 2017 dcm4che.org. All rights reserved.