Description Usage Arguments Value See Also Examples
Given a single layer data, a segmentation and a function, this
algorithm returns RasterLayer
like segmentation but with its segment-IDs
replaced with the segment-features, which are the return of processing all
the pixels that belong to a segment with the aforementioned function.
1 2 3 4 | getFeatureImage(x, ...)
## S4 method for signature 'RasterLayer'
getFeatureImage(x, segmentation, fun)
|
x |
|
... |
Additional arguments (none implemented). |
segmentation |
PolarSegmentation. The segmentation of
|
fun |
|
RasterLayer
.
1 2 3 4 5 | x <- loadPhoto()
z <- makeZimage(ncol(x), lensPolyCoef(c(0.9192, -0.1792, -0.000443)))
r <- makeRings(z, angleWidth = asAngle(30))
fi <- getFeatureImage(raster::subset(x, 3), r, sd)
plot(fi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.