plot.imageQT | R Documentation |
A plot function for quadtree decompositions.
## S3 method for class 'imageQT' plot(x, cires, unclassval = 0, class = FALSE, QT = TRUE, return = FALSE, qtl = 1, ...)
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 |
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.
immat |
the matrix associated to the plotted image. |
Sarah L. Taylor and Matt Nunes
imageQT
, countTextures
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.