Package org.aoju.bus.image.nimble
Class Overlays
java.lang.Object
org.aoju.bus.image.nimble.Overlays
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyOverlay(int frameIndex, WritableRaster raster, Attributes attrs, int gg0000, int pixelValue, byte[] ovlyData) static voidextractFromPixeldata(Raster raster, int mask, byte[] ovlyData, int off, int length) static int[]getActiveOverlayGroupOffsets(Attributes psattrs) static int[]getActiveOverlayGroupOffsets(Attributes attrs, int activationMask) static int[]static int[]getOverlayGroupOffsets(Attributes attrs, int tag, int activationMask) static intgetRecommendedDisplayGrayscaleValue(Attributes psAttrs, int gg0000)
-
Constructor Details
-
Overlays
public Overlays()
-
-
Method Details
-
getActiveOverlayGroupOffsets
-
getActiveOverlayGroupOffsets
-
getOverlayGroupOffsets
-
getEmbeddedOverlayGroupOffsets
-
extractFromPixeldata
public static void extractFromPixeldata(Raster raster, int mask, byte[] ovlyData, int off, int length) -
getRecommendedDisplayGrayscaleValue
-
applyOverlay
public static void applyOverlay(int frameIndex, WritableRaster raster, Attributes attrs, int gg0000, int pixelValue, byte[] ovlyData)
-