public abstract class WatermarkingPlugin extends OpenStegoPlugin
DataHidingPlugin
OpenStegoPlugin.Purpose
config
Constructor and Description |
---|
WatermarkingPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(byte[] stegoData)
Method to find out whether given stego data can be handled by this plugin or not.
|
java.lang.String |
extractMsgFileName(byte[] stegoData,
java.lang.String stegoFileName)
Method to extract the message file name from the stego data.
|
double |
getHighWatermarkLevel()
Method to get correlation value which above which it can be considered that watermark strength is high (default
to 0.5 which is safe for general watermarking)
|
double |
getLowWatermarkLevel()
Method to get correlation value which below which it can be considered that watermark strength is low (default to
0.2 which is safe for general watermarking)
|
java.util.List<OpenStegoPlugin.Purpose> |
getPurposes()
Gives the purpose(s) of the plugin.
|
checkMark, createConfig, createConfig, createConfig, embedData, extractData, generateSignature, getConfig, getConfigClass, getDescription, getDiff, getEmbedOptionsUI, getName, getPurposesLabel, getReadableFileExtensions, getUsage, getWatermarkCorrelation, getWritableFileExtensions, populateStdCmdLineOptions
public final java.util.List<OpenStegoPlugin.Purpose> getPurposes()
getPurposes
in class OpenStegoPlugin
public final java.lang.String extractMsgFileName(byte[] stegoData, java.lang.String stegoFileName) throws OpenStegoException
null
as
this class is for watermarking plugins onlyextractMsgFileName
in class OpenStegoPlugin
stegoData
- Stego data containing the messagestegoFileName
- Name of the stego fileOpenStegoException
public double getHighWatermarkLevel() throws OpenStegoException
getHighWatermarkLevel
in class OpenStegoPlugin
OpenStegoException
public double getLowWatermarkLevel() throws OpenStegoException
getLowWatermarkLevel
in class OpenStegoPlugin
OpenStegoException
public final boolean canHandle(byte[] stegoData)
false
as this class is for watermarking plugins onlycanHandle
in class OpenStegoPlugin
stegoData
- Stego data containing the messageCopyright © 2007-2019 Samir Vaidya. All Rights Reserved.