Package net.algart.external.awt
Class BufferedImageToMatrix.ToInterleavedRGB
java.lang.Object
net.algart.external.awt.BufferedImageToMatrix
net.algart.external.awt.BufferedImageToMatrix.ToInterleavedRGB
- Direct Known Subclasses:
BufferedImageToMatrix.ToInterleavedBGR
- Enclosing class:
BufferedImageToMatrix
-
Nested Class Summary
Nested classes/interfaces inherited from class net.algart.external.awt.BufferedImageToMatrix
BufferedImageToMatrix.ToInterleavedBGR, BufferedImageToMatrix.ToInterleavedRGB
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getResultElementType
(BufferedImage bufferedImage) long[]
getResultMatrixDimensions
(int width, int height, int bandCount) boolean
boolean
setReadPixelValuesViaColorModel
(boolean readPixelValuesViaColorModel) setReadPixelValuesViaGraphics2D
(boolean readPixelValuesViaGraphics2D) protected void
toJavaArray
(Object resultJavaArray, BufferedImage bufferedImage) Methods inherited from class net.algart.external.awt.BufferedImageToMatrix
getBandCount, getResultMatrixDimensions, isEnableAlpha, setEnableAlpha, toMatrix, toMatrix
-
Field Details
-
DEFAULT_READ_PIXEL_VALUES_VIA_COLOR_MODEL
public static final boolean DEFAULT_READ_PIXEL_VALUES_VIA_COLOR_MODEL- See Also:
-
DEFAULT_READ_PIXEL_VALUES_VIA_GRAPHICS_2D
public static final boolean DEFAULT_READ_PIXEL_VALUES_VIA_GRAPHICS_2D- See Also:
-
-
Constructor Details
-
ToInterleavedRGB
public ToInterleavedRGB()
-
-
Method Details
-
isReadPixelValuesViaColorModel
public boolean isReadPixelValuesViaColorModel() -
setReadPixelValuesViaColorModel
public BufferedImageToMatrix.ToInterleavedRGB setReadPixelValuesViaColorModel(boolean readPixelValuesViaColorModel) -
isReadPixelValuesViaGraphics2D
public boolean isReadPixelValuesViaGraphics2D() -
setReadPixelValuesViaGraphics2D
public BufferedImageToMatrix.ToInterleavedRGB setReadPixelValuesViaGraphics2D(boolean readPixelValuesViaGraphics2D) -
getResultElementType
- Specified by:
getResultElementType
in classBufferedImageToMatrix
-
getResultMatrixDimensions
public long[] getResultMatrixDimensions(int width, int height, int bandCount) - Specified by:
getResultMatrixDimensions
in classBufferedImageToMatrix
-
toJavaArray
- Specified by:
toJavaArray
in classBufferedImageToMatrix
-