Skip to contents

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))

Usage

prepare_resultsObject(input, DATA, DEBUGKEYS)

Arguments

input

respective shiny-component

DATA

respective shiny-component

DEBUGKEYS

respective shiny-component

Value

results-csv-framework.

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.