get_next_image: Find the best-next image for a fusion model.

Description Usage Arguments Value Author(s)

Description

Find the next best image from the given reference row in the brikcs' images. In case of no match, the next image with the fewer clouds is returned.

Usage

1
get_next_image(brick_imgs, ref_row_number, cloud_threshold = 0.1)

Arguments

brick_imgs

A tibble of the images in a brick, including the variables img_date, sat_image, and cloud_cov.

ref_row_number

A length-one numeric. The index of the reference row in brick_imgs.

cloud_threshold

A length-one numeric. The threshold for matching such that the product of the cloud coverages of the reference and the match are less than this threshold.

Value

A tibble. The row in brick_imgs that best match the ref_row

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/sits.starfm documentation built on Sept. 3, 2020, 4:03 p.m.