Enum ImageChannelOrder
- java.lang.Object
-
- java.lang.Enum<ImageChannelOrder>
-
- net.haesleinhuepf.clij.clearcl.enums.ImageChannelOrder
-
- All Implemented Interfaces:
Serializable,Comparable<ImageChannelOrder>
public enum ImageChannelOrder extends Enum<ImageChannelOrder>
OpenCl image channel order.- Author:
- royer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfChannels()Returns the number of channelsstatic ImageChannelOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static ImageChannelOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Intensity
public static final ImageChannelOrder Intensity
-
Luminance
public static final ImageChannelOrder Luminance
-
R
public static final ImageChannelOrder R
-
A
public static final ImageChannelOrder A
-
RG
public static final ImageChannelOrder RG
-
RA
public static final ImageChannelOrder RA
-
RGB
public static final ImageChannelOrder RGB
-
RGBA
public static final ImageChannelOrder RGBA
-
ARGB
public static final ImageChannelOrder ARGB
-
BGRA
public static final ImageChannelOrder BGRA
-
-
Method Detail
-
values
public static ImageChannelOrder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImageChannelOrder c : ImageChannelOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImageChannelOrder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumberOfChannels
public int getNumberOfChannels()
Returns the number of channels- Returns:
- number of channels
-
-