Extract measurements from sampled_data.frame and polygons

subsampling_feature_extraction(sampled_polygons, sampled_data)

Arguments

sampled_polygons

SpatialPolygonsDataFrame, containing the cell polygons.

sampled_data

Data.frame, containing the measurements for all cells (some empty columns because all cell types included in one file)

Value

A vector with whole-image values.

Details

This function is designed to be used when the image has already been processed and all cells have already been measured (e.g. when evaluating sampling effort). For unmeasured images, see extract_image_features().