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 |
cires |
Results of |
unclassval |
A value for unclassified values in a quadtree decomposition. |
class |
A boolean value indicating whether to plot the results from |
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 |
... |
Any other optional arguments to |
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
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)