imganiso2D {adimpro} | R Documentation |
The function creates an object of class adimpro
that
visualizes anisotropy information using the HSI color space for
main direction of anisotropy (H), maximum eigenvalue^satexp
(S)
and log(excentricity) (I).
imganiso2D(x, satexp = 0.25, g=3, rho=0)
x |
a field of 2D tensors (Dimension c(3,n1,n2) ) or an object of class "adimpro" . |
satexp |
exponent for maximum eigenvalue in saturation channel. Determines the contrast in this channel. |
g |
Bandwidth for anisotropic smoothing gradient estimates,
preferably g >= 3 for images with line type texture and small
g \approx 1 for improving edges between homogeneous regions. |
rho |
Regularization parameter for anisotropic smoothing gradient estimates,
preferably rho = 0 for images with line type texture and large
rho \approx 3*variance for improving edges between homogeneous regions. |
an object (image) of class adimpro
.
Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de
Polzehl, J. and Tabelow, K. (2007). Adaptive smoothing of digital images, Journal of Statistical Software 19 (1).
awsaniso
,read.image
, read.raw
, make.image
, show.image
, clip.image
if(Sys.getenv("ImageMagick")==""){ cat("Please install ImageMagick\n") } else { img.noise <- read.image(system.file("img/wias-noise.ppm",package="adimpro")) X11(width=7,height=7) img.hat.c <- awsaniso(img.noise,hmax=15,graph=TRUE,g=0.1,rho=3) show.image(imganiso2D(img.hat.c,g=0.,rho=1000^2)) }