Enum Class VipsInterpretation
- All Implemented Interfaces:
VEnum
,VNamedEnum
,Serializable
,Comparable<VipsInterpretation>
,Constable
How the values in an image should be interpreted. For example, a
three-band float image of type INTERPRETATION_LAB
should have its
pixels interpreted as coordinates in CIE Lab space.
RGB and sRGB are treated in the same way. Use the colourspace functions if you want some other behaviour.
The gaps in numbering are historical and must be maintained. Allocate new numbers from the end.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionsome kind of single-band imagea uniform colourspace based on CMC(1:1)the first four bands are in CMYK spaceimage is in fourier spacegeneric 16-bit monoa 1D image, eg.pixels are HSVpixels are in CIE Lab spaceimpliesVipsCoding.CODING_LABQ
CIE LAB coded as three signed 16-bit valuespixels are in CIE LCh spacea matrixgeneric many-band imagegeneric RGB spacegeneric 16-bit RGBpixels are scRGBpixels are sRGBthe first three bands are CIE XYZpixels are CIE Yxy -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
static VipsInterpretation
Returns the enum constant of this class with the specified name.static VipsInterpretation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERPRETATION_ERROR
-
INTERPRETATION_MULTIBAND
generic many-band image
-
INTERPRETATION_B_W
some kind of single-band image
-
INTERPRETATION_HISTOGRAM
a 1D image, eg. histogram or lookup table
-
INTERPRETATION_XYZ
the first three bands are CIE XYZ
-
INTERPRETATION_LAB
pixels are in CIE Lab space
-
INTERPRETATION_CMYK
the first four bands are in CMYK space
-
INTERPRETATION_LABQ
implies
VipsCoding.CODING_LABQ
-
INTERPRETATION_RGB
generic RGB space
-
INTERPRETATION_CMC
a uniform colourspace based on CMC(1:1)
-
INTERPRETATION_LCH
pixels are in CIE LCh space
-
INTERPRETATION_LABS
CIE LAB coded as three signed 16-bit values
-
INTERPRETATION_sRGB
pixels are sRGB
-
INTERPRETATION_YXY
pixels are CIE Yxy
-
INTERPRETATION_FOURIER
image is in fourier space
-
INTERPRETATION_RGB16
generic 16-bit RGB
-
INTERPRETATION_GREY16
generic 16-bit mono
-
INTERPRETATION_MATRIX
a matrix
-
INTERPRETATION_scRGB
pixels are scRGB
-
INTERPRETATION_HSV
pixels are HSV
-
INTERPRETATION_LAST
-
-
Field Details
-
parentName
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
- Specified by:
getName
in interfaceVNamedEnum
-
getNickname
- Specified by:
getNickname
in interfaceVNamedEnum
-
getRawValue
public int getRawValue()- Specified by:
getRawValue
in interfaceVEnum
-