predictSurfClass: apply model to predict surface type (roof, street, ...)

View source: R/classification_satellite-image.R

predictSurfClassR Documentation

apply model to predict surface type (roof, street, ...)

Description

apply model to predict surface type (roof, street, ...)

Usage

predictSurfClass(rawdir, modelName, image, predName)

Arguments

rawdir

path to raw data directory

modelName

Name of fitted random forest model saved by buildClassMod

image

Image to be classified

predName

Name of output raster file (classified image)

Value

Writes raster in "rawdir" with file name "predName"


KWB-R/kwb.ml documentation built on May 22, 2022, 11:47 a.m.