plot.imageQT: A plot function for quadtree decompositions.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

A plot function for quadtree decompositions.

Usage

1
2
3
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)


Search within the LS2Wstat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.