public abstract class WatermarkingPlugin extends OpenStegoPlugin
DataHidingPluginOpenStegoPlugin.Purposeconfig| 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, populateStdCmdLineOptionspublic final java.util.List<OpenStegoPlugin.Purpose> getPurposes()
getPurposes in class OpenStegoPluginpublic final java.lang.String extractMsgFileName(byte[] stegoData,
java.lang.String stegoFileName)
throws OpenStegoException
null as
this class is for watermarking plugins onlyextractMsgFileName in class OpenStegoPluginstegoData - Stego data containing the messagestegoFileName - Name of the stego fileOpenStegoExceptionpublic double getHighWatermarkLevel()
throws OpenStegoException
getHighWatermarkLevel in class OpenStegoPluginOpenStegoExceptionpublic double getLowWatermarkLevel()
throws OpenStegoException
getLowWatermarkLevel in class OpenStegoPluginOpenStegoExceptionpublic final boolean canHandle(byte[] stegoData)
false as this class is for watermarking plugins onlycanHandle in class OpenStegoPluginstegoData - Stego data containing the messageCopyright © 2007-2021 Samir Vaidya. All Rights Reserved.