資源簡介
數(shù)字水印,基于dwt的代碼

代碼片段和文件信息
function?[LL3?HL3?LH3?HH3?HL2?LH2?HH2?HL1?LH1?HH1]?=?Classification(LL3?HL3?LH3?HH3?HL2?LH2?HH2?HL1?LH1?HH1)
%???????Weighting?of?each?sub-block?depending?on?its?own?activity
%?
%?in:???LL3:?3rd?level?approximation?image
%???????HL3:?3rd?level?horizontal?detail?image
%???????LH3:?3rd?level?vertical?detail?image
%???????HH3:?3rd?level?diagonal?detail?image
%?
%???????HL2:?2nd?level?horizontal?detail?image
%???????LH2:?2nd?level?vertical?detail?image
%???????HH2:?2nd?level?diagonal?detail?image
%?
%???????HL1:?1st?level?horizontal?detail?image
%???????LH1:?1st?level?vertical?detail?image
%???????HH1:?1st?level?diagonal?detail?image
%?
%?J.?de?la?Rica?CCAV-UPC?Dec-2016
LL3?=?LL3.*0.55;
LH3?=?LH3.*0.52;
HL3?=?HL3.*0.52;
HH3?=?HH3.*0.52;
LH2?=?LH2.*0.48;
HL2?=?HL2.*0.48;
HH2?=?HH2.*0.55;
LH1?=?LH1.*0.48;
HL1?=?HL1.*0.48;
HH1?=?HH1.*0.55;
%?HH1
%?for?i?=?1:length(HH1_b)
%?????for?j?=?1:length(HH1_b)
%?????????if?HH1_b(ji)~=0
%?????????????HH1?=?HH1.*0.6;
%?????????else
%?????????????HH1?=?HH1.*0.4;
%?????????end
%?????end
%?end
%?
%?%?HL1
%?for?i?=?1:length(HL1_b)
%?????for?j?=?1:length(HL1_b)
%?????????if?HL1_b(ji)~=0
%?????????????HL1?=?HL1.*0.6;
%?????????else
%?????????????HL1?=?HL1.*0.4;
%?????????end
%?????end
%?end
%?%?LH1
%?for?i?=?1:length(LH1_b)
%?????for?j?=?1:length(LH1_b)
%?????????if?LH1_b(ji)~=0
%?????????????LH1?=?LH1.*0.6;
%?????????else
%?????????????LH1?=?LH1.*0.4;
%?????????end
%?????end
%?end
%?
%?%?HH2
%?for?i?=?1:length(HH2_b)
%?????for?j?=?1:length(HH2_b)
%?????????if?HH2_b(ji)~=0
%?????????????HH2?=?HH2.*0.6;
%?????????else
%?????????????HH2?=?HH2.*0.4;
%?????????end
%?????end
%?end
%?%?HL2
%?for?i?=?1:length(HL2_b)
%?????for?j?=?1:length(HL2_b)
%?????????if?HL2_b(ji)~=0
%?????????????HL2?=?HL2.*0.6;
%?????????else
%?????????????HL2?=?HL2.*0.4;
%?????????end
%?????end
%?end
%?%?LH2
%?for?i?=?1:length(LH2_b)
%?????for?j?=?1:length(LH2_b)
%?????????if?LH2_b(ji)~=0
%?????????????LH2?=?LH2.*0.6;
%?????????else
%?????????????LH2?=?LH2.*0.4;
%?????????end
%?????end
%?end
%?%?HH3
%?for?i?=?1:length(HH3_b)
%?????for?j?=?1:length(HH3_b)
%?????????if?HH3_b(ji)~=0
%?????????????HH3?=?HH3.*0.6;
%?????????else
%?????????????HH3?=?HH3.*0.4;
%?????????end
%?????end
%?end
%?%?HL3
%?for?i?=?1:length(HL3_b)
%?????for?j?=?1:length(HL3_b)
%?????????if?HL3_b(ji)~=0
%?????????????HL3?=?HL3.*0.6;
%?????????else
%?????????????HL3?=?HL3.*0.4;
%?????????end
%?????end
%?end
%?%?LH3
%?for?i?=?1:length(LH3_b)
%?????for?j?=?1:length(LH3_b)
%?????????if?LH3_b(ji)~=0
%?????????????LH3?=?LH3.*0.6;
%?????????else
%?????????????LH3?=?LH3.*0.4;
%?????????end
%?????end
%?end
%?%?LL3
%?for?i?=?1:length(LL3_b)
%?????for?j?=?1:length(LL3_b)
%?????????if?LL3_b(ji)~=0
%?????????????LL3?=?LL3.*0.6;
%?????????else
%?????????????LL3?=?LL3.*0.4;
%?????????end
%?????end
%?end
end
%?end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-02-21?23:12??CCAV_ImageCoder-master\
?????文件????????2841??2017-02-21?23:12??CCAV_ImageCoder-master\Classification.m
?????文件?????????250??2017-02-21?23:12??CCAV_ImageCoder-master\Compute_Variance.m
?????文件????????1482??2017-02-21?23:12??CCAV_ImageCoder-master\DWT_Analysis.m
?????文件?????????793??2017-02-21?23:12??CCAV_ImageCoder-master\DWT_AppCoef.m
?????文件?????????892??2017-02-21?23:12??CCAV_ImageCoder-master\DWT_Decomposition.m
?????文件?????????294??2017-02-21?23:12??CCAV_ImageCoder-master\DWT_Reconstruction.m
?????文件????????1562??2017-02-21?23:12??CCAV_ImageCoder-master\DWT_Synthesis.m
?????文件?????????314??2017-02-21?23:12??CCAV_ImageCoder-master\Display_Image.m
?????文件????????5207??2017-02-21?23:12??CCAV_ImageCoder-master\ImageCoder_main.m
?????文件???????62498??2017-02-21?23:12??CCAV_ImageCoder-master\ImageCoding.fig
?????文件????????7000??2017-02-21?23:12??CCAV_ImageCoder-master\ImageCoding.m
?????目錄???????????0??2017-02-21?23:12??CCAV_ImageCoder-master\Images\
?????文件???????20921??2017-02-21?23:12??CCAV_ImageCoder-master\Images\1.JPG
?????文件???????26401??2017-02-21?23:12??CCAV_ImageCoder-master\Images\2.JPG
?????文件???????27230??2017-02-21?23:12??CCAV_ImageCoder-master\Images\3.JPG
?????文件???????28092??2017-02-21?23:12??CCAV_ImageCoder-master\Images\4.JPG
?????文件???????34189??2017-02-21?23:12??CCAV_ImageCoder-master\Images\5.JPG
?????文件???????22622??2017-02-21?23:12??CCAV_ImageCoder-master\Images\6.JPG
?????文件???????28957??2017-02-21?23:12??CCAV_ImageCoder-master\Images\7.JPG
?????文件???????56356??2017-02-21?23:12??CCAV_ImageCoder-master\Images\8.JPG
?????文件???????46314??2017-02-21?23:12??CCAV_ImageCoder-master\Images\9.JPG
?????文件????????9816??2017-02-21?23:12??CCAV_ImageCoder-master\Images\image-javier.jpg
?????文件???????27651??2017-02-21?23:12??CCAV_ImageCoder-master\Images\upc_etsetb.jpg
?????文件???????13080??2017-02-21?23:12??CCAV_ImageCoder-master\README.md
?????文件?????????147??2017-02-21?23:12??CCAV_ImageCoder-master\Read_Image.m
?????文件????????8470??2017-02-21?23:12??CCAV_ImageCoder-master\SPIHT_Coder.m
?????文件????????5365??2017-02-21?23:12??CCAV_ImageCoder-master\SPIHT_Decoder.m
?????文件?????????989??2017-02-21?23:12??CCAV_ImageCoder-master\SPIHT_Descendant.m
?????文件?????????366??2017-02-21?23:12??CCAV_ImageCoder-master\SubBlock_Binarization.m
?????文件????????1663??2017-02-21?23:12??CCAV_ImageCoder-master\SubBlocks_Split.m
............此處省略9個文件信息
評論
共有 條評論