1 简介

由于混沌序列具有容易生成,对初始条件和混沌参数敏感等特点,近年来在图像加密领域得到了广泛的应用.因此可以借助Matlab编程语言,编写适当的算法将信息进行加解密,实现对秘密消息的加密保护.

2 部分代码


          
          
function varargout = ChaosEncrypt(varargin)
% CHAOSENCRYPT MATLAB code for ChaosEncrypt.fig
% CHAOSENCRYPT, by itself, creates a new CHAOSENCRYPT or raises the existing
% singleton*.
%
% H = CHAOSENCRYPT returns the handle to a new CHAOSENCRYPT or the handle to
% the existing singleton*.
%
% CHAOSENCRYPT('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in CHAOSENCRYPT.M with the given input arguments.
%
% CHAOSENCRYPT('Property','Value',...) creates a new CHAOSENCRYPT or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before ChaosEncrypt_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to ChaosEncrypt_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help ChaosEncrypt
% Last Modified by GUIDE v2.5 25-Feb-2022 23:21:04
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @ChaosEncrypt_OpeningFcn, ...
'gui_OutputFcn', @ChaosEncrypt_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before ChaosEncrypt is made visible.
function ChaosEncrypt_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to ChaosEncrypt (see VARARGIN)
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.

3 仿真结果

【图像加密】基于多种混沌序列Logistic+Tent+Kent+Hent实现图像加密与解密含Matlab源码_工程技术

【图像加密】基于多种混沌序列Logistic+Tent+Kent+Hent实现图像加密与解密含Matlab源码_工程技术_02

【图像加密】基于多种混沌序列Logistic+Tent+Kent+Hent实现图像加密与解密含Matlab源码_参考文献_03

4 参考文献

[1]李梅, 李佳酿, 陈飞翔. 基于混沌序列图像加密技术的Matlab实现[J]. 建筑工程技术与设计, 2015(27).

博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。

部分理论引用网络文献,若有侵权联系博主删除。

【图像加密】基于多种混沌序列Logistic+Tent+Kent+Hent实现图像加密与解密含Matlab源码_工程技术_04