R/examples/msImage_smoothImage.R

## Load package
library("SPUTNIK")

## Create ms.image-class object
msIm <- msImage(values = matrix(rnorm(200), 40, 50), name = "test", scale = TRUE)

## Smooth the image colors
msImSmoothed <- smoothImage(msIm, sigma = 5)
paoloinglese/SPUTNIK documentation built on April 18, 2024, 8:56 p.m.