Xây dựng lược đồ thủy vân bền vững khóa công khai sử dụng kỹ thuật trải phổ trên miền tần số (Luận văn thạc sĩ)Xây dựng lược đồ thủy vân bền vững khóa công khai sử dụng kỹ thuật trải phổ trên miền tần số (Luận văn thạc sĩ)Xây dựng lược đồ thủy vân bền vững khóa công khai sử dụng kỹ thuật trải phổ trên miền tần số (Luận văn thạc sĩ)Xây dựng lược đồ thủy vân bền vững khóa công khai sử dụng kỹ thuật trải phổ trên miền tần số (Luận văn thạc sĩ)Xây dựng lược đồ thủy vân bền vững khóa công khai sử dụng kỹ thuật trải phổ trên miền tần số (Luận văn thạc sĩ)Xây dựng lược đồ thủy vân bền vững khóa công khai sử dụng kỹ thuật trải phổ trên miền tần số (Luận văn thạc sĩ)Xây dựng lược đồ thủy vân bền vững khóa công khai sử dụng kỹ thuật trải phổ trên miền tần số (Luận văn thạc sĩ)
i IH IH C NGUY N TR C TH N V NG D NG K THU T TR I PH NT NS LU KHOA H C - 2016 S c li u ii IH IH NGUY N TR C TH N V NG D NG K THU T TR I PH NT NS Khoa h : 60 48 01 01 ng d n khoa h c: PGS.TS PH - 2016 S c li u T iii L t qu lu u, ng t ki n th c is ng d n t c m th c ti n c a b a th t Nh ng t lu mb tc ts h tham kh t Vi t Nam T t c tx nh um qu c k lu t theo nh cho l lu S u c li u iv L IC L n Hi ih ng d y ng ki n th c r t b th i gian h h n t ng tri th ph c v u khoa c bi s -TS Ph n th y ng d n, ch b Xin g i l i c ct S c li u v M CL C L iii L IC iv M C L C .v .vii .viii M U .1 : T NG QUAN V NH S , GI 1.1 nh s m nh s i nh s .3 1.1.3 M t s m nh 1.1.4 Histogram c a nh nh d ng nh Jpeg 1.1.6 M t s 1.2 K thu t gi u tin 10 m gi u tin .10 thu t gi u tin 10 thu t gi u tin nh 12 1.2.4 M t s thu Thu nh nh 14 21 1.3 K thu t th 23 m th 23 1.3.2 Th 23 thu t th th ng thu 24 25 t c a h thu 1.3.6 Nh ng t 27 n h thu 28 ng nh thu S c li u 29 vi c v i th 1.3.9 ng d ng c a th c .31 .32 : TH NV 2.1 M t s N T N S 34 th n t n s 34 2.2 M t s thu nv n Cosine r i r c (DCT) 35 n i DCT 35 i DCT - D 36 i IDCT - D .36 i DCT - D 37 i IDCT - D .38 2.2.2 Mi n DCT 39 2.3 Thu 39 2.3.1 Thu 39 2.3.2 Thu 42 n v ng c a thu : 3.1 Th 45 NGHI M 48 n quy 48 .48 48 ng gi i quy 49 3.2 Ph n m m th nghi m th nv n DCT 49 3.2.1 Giao di 49 3.2.2 Th nghi m 51 55 K T LU N 59 U THAM KH O 61 S c li u vii CPT: Y.Chen, H.Pan, Y.Tseng S c li u viii u di m nh nh s histogram c a p nh bitmap c u tin 11 gi u 12 thu t thu 24 26 nh thu 27 39 n th c hi 51 nh th nghi m 53 54 s S 55 nh b n quy v nh 56 nh b n quy v u nh 57 nh b n quy v nh 57 c li u M U Hi n m n truy n t i, chia s um m n ti n, hi u qu T t c m tv ki i k tn in c n thi t m p s n ph n ph m c cung c p d li n ph c qu c n h m b n quy t y c n thi t ph gi h n ch vi c vi ph m b n quy li u s M t nh ng gi th y u hi n ph m d b o v b n quy thu t Th d t qu u c a nhi c, k thu t gi t th us M cg i n ph m s D th d m th d v Th v c ng d d li u s n nv v b n quy G iv nv c ng d ng o n ph m s ts c v th b nv m d ng chung m n vi c b o m u th kh c ph c v u th ts p ph i nh u chuy nv S i u i c li u d d um d ng th c ti th s u ng y em ch nv ng s d ng k thu t tr i ph N i dung lu nt n u m t s k thu t gi u tin, nh s nv th c nh s n v ng k ts c ng d ng bi i Cosine r i r c ( u, ph n k t lu n, ph n m c l u tham kh o DCT) C a lu nm Lu cb c cg th ng quan v nh s , gi nv nt ns nghi m - K t lu ng ki n ngh v n M l tn g ng , th i gi n ch i nh ng thi cs b oc lu ng c S c li u n, ch 54 Sailboat 33.52 23.43 45.42 26.78 Splash 40.29 23.61 50.93 32.23 Airplain 34.70 22.95 49.28 42.04 D t qu t t nhi u so v Giao di ta nh n th S c li u s 55 3.4 s o v b n quy th c, l c, nhi u, c t, m , nh I S * b bi c li u m tra d u th y 56 i v i nh I* b nh quy nh h s quan - Kh nh b n quy y, v n kh S v i ph nh nh th c b n quy c li u 57 u nh: - Kh nh b n quy r ng, v v u nh n nhi u n kh m c 30%, nh th c b n quy nh: - Kh S nh b n quy c li u v nh 58 T , nh th n theo c hai c b n quy n cho h s y, n v ng v B STT s quan b t Munir t Blur (2) Crop (80%) THLA Munir 0.08 0.07 0.03 0.01 1.32 1.52 0.60 0.17 jpeg (30%) 1.36 1.41 0.40 0.03 Jpeg (60%) 1.57 1.55 0.52 0.15 Jpeg (80%) 1.53 1.56 0.51 0.15 Median (2) 0.09 0.36 0.06 0.04 1.49 1.36 0.56 0.25 0.02 0.03 0.02 0.02 Noise (30%) Rotate (100) Qua b im l S c li u ng nh b n quy 59 K T LU N V b ov v v t nhi u K thu t th ng d ng nhi Th c th c hi n thu nhi u ng m ng d ng c th ch p M i thu ng ch ch nv c bi i v i th nv cm ts t n ct tc DCT C i gian th c hi n ch ng S c li u n l ngh ch v i ch t ng chi ti t c y 60 S c li u 61 U THAM KH O Ti ng Vi t [1] Ph t, Nguy n H n, Gi u tin nh nh ng d ng, T n t i, s nh, Nguy [2] - Tr n Qu c u, TTKHTN - CN 2003 u d li u b s ,t u n h c, s 4, 347-353 [4] Nguy n X ng (2001), M t s c i ti n c thu t gi u d li u nh [5] , thu , Cao Th , nv ng c t p con, T p V-1, S 2013 Ti ng Anh [6] Do Van Tuan, Tran Dang Hien, Pham Dang At, A Novel Data Hiding Scheme for Binary Images, International Journal of Computer Science and Information Security, 2012 [7] M Wu, J Lee A novel data embedding method for two-color fascimile images In Proceedings of international symposium on multimedia information processing Chung-Li, Taiwan, R.O.C, 1998 [8] Y Chen, H Pan, Y Tseng A secure data hiding scheme for two-color images In IEEE symposium on computers and communications, 2000 S c li u 62 [9] I J Cox, J Kilian, T Leighton, T Shamoon, , Proc IEEE Internat Conf -19 September 1996, pp 243-246 [10] M Barni, F Bartolini, V Cappellini, A.Piva, -Domain System , Signal Processing 66 (1998), pp 357-372 [11] R Munir, B Riyanto, S Sutikno, W.P Agung, Algorithm into Its Asymmetric Watermarking Technique Using International Journal on Electrical Engineering and Informatics - Volume 1, Number 2, 2009 [12] D Salomon, , Third Edition, ISBN 0-387-40697-2, 2004 S c li u 63 PH L C gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, 'gui_Singleton', gui_Singleton, 'gui_OpeningFcn', @Demo_OpeningFcn, 'gui_OutputFcn', @Demo_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 % Choose default command line output for Demo handles.output = hObject; anh=imread('lena.bmp'); set(handles.Image,'Units','pixels'); resizePos = get(handles.Image,'Position'); anh = imresize(anh,[resizePos(3) resizePos(3)]); axes(handles.Image); cla reset hold off imshow(anh); set(handles.Image,'Units','normalized'); % Update handles structure handles.anhgoc='lena.bmp'; % Update handles structure guidata(hObject, handles); % - Executes on button press in pshChonAnh function pshChonAnh_Callback(hObject, eventdata, handles) anhgoc=uigetfile('*.bmp','Select the bmp image'); S c li u 64 anhgoc1 = imread(anhgoc); set(handles.Image,'Units','pixels'); resizePos = get(handles.Image,'Position'); anhgoc1 = imresize(anhgoc1,[resizePos(3) resizePos(3)]); axes(handles.Image); cla reset hold off imshow(anhgoc1); set(handles.Image,'Units','normalized'); handles.anhgoc=anhgoc; guidata(hObject,handles); % - Executes on button press in pshSoSanh function pshSoSanh_Callback(hObject, eventdata, handles) Nguong=0.5; guidata(hObject,handles); anhgoc=handles.anhgoc; guidata(hObject,handles); AnhTanCongTHLA=handles.AnhTanCongTHLA; guidata(hObject,handles); AnhTanCongMunir=handles.AnhTanCongMunir; guidata(hObject,handles); P=handles.P; %[P] = [ 1.2045 -0.8786 0.4609 -0.1697 -0.6630 0.4561 -0.8551 0.4661 % [Ap1] = Munir(anhgoc , P); %%%%%%%%%%% [ CDif, KL ] = KiemTra( AnhTanCongTHLA ,P, Nguong); [ CDif1, KL1 ] = KiemTra( AnhTanCongMunir ,P, Nguong); %[ CDif1, KL1 ] = KiemTra( Ap1 ,P, Nguong); set(handles.editCorrTHLA,'String',num2str(CDif)); S c li u 0.5246 -0.5033]; 65 set(handles.editCorrMunir,'String',num2str(CDif1)); set(handles.editKLTHLA,'String',KL); set(handles.editKLMunir,'String', KL1); % - Executes on button press in pshNhungMunir function pshNhungMunir_Callback(hObject, eventdata, handles) % hObject handle to pshNhungMunir (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) guidata(hObject,handles); anhgoc=handles.anhgoc; Nguong=0.5; n=10; guidata(hObject,handles); P=handles.P; a=str2num(get(handles.editLamdaMunir,'string')); b=str2num(get(handles.editOmegaMunir,'string')); [Ap] = Munir(anhgoc,P,n,a,b); %Hien anh Ap2 = imread(Ap); set(handles.EmbedMunir,'Units','pixels'); resizePos = get(handles.EmbedMunir,'Position'); Ap2 = imresize(Ap2,[resizePos(3) resizePos(3)]); axes(handles.EmbedMunir); cla reset hold off imshow(Ap2); set(handles.EmbedMunir,'Units','normalized'); set(handles.editPSNR_Munir,'String',num2str(PSNR(anhgoc,Ap))); handles.AnhTanCongMunir=Ap; guidata(hObject,handles); % - Executes on button press in pshNhungTHLA function pshNhungTHLA_Callback(hObject, eventdata, handles) % hObject handle to pshNhungTHLA (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) S c li u 66 guidata(hObject,handles); anhgoc=handles.anhgoc; Nguong=0.5; n=10; guidata(hObject,handles); P=handles.P; a=str2num(get(handles.editLamdaTHLA,'string')); b=str2num(get(handles.editOmegaTHLA,'string')); [Ap] = THLA(anhgoc,P,n,a,b); %Hien anh Ap2 = imread(Ap); set(handles.EmbedTHLA,'Units','pixels'); resizePos = get(handles.EmbedTHLA,'Position'); Ap2 = imresize(Ap2,[resizePos(3) resizePos(3)]); axes(handles.EmbedTHLA); cla reset hold off imshow(Ap2); set(handles.EmbedTHLA,'Units','normalized'); set(handles.editPSNR_THLA,'String',num2str(PSNR(anhgoc,Ap))); handles.AnhTanCongTHLA=Ap; guidata(hObject,handles); % - Executes on button press in pshTanCongMunir function pshTanCongMunir_Callback(hObject, eventdata, handles) % hObject handle to pshTanCongMunir (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) AnhTanCongMunir=uigetfile('*.bmp','Select the bmp image'); AnhTanCongMunir1 = imread(AnhTanCongMunir); set(handles.EmbedMunir,'Units','pixels'); resizePos = get(handles.EmbedMunir,'Position'); AnhTanCongMunir1 = imresize(AnhTanCongMunir1,[resizePos(3) resizePos(3)]); axes(handles.EmbedMunir); cla reset hold off S c li u 67 imshow(AnhTanCongMunir1); set(handles.EmbedMunir,'Units','normalized'); [P] = [ 1.2045 -0.8786 0.4609 -0.1697 -0.6630 0.4561 -0.8551 0.4661 0.5246 -0.5033]; handles.P=P; handles.AnhTanCongMunir=AnhTanCongMunir; set(handles.editLamdaMunir,'String',''); set(handles.editOmegaMunir,'String',''); guidata(hObject,handles); % - Executes on button press in pshTanCongTHLA function pshTanCongTHLA_Callback(hObject, eventdata, handles) % hObject handle to pshTanCongTHLA (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) AnhTanCongTHLA=uigetfile('*.bmp','Select the bmp image'); AnhTanCongTHLA1 = imread(AnhTanCongTHLA); set(handles.EmbedTHLA,'Units','pixels'); resizePos = get(handles.EmbedTHLA,'Position'); AnhTanCongTHLA1 = imresize(AnhTanCongTHLA1,[resizePos(3) resizePos(3)]); axes(handles.EmbedTHLA); cla reset hold off imshow(AnhTanCongTHLA1); set(handles.EmbedTHLA,'Units','normalized'); [P] = [ 1.2045 -0.8786 0.4609 -0.1697 -0.6630 0.4561 -0.8551 0.4661 0.5246 -0.5033]; handles.P=P; handles.AnhTanCongTHLA=AnhTanCongTHLA; set(handles.editLamdaTHLA,'String',''); set(handles.editOmegaTHLA,'String',''); set(handles.editP,'String','1.2045 -0.8786 0.4609 -0.1697 -0.6630 0.4561 -0.8551 -0.5033'); guidata(hObject,handles); % - Executes on button press in pshPSNR S c li u 0.4661 0.5246 68 function pshPSNR_Callback(hObject, eventdata, handles) % hObject handle to pshPSNR (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) guidata(hObject,handles); anhgoc=handles.anhgoc; AnhTanCongTHLA=handles.AnhTanCongTHLA; AnhTanCongMunir=handles.AnhTanCongMunir; set(handles.editPSNR_THLA,'String',num2str(PSNR(anhgoc,AnhTanCongTHLA))); set(handles.editPSNR_Munir,'String',num2str(PSNR(anhgoc,AnhTanCongMunir))); S c li u ... c hi n vi c gi i c a nh Gi u c hi i ma tr n nh sang m t mi (bi i r c), bi i wavelet r i r tri i khai as tr n v d Khi d nt ns u s ch n gi n t quan tr ng ho l a ch ch i quan tr ng c a mi n t n s