What are LL,LH,HL,HH in DWT?

152 ビュー (過去 30 日間)
Mihnea Constantin
Mihnea Constantin 2020 年 11 月 2 日
コメント済み: Dominic Mathew 2021 年 3 月 17 日
Hello everyone, I have a small project where my first step is to decompose an image using DWT. Could anyone help me explain
1:what are LL,LH,HL,HH in DWT?
2: what code do i need to write if I want to do a second level and even third level decompostion to extract the value of LL

回答 (1 件)

Saurav Chaudhary
Saurav Chaudhary 2020 年 11 月 5 日
DWT is an algorithm used to reduce dimensionality of an image, feature extraction process. DWT algorithm decomposes the image into 4 sub-band (sub-image) ie,LL,LH,HL,HH.
  • LL is the approximate image of input image it is low frequency subband so it is used for further decomposition process.
  • LH subband extract the horizontal features of original image.
  • HL subband gives vertical features .
  • HH subband gives diagonal features .
You can decompose LL band image further, look at the following MATLAB answer to get an idea.https://www.mathworks.com/matlabcentral/answers/163844-how-to-write-matlab-code-for-third-level-dwt
  2 件のコメント
Mihnea Constantin
Mihnea Constantin 2020 年 11 月 7 日
Thank you for the clariffication. I found two methods that I could do it, But im not sure which would be better.
Method 1:
I = imread('cameraman.tif');
[LL1,LH1,HL1,HH1]=dwt2(I,'db1');
[LL2,LH2,HL2,HH2]=dwt2(LL1,'db1');
[LL3,LH3,HL3,HH3]=dwt2(LL2,'db1');
LvlDecom_LL1 = LL1
LvlDecom_LL2 = LL2
LvlDecom_LL3 = LL3
Method 2:
I = imread('cameraman.tif');
[LL1,LH1,HL1,HH1] = dwt2(I,'sym4','mode','per')
[LL2,LH2,HL2,HH2] = dwt2(LL1,'sym4','mode','per')
[LL3,LH3,HL3,HH3] = dwt2(LL2,'sym4','mode','per')
LvlDecom_LL1 = LL1
LvlDecom_LL2 = LL2
LvlDecom_LL3 = LL3
I personally I'm not sure if both would be correct or if one is better than another....If you or anyone could clarrify this for me, I would highly appericate it :)
Dominic Mathew
Dominic Mathew 2021 年 3 月 17 日
I had tried to do hyperchaotic image encryption for the decomposed LL image but it is showing error could you explain why and how to resolve it.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDiscrete Multiresolution Analysis についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by