crop_row_finder: Maps out the crop rows of the image (of a maize field)

Description Usage Arguments Details Value Examples

View source: R/crop_row_finder.R

Description

Finds the x coordinates of the crop rows in the image.

Usage

1
crop_row_finder(picture_list, ratio, final_ratio, intensity)

Arguments

picture_list

The list of rotated images originally from a single image.

ratio

The first strict ratio used to identify which rotation has the most vertical crop rows.

final_ratio

The less-strict ratio used on the best image after rotations to capture smaller potential crop rows.

intensity

The amount of smoothing of the image.

Details

This function is a combination of two previous functions best_rotation and crop_lines to find the best rotation and then map out the x coordinates of the crop rows in the image.

Value

a list of x coordinates for the image on which the function was applied.

Examples

1
crop_rows <- crop_row_finder(picture_list, 0.5, 0.05, 0.25)

niconaut/crop.row.finder documentation built on June 29, 2020, 6:10 a.m.