Learn R Programming

ProFound (version 1.14.1)

profoundIm: Image Transformations

Description

Various image transformation functions that assist in exploring data. These all require the imager package to be installed.

Usage

profoundImBlur(image = NULL, sigma = 1, plot = FALSE, ...)
profoundImGrad(image = NULL, sigma = 1, plot = FALSE, ...)
profoundImDiff(image = NULL, sigma = 1, plot = FALSE, ...)

Arguments

image

Numeric matrix; required, the image we want to analyse.

sigma

Numeric scalar; standard deviation of the blur.

plot

Logical; should a magimage plot of the output be generated?

Further arguments to be passed to magimage. Only relevant is plot=TRUE.

Value

Numeric matrix; a new image the same size as image, with the relevant transform applied.

For profoundImBlur the output is a smoothed version of the image.

For profoundImGrad the output is the magnitude of the gradient of the smoothed version of the image.

For profoundImDiff the output is the original image minus the smoothed version of the image.

See Also

profoundMakeSegim, profoundMakeSegimExpand

Examples

Run this code
# NOT RUN {
image=readFITS(system.file("extdata", 'VIKING/mystery_VIKING_Z.fits',
package="ProFound"))$imDat
magimage(image)
profoundImBlur(image, plot=TRUE)
profoundImGrad(image, plot=TRUE)
profoundImDiff(image, plot=TRUE)
# }

Run the code above in your browser using DataLab