prepare the dataframe-object into which all results are to be merged.
Source:R/prepare_resultsObject.R
prepare_resultsObject.Rd
results requires fields
full_path
image_date
image_name
processed_width
processed_height
crop_x0/1\*
crop_y0/1\*
identifiercrop_x0/1\*
identifiercrop_y0/1\*
for each in
names(DATA$spectrums$lower_bound)
:%spectrum%_count
img.fraction (maybe not that valuable?)
%spectrum%_area (as results of duflor::convert_pixels_to_area())
%spectrum%_fraction (as defined as
%spectrum%_count/(sum(<all_plant_spectrums>_count)
)
Note
The results-fields crop_x0
, crop_x1
,... encode the x- and y-coordinates
of the selected cropping (for both image-crops and identifier-crops.)
Due to how imager::grabRect()
functions, the origin of the coordinate-system
is the top-left corner of the image.