Syndrome-Trellis-Codes-Toolbox
所属分类:matlab编程
开发工具:matlab
文件大小:6179KB
下载次数:24
上传日期:2014-03-18 20:18:38
上 传 者:
lqlong
说明: STCs码编解码程序,用C++和matalb各自编写
(STCs encode decode)
文件列表:
Syndrome-Trellis Codes Toolbox\MINIMIZING ADDITIVE DISTORTION FUNCTIONSWITH NON-BINARY EMBEDDING.pdf (172965, 2011-07-23)
Syndrome-Trellis Codes Toolbox\Minimizing Additive Distortion in Steganography.pdf (533162, 2011-07-23)
Syndrome-Trellis Codes Toolbox\Minimizing Embedding Impact in Steganography using.pdf (373749, 2011-07-23)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\Design of Adaptive Steganographic Schemes for Digital Image.pdf (309688, 2011-07-23)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\example.bat (338, 2010-12-06)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\any.hpp (6758, 2009-09-13)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\assert.hpp (1324, 2007-11-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\apply.hpp (2476, 2004-07-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\arg.hpp (1304, 2007-11-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\bind.hpp (59209, 2009-11-30)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\bind_cc.hpp (6025, 2004-07-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\bind_mf2_cc.hpp (11566, 2008-09-28)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\bind_mf_cc.hpp (10944, 2004-07-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\bind_template.hpp (14416, 2007-11-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\make_adaptable.hpp (3351, 2004-07-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\mem_fn.hpp (7438, 2009-03-02)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\mem_fn_cc.hpp (4907, 2004-07-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\mem_fn_template.hpp (27576, 2009-12-03)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\mem_fn_vw.hpp (8082, 2004-07-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\placeholders.hpp (1988, 2009-04-15)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\protect.hpp (10008, 2009-08-08)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\bind\storage.hpp (13847, 2006-03-01)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\call_traits.hpp (797, 2003-12-03)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\cerrno.hpp (4504, 2007-11-15)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\checked_delete.hpp (1658, 2004-08-12)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\abi\borland_prefix.hpp (1026, 2003-10-04)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\abi\borland_suffix.hpp (292, 2003-10-04)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\abi\msvc_prefix.hpp (841, 2008-10-09)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\abi\msvc_suffix.hpp (260, 2003-10-04)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\abi_prefix.hpp (723, 2008-07-15)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\abi_suffix.hpp (808, 2008-07-15)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\auto_link.hpp (10742, 2009-01-10)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\borland.hpp (7861, 2009-12-14)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\codegear.hpp (4984, 2009-12-14)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\comeau.hpp (1690, 2005-08-25)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\common_edg.hpp (2806, 2009-10-09)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\compaq_cxx.hpp (520, 2007-11-23)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\digitalmars.hpp (2720, 2009-10-09)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\gcc.hpp (6193, 2009-10-13)
Syndrome-Trellis Codes Toolbox\STC(网格码)Windows_VC2008\ml_stc_windows_vc_2008_v1.0\include\boost\config\compiler\gcc_xml.hpp (943, 2006-01-24)
... ...
#
# Embedding and Extraction Algorithm Using syndrome Trellis Coding
# for MATLAB
Contents of folder:
- stc_embed.cpp
C++ source code of the syndrome trellis embedding algorithm for MATLAB. Requires the SSE2 instruction set for compilation and running.
- stc_extract.cpp
C++ source code of the syndrome trellis extraction algorithm for MATLAB
- common.h
Include file with optimized matrices for payloads 1/i, 2 <= i <= 20 and constraint heights 6 <= h <= 12 and shared functions
(required file for compilation)
- readme.txt
This file
- stc_embed.mexw32
MATLAB MEX file with the embedding function, compiled with MATLAB R2006a. You can use this without compiling anything, but it's not guaranteed to work on all machines, operating systems, or versions of MATLAB.
- stc_extract.mexw32
MATLAB MEX file with the extraction function. See above for details.
- example.m
A MATLAB file illustrating the usage of the algorithm
- ex_linear.m
An example MATLAB file for generating a graph of embedding efficiency vs. inverse payload for a given constraint length and a linear profile
- ex_wet.m
An example MATLAB file illustrating the usage of the algorithm on a wet channel.
- cfunc/
Folder with non-MATLAB versions of the embedding and extraction algorithm (C++ source code). See the readme.txt file in the folder for details.
------------------------------------
Installation:
Either:
1) Copy the files stc_embed.mexw32, stc_extract.mexw32 into a MATLAB work directory (this method doesn't have to work on all machines)
Or:
1) Copy the files stc_embed.cpp, stc_extract.cpp and common.h to a MATLAB work directory
2) Run
mex stc_embed.cpp
mex stc_extract.cpp
in the MATLAB prompt. You need a C++ compiler with SSE2 intrinsics support.
------------------------------------
Usage:
Embedding:
Use the function [dist, stego] = stc_embed(cover, message, profile, constr_height = 10)
where the inputs are:
cover - the binary cover vector (must be of type uint8)
message - the binary message to be communicated (must be of type uint8)
profile - your distortion profile (must be of type uint8 or double)
constr_height (optional) - the constraint height of the used matrix.
This should be a number between 6 and 15 (a higher number means bigger efficiency but longer embedding time), default is 10.
and the outputs:
dist - the total distortion introduced by embedding the message
stego (optional) - the binary stego vector communicating the message
Extraction:
Use the function [message] = stc_extract(stego, message_length, constr_height = 10)
where the output is the embedded message and the inputs are:
stego - the binary stego vector (must be of type uint8)
message_length - the length of the hidden message
constr_height (optional) - the constraint height of the matrix used for embedding the message, default is 10
近期下载者:
相关文件:
收藏者: