profoundImBlur: Image Transformations

Description Usage Arguments Value Author(s) See Also Examples

View source: R/profoundUtility.R

Description

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

Usage

1
2
3

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.

Author(s)

Aaron Robotham

See Also

profoundMakeSegim, profoundMakeSegimExpand

Examples

1
2
3
4
5
6
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)

ProFound documentation built on Jan. 8, 2021, 5:37 p.m.