This function draws plots of input image, IMF's, residue and extrema.
imageEMD(z = z, emdz, extrema = FALSE, …)
matrix of an image
decomposition result
specifies whether the extrma is displayed according to the level of IMF
the usual arguments to the image function
This function draws plots of input image, IMF's, residue and extrema.
# 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