50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

EMD (version 1.5.9)

imageEMD: Plot of Bidimenasional Empirical Mode Decomposition Result

Description

This function draws plots of input image, IMF's, residue and extrema.

Usage

imageEMD(z = z, emdz, extrema = FALSE, …)

Arguments

z

matrix of an image

emdz

decomposition result

extrema

specifies whether the extrma is displayed according to the level of IMF

the usual arguments to the image function

Details

This function draws plots of input image, IMF's, residue and extrema.

Examples

Run this code
# NOT RUN {
data(lena)
z <- lena[seq(1, 512, by=4), seq(1, 512, by=4)]
image(z, main="Lena", xlab="", ylab="", col=gray(0:100/100), axes=FALSE)

# }
# NOT RUN {
lenadecom <- emd2d(z, max.imf = 4)
imageEMD(z=z, emdz=lenadecom, extrema=TRUE, col=gray(0:100/100))
# }

Run the code above in your browser using DataLab