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
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getResultElementType(BufferedImage bufferedImage) long[]getResultMatrixDimensions(int width, int height, int bandCount) booleanbooleansetReadPixelValuesViaColorModel(boolean readPixelValuesViaColorModel) setReadPixelValuesViaGraphics2D(boolean readPixelValuesViaGraphics2D) protected voidtoJavaArray(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:
getResultElementTypein classBufferedImageToMatrix
-
getResultMatrixDimensions
public long[] getResultMatrixDimensions(int width, int height, int bandCount) - Specified by:
getResultMatrixDimensionsin classBufferedImageToMatrix
-
toJavaArray
- Specified by:
toJavaArrayin classBufferedImageToMatrix
-