plot.imageQT {LS2Wstat}R Documentation

A plot function for quadtree decompositions.

Description

A plot function for quadtree decompositions.

Usage

## S3 method for class 'imageQT'
plot(x, cires, unclassval = 0, class = FALSE, QT = TRUE, 
		return = FALSE, qtl = 1, ...)

Arguments

x

A quadtree decomposition object, such as output from imageQT.

cires

Results of countTextures for the classification of subimages produced by the quadtree decomposition.

unclassval

A value for unclassified values in a quadtree decomposition.

class

A boolean value indicating whether to plot the results from countTextures.

QT

A boolean value indicating whether to plot the quadtree decomposition.

return

A boolean value indicating whether to return the matrix associated to the plotted image.

qtl

Colour specification for the lines drawn in the image segmentation (for QT=TRUE).

...

Any other optional arguments to image.

Details

The function plots the chosen quadtree decomposition, and optionally the textured region classification output from countTextures. If the classification output is plotted (class=TRUE), each textured region is uniquely coloured according to its texture group.

Value

immat

the matrix associated to the plotted image.

Author(s)

Sarah L. Taylor and Matt Nunes

See Also

imageQT, countTextures

Examples


## Not run: 

X<-simTexture(256,K=1,imtype="NS2")[[1]]

XQT<-imageQT(X, bs=100, smooth=FALSE)

XCI <- Tex(XQT$imS, bs=100, smooth=FALSE)

plot(XQT, XCI, QT=T, class=T)

## End(Not run)


[Package LS2Wstat version 2.1-5 Index]