matlab中wextend函数代码,wfusimg在matlab中是什么意思?

匿名用户

1级

2019-01-07 回答

是小波变换工具箱里的一个函数,用于融合两个图像。

英文详解如下,中文的……我就不翻译了。

wfusimg -

Fusion of two images

Syntax

XFUS = wfusimg(X1,X2,WNAME,LEVEL,AFUSMETH,DFUSMETH)

[XFUS,TXFUS,TX1,TX2] =

wfusimg(X1,X2,WNAME,LEVEL,AFUSMETH,DFUSMETH)

wfusimg(X1,X2,WNAME,LEVEL,AFUSMETH,DFUSMETH,FLAGPLOT)

Description

The principle of image fusion using wavelets is to merge the wavelet decompositions of the two original images using fusion methods applied to approximations coefficients and details coefficients (see Zeeuw and Misiti et al.).

XFUS = wfusimg(X1,X2,WNAME,LEVEL,AFUSMETH,DFUSMETH) returns the fused image XFUS obtained by fusion of the two original images X1 and X2. Each fusion method, defined by AFUSMETH and DFUSMETH, merges in a specific way detailed below, the decompositions of X1 and X2, at level LEVEL and using wavelet WNAME.

AFUSMETH and DFUSMETH define the fusion method for approximations and details, respectively.

[XFUS,TXFUS,TX1,TX2] = wfusimg(X1,X2,WNAME,LEVEL,AFUSMETH,DFUSMETH) returns, in addition to matrix XFUS, three objects of the class WDECTREE associated with XFUS, X1, and X2 respectively (see @WDECTREE). wfusimg(X1,X2,WNAME,LEVEL,AFUSMETH,DFUSMETH,FLAGPLOT) also plots the objects TXFUS, TX1, and TX2.

Fusmeth denotes AFUSMETH or DFUSMETH. Available fusion methods are

Simple — Fusmeth can be 'max', 'min', 'mean', 'img1', 'img2' or 'rand', which merges the two approximations or details structures obtained from X1 and X2 elementwise by taking the maximum, the minimum, the mean, the first element, the second element, or a randomly chosen element

Parameter-dependent — Fusmeth is of the following form

Fusmeth = struct('name',nameMETH,'param',paramMETH)

where nameMETH can be

'linear'

'UD_fusion' Up-down fusion

'DU_fusion' Down-up fusion

'RL_fusion' Right-left fusion

'UserDEF' User-defined fusion

For the description of these options and the paramMETH parameter, see wfusmat.

Tips

X1 and X2 must be of same size (see wextend to resize images) and represent indexed images or truecolor images, which are m-by-n matrices or m-by-n-by-3 arrays, respectively.

For more information on image formats, see the image and imfinfo reference pages.

Examples

The following three examples examine the process of image fusion

The first example merges two different images leading to a new image

The second example restores an image from two fuzzy versions of an original image.

The third example shows how to make an image fusion using a user defined fusion method.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值