Package gov.nih.mipav.model.file
Class jxlatte.JXLImage
java.lang.Object
gov.nih.mipav.model.file.jxlatte.JXLImage
- Enclosing class:
jxlatte
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate booleanprivate int[]private jxlatte.ImageBuffer[](package private) jxlatte.ColorManagementprivate intprivate intprivate byte[]private jxlatte.ImageHeaderprivate intprivate jxlatte.CIEPrimariesprivate intprivate intprivate intprivate jxlatte.CIEXYprivate int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJXLImage(jxlatte.ImageBuffer[] buffer, jxlatte.ImageHeader header) JXLImage(jxlatte.JXLImage image) privateJXLImage(jxlatte.JXLImage image, boolean copyBuffer) -
Method Summary
Modifier and TypeMethodDescriptionprivate floatintgetBuffer(boolean copy) intintintbyte[]intintgetTaggedBitDepth(int c) intintintintgetWidth()booleanhasAlpha()booleanbooleanbooleanisHDR()private jxlatte.JXLImagetoneMap(int primaries, int whitePoint) toneMap(jxlatte.CIEPrimaries primaries, jxlatte.CIEXY whitePoint) private jxlatte.JXLImagetoneMapLinear(jxlatte.CIEPrimaries primaries, jxlatte.CIEXY whitePoint) transfer(int transfer, int peakDetect) private jxlatte.JXLImageprivate voidtransform(int primaries, int whitePoint, int transfer, int peakDetect) transform(jxlatte.CIEPrimaries primaries, jxlatte.CIEXY whitePoint, int transfer, int peakDetect)
-
Field Details
-
imageHeader
-
colorEncoding
private int colorEncoding -
alphaIndex
private int alphaIndex -
primaries
private int primaries -
whitePoint
private int whitePoint -
transfer
private int transfer -
taggedTransfer
private int taggedTransfer -
whiteXY
-
primariesXY
-
iccProfile
private byte[] iccProfile -
width
private int width -
height
private int height -
alphaIsPremultiplied
private boolean alphaIsPremultiplied -
buffer
-
bitDepths
private int[] bitDepths -
cm
-
-
Constructor Details
-
JXLImage
- Throws:
IOException
-
JXLImage
-
JXLImage
-
-
Method Details
-
isHDR
public boolean isHDR() -
toneMapLinear
-
fillColor
-
flattenColor
-
transform
public jxlatte.JXLImage transform(jxlatte.CIEPrimaries primaries, jxlatte.CIEXY whitePoint, int transfer, int peakDetect) -
transform
-
toneMap
-
toneMap
-
getBuffer
-
determinePeak
private float determinePeak() -
transfer
-
transferInPlace
-
linearize
-
transfer
-
getTaggedBitDepth
public int getTaggedBitDepth(int c) -
getCIEPrimaries
-
getCIEWhitePoint
-
getPrimaries
public int getPrimaries() -
getWhitePoint
public int getWhitePoint() -
getTransfer
public int getTransfer() -
getColorEncoding
public int getColorEncoding() -
hasAlpha
public boolean hasAlpha() -
getAlphaIndex
public int getAlphaIndex() -
getTaggedTransfer
public int getTaggedTransfer() -
getHeader
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
hasICCProfile
public boolean hasICCProfile() -
getICCProfile
public byte[] getICCProfile() -
getColorChannelCount
public int getColorChannelCount() -
isAlphaPremultiplied
public boolean isAlphaPremultiplied()
-