Package steganography.image.overlays
Class TableOverlay
- java.lang.Object
-
- steganography.image.overlays.SequenceOverlay
-
- steganography.image.overlays.ShuffleOverlay
-
- steganography.image.overlays.TableOverlay
-
- All Implemented Interfaces:
PixelCoordinateOverlay
public class TableOverlay extends ShuffleOverlay
- Author:
- Henk-Joas Lubig, Selina Wernike Overlayy Class for images using the Color-Couple-Algorithem
-
-
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 TableOverlay(java.awt.image.BufferedImage bufferedImage, long seed, java.util.Map<java.lang.Integer,java.util.List<java.lang.Integer>> colorCouple)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initOverlay()
Initialization of the overlay.protected boolean
typeAccepted(int type)
Checks whether the type of the given image is accepted by this overlay.-
Methods inherited from class steganography.image.overlays.ShuffleOverlay
createOverlay, shufflePixelOrder
-
Methods inherited from class steganography.image.overlays.SequenceOverlay
available, next, setPixel
-
-
-
-
Constructor Detail
-
TableOverlay
public TableOverlay(java.awt.image.BufferedImage bufferedImage, long seed, java.util.Map<java.lang.Integer,java.util.List<java.lang.Integer>> colorCouple) throws UnsupportedImageTypeException
- Throws:
UnsupportedImageTypeException
-
-
Method Detail
-
typeAccepted
protected boolean typeAccepted(int type)
Description copied from class:SequenceOverlay
Checks whether the type of the given image is accepted by this overlay.
Overwritten by subclasses to apply their own rules for acceptance.
- Overrides:
typeAccepted
in classSequenceOverlay
- Parameters:
type
- pixel deth of image- Returns:
- true when image is a pixel depth of 8
-
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
-
-