swt requires wavelet tool ... can i run it without the tool

2 ビュー (過去 30 日間)
PAVITHRA
PAVITHRA 2024 年 3 月 23 日
コメント済み: Walter Roberson 2024 年 3 月 23 日
i=imread('0.jpg');
i=i(1:400,1:400,:);
[a,b,c,d]=swt2(i,4,'db4')
aw=zeros(size(a));
aw(:,:,2:3,4)=a(:,:,2:3,4);
r=iswt2(aw,0*b,0*c,0*d,'db4');
r2=(r-min(r(:)))/(max(r(:))-min(r(:)));
d=image(r2)
imshow(d)

回答 (1 件)

Manikanta Aditya
Manikanta Aditya 2024 年 3 月 23 日
移動済み: Walter Roberson 2024 年 3 月 23 日
The swt2 and iswt2 functions you’re using are part of the Wavelet Toolbox in MATLAB. These functions are used to perform the stationary wavelet transform (SWT) and its inverse. The SWT is a wavelet transform algorithm that does not downsample the signal, making it more suitable for certain applications, particularly in image processing.
If you don’t have the Wavelet Toolbox, you won’t be able to run these functions directly.
  1 件のコメント
Walter Roberson
Walter Roberson 2024 年 3 月 23 日
Unless you write your own swt2() and iswt2() -- which would be non-trivial.

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by