Problem with Haar wavelet transform

1 回表示 (過去 30 日間)
Tran Tuan Anh
Tran Tuan Anh 2014 年 5 月 13 日
編集済み: Tran Tuan Anh 2014 年 5 月 13 日
Hi every ones
I have a problem when I code matlab program and really need your help
I have a binary image (only 0 and 1) I use haar wavelet transform by matlab code : [LL,LH,HL,HH] =dwt2( f, 'haar'); I also have four subimage
LL : has maximun is 2 and min is 0 ( in this we have 0 - 0.5 - 1 - 1.5 - 2)
HL and LH and HH: have max is 1 and min is -1 ( in this we have -1 - (-0.5) - 0 - 0.5 - 1)
But now, because this is a binary image so I want our result just belong to 0 and 1. May be we can use low passfilter is OR logical and high passfilter is XOR.
But I don't know how to explain this and code, Please help me.
Thank you so much

回答 (0 件)

カテゴリ

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