mbsteg_1.2
所属分类:matlab编程
开发工具:matlab
文件大小:149KB
下载次数:120
上传日期:2009-12-22 20:13:53
上 传 者:
aqua94158
说明: Model Based Steganography Source code by Matlab
文件列表:
mbsteg_1.2\arith_decode.c (5239, 2003-10-13)
mbsteg_1.2\arith_decode.dll (20480, 2003-10-13)
mbsteg_1.2\arith_decode.m (1237, 2003-10-13)
mbsteg_1.2\arith_encode.c (5845, 2003-10-13)
mbsteg_1.2\arith_encode.dll (20480, 2003-10-13)
mbsteg_1.2\arith_encode.m (1228, 2003-10-13)
mbsteg_1.2\blockiness.m (475, 2003-10-30)
mbsteg_1.2\deblock_delta.m (453, 2003-10-30)
mbsteg_1.2\get_sym_frq.m (2451, 2003-10-13)
mbsteg_1.2\get_sym_val.m (685, 2003-10-13)
mbsteg_1.2\goldhill.jpg (48267, 2003-10-13)
mbsteg_1.2\jpeg_steg_capacity.m (1115, 2003-10-30)
mbsteg_1.2\jpeg_steg_decode.m (1828, 2003-10-13)
mbsteg_1.2\jpeg_steg_encode.m (2568, 2003-10-13)
mbsteg_1.2\jpeg_steg_encode_deblock.m (5504, 2003-10-30)
mbsteg_1.2\mcdf.m (187, 2003-10-13)
mbsteg_1.2\mcdfinv.m (214, 2003-10-13)
mbsteg_1.2\mfit.m (859, 2003-10-13)
mbsteg_1.2\mfitc.m (712, 2003-10-13)
mbsteg_1.2\mpdf.m (182, 2003-10-13)
mbsteg_1.2\mrand.m (164, 2003-10-13)
mbsteg_1.2\showimage.m (855, 2003-10-13)
mbsteg_1.2\stegtest.m (1753, 2003-10-13)
mbsteg_1.2\stegtest_deblock.m (1633, 2003-10-30)
mbsteg_1.2\steg_decode.m (1221, 2003-10-13)
mbsteg_1.2\steg_encode.m (2176, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\arith_decode.c (5239, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\arith_decode.dll (20480, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\arith_decode.m (1237, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\arith_encode.c (5845, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\arith_encode.dll (20480, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\arith_encode.m (1228, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\blockiness.m (475, 2003-10-29)
mbsteg_1.2\mbsteg_1.2\deblock_delta.m (453, 2003-10-29)
mbsteg_1.2\mbsteg_1.2\get_sym_frq.m (2451, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\get_sym_val.m (685, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\goldhill.jpg (48267, 2003-10-13)
mbsteg_1.2\mbsteg_1.2\jpeg_steg_capacity.m (1115, 2003-10-29)
... ...
Model-Based JPEG Steganography Demo
===================================
These routines demonstrate the MB1 and MB2 JPEG steganography methods
as described in:
P. Sallee, "Model-Based Steganography", International Workshop on
Digital Watermarking, LNCS 2939, Springer Berlin Heidelberg.
P. Sallee, "Model-Based Methods for Steganography and Steganalysis",
International Journal of Image and Graphics, Vol. 5, Issue 1, pp 167-190.
This software requires the Matlab JPEG Toolbox.
Copyright Notice
================
Copyright (c) 2003 The Regents of the University of California.
All Rights Reserved.
Permission to use, copy, modify, and distribute this software and its
documentation for educational, research and non-profit purposes,
without fee, and without a written agreement is hereby granted,
provided that the above copyright notice, this paragraph and the
following three paragraphs appear in all copies.
Permission to incorporate this software into commercial products may
be obtained by contacting the University of California. Contact Jo Clare
Peterman, University of California, 428 Mrak Hall, Davis, CA, 95616.
This software program and documentation are copyrighted by The Regents
of the University of California. The software program and
documentation are supplied "as is", without any accompanying services
from The Regents. The Regents does not warrant that the operation of
the program will be uninterrupted or error-free. The end-user
understands that the program was developed for research purposes and
is advised not to rely exclusively on the program for any reason.
IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND
ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF
CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS"
BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Files contained in this distribution
====================================
README
arith_decode.c
arith_decode.dll
arith_decode.m
arith_encode.c
arith_encode.dll
arith_encode.m
blockiness.m
deblock_delta.m
get_sym_frq.m
get_sym_val.m
goldhill.jpg
jpeg_steg_capacity.m
jpeg_steg_decode.m
jpeg_steg_encode.m
jpeg_steg_encode_deblock.m
mcdf.m
mcdfinv.m
mfit.m
mfitc.m
mpdf.m
mrand.m
showimage.m
steg_decode.m
steg_encode.m
stegtest.m
stegtest_deblock.m
Matlab functions included in this distribution
==============================================
arith_decode Non-adaptive arithmetic decoder
arith_encode Non-adaptive arithmetic encoder
blockiness Calculate blockiness statistic for a JPEG image
deblock_delta Compute a delta image that will reduce blockiness
get_sym_frq Obtain symbols and model frequencies for coefficients
get_sym_val Convert symbols to coefficient values
jpeg_steg_capacity Estimate capacity of a JPEG image
jpeg_steg_decode JPEG steganography decoder (used for MB1 and MB2)
jpeg_steg_encode JPEG steganography encoder (MB1)
jpeg_steg_encode_deblock JPEG steganograhpy encoder with deblocking (MB2)
mcdf Model cumulative density function
mcdfinv Model inverse cumulative density function
mfit Maximum likelihood model parameter estimate
mfitc Maximum likelihood model parameter estimate (center bin)
mpdf Model probability density function
mrand Draw samples from model distribution
showimage Display an image at the correct resolution
steg_decode Generic steganography decoder
steg_encode Generic steganography encoder
stegtest Demonstration script for MB1
stegtest_deblock Demonstration script for MB2
Installing
==========
Copy all of the files into a new directory.
Compile the MEX routines, if necessary. Compiled MEX routines with
the extension .dll, are provided for Windows 9x/NT/2000 systems.
These were compiled for Matlab 6.5.0.180913a (R13) using the Microsoft
Visual C++ compiler. If you have a different version of Matlab, they
may not work on your system. For use on other platforms, you will
need to take the following steps to compile the MEX routines:
Assuming mex is configured on your system with your compiler of
choice, type:
> mex arith_encode.c
> mex arith_decode.c
If mex is not configured, it will prompt you to select a compiler, or you
can type 'mex -setup' at any time to configure it.
This steganography demo makes use of the Matlab JPEG Toolbox routines,
available from my website.
Getting Started
===============
Once the routines are installed, run the 'stegtest.m' script to to
test the installation. This routine embeds a maximum capacity message
in the goldhill.jpg test image using MB1, decodes the message and
verifies that the decoded message matches the original. For MB2, run
the 'stegtest_deblock.m' script. Reading these scripts is also a
helpful place to start in understanding what the routines do.
Type 'help ' for documentation on a specific function. The
primary routines are JPEG_STEG_ENCODE and JPEG_STEG_DECODE which
operate on JPEG objects returned by JPEG_READ (included in the Matlab
JPEG Toolbox). These routines call the more general functions STEG_ENCODE
and STEG_DECODE. If you want to try this method on file formats other
than JPEG, you can write wrapper scripts similar to JPEG_STEG_ENCODE
and JPEG_STEG_DECODE that call STEG_ENCODE and STEG_DECODE. The
routine JPEG_STEG_ENCODE implements the deblocking step (MB2).
For more detailed description of the algorithm used, refer to the
papers referenced above.
Release Notes
=============
10/08/03 v1.0 Initial release (MB1)
10/13/03 v1.1 Fixed minor bug in stegtest.m
10/29/03 v1.2 Added deblocking option (MB2)
近期下载者:
相关文件:
收藏者: