Package steganography.image.overlays
Class RemoveTransparentShuffleOverlay
- java.lang.Object
-
- steganography.image.overlays.SequenceOverlay
-
- steganography.image.overlays.ShuffleOverlay
-
- steganography.image.overlays.RemoveTransparentShuffleOverlay
-
- All Implemented Interfaces:
PixelCoordinateOverlay
public class RemoveTransparentShuffleOverlay extends ShuffleOverlay
This class returns Pixels of the underlying Bitmap in a random order determined by the seed that is given to its constructor.
It will only return Pixels with an alpha value greater than 0.
-
-
Field Summary
-
Fields inherited from class steganography.image.overlays.ShuffleOverlay
random
-
Fields inherited from class steganography.image.overlays.SequenceOverlay
bufferedImage, currentPosition, currentX, currentY, pixelOrder
-
-
Constructor Summary
Constructors Constructor Description RemoveTransparentShuffleOverlay(java.awt.image.BufferedImage bufferedImage, long seed)
Creates an Overlay that returns Pixels of the underlying Bitmap in a random order determined by the seed that is given to its constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initOverlay()
Initialization of the overlay.-
Methods inherited from class steganography.image.overlays.ShuffleOverlay
createOverlay, shufflePixelOrder
-
Methods inherited from class steganography.image.overlays.SequenceOverlay
available, next, setPixel, typeAccepted
-
-
-
-
Constructor Detail
-
RemoveTransparentShuffleOverlay
public RemoveTransparentShuffleOverlay(java.awt.image.BufferedImage bufferedImage, long seed) throws UnsupportedImageTypeException
Creates an Overlay that returns Pixels of the underlying Bitmap in a random order determined by the seed that is given to its constructor.
It will only return Pixels with an alpha value greater than 0.
- Parameters:
bufferedImage
- BufferedImage to represent the pixels ofseed
- Long to be used to affect the randomization of pixelorder.- Throws:
UnsupportedImageTypeException
- if the images type is not supported by this overlay
-
-
Method Detail
-
initOverlay
protected void initOverlay()
Description copied from class:ShuffleOverlay
Initialization of the overlay. This process is separate from the randomization of the overlay.
- Overrides:
initOverlay
in classShuffleOverlay
-
-