Description Usage Arguments Value Source References See Also Examples
View source: R/object_detection.R
object_detection
detects objects in classified images as clusters of pixels
having a specific value (and corresponding to a specific class) and returns their
centroid (median) coordinates. The function relies
on the funciton bwlabel
in order to deliniate objects/traces
and on the function rasterToPoints
in order to identify objects/traces
centroid coordinates.
1 | object_detection(classifiedimage, targetclassvalue = 1)
|
classifiedimage |
A |
targetclassvalue |
A numeric value representing the class values of
|
The function returns a list with an element for each image file in directorydata
containing the classified image.
The function relies on the R packages raster
(\insertCiteHijmans.2017TraceIdentification) and EBImage
(\insertCitePau.2010TraceIdentification).
dagsvm_classification_predict
.
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.