i am working on DWT. Further i want to work on individual bands. I want to know how to pick a specific band.

조회 수: 2 (최근 30일)
e.g like i only want to pick up LL band of the image to further modify it. Then what will be the matlab expression.

답변 (1개)

Christiaan
Christiaan 2015년 3월 9일
편집: Christiaan 2015년 3월 9일
Dear Miss Jain,
The dwt-command performs a single-level one-dimensional wavelet decomposition with respect to either a particular wavelet ('wname', see wfilters for more information) or particular wavelet decomposition filters (Lo_D and Hi_D) that you specify. This means that a filter is used to include certain frequencies in your wavelet data. For more information you can look at dwt example how to implement this in your code.
A second method would be to use a low or high pass filter with the filter-command:
clc;clear all;close all;
load noisdopp;
s = noisdopp;
subplot(3,1,1)
plot(s);grid on; title('original signal')
subplot(3,1,2)
b = [1 -1];
a = [1 -0.9];
c = filter(b,a,s);
plot(c);grid on; title('high pass filter')
subplot(3,1,3)
b = 1;
a = [0.5 -0.5];
c = filter(b,a,s)
plot(c);grid on;title('low pass filter')
Good Luck! Christiaan
  댓글 수: 2
tina jain
tina jain 2015년 3월 10일
thank you Christiaan, but can you show me this on any image instead of noisdopp signals.
tina jain
tina jain 2015년 3월 10일
this is not what i actually want. I want to pick up a particular band as Lo_D or Ho_D and have to further compress it individually. For this I am not getting how to pick up a particular band e.g and Ho_D or Lo_D.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by