check_merging: Checks possible merging of the dead objects.

View source: R/merge_split.R

check_mergingR Documentation

Checks possible merging of the dead objects.

Description

This function takes in two R-lists containing information about current objects in the frame1 and their properties, such as center location and area. If the I am using an arbitrary crieterion for merging. If euclidean distance between centers of the two objects c_dist < or = to r=sqrt(area), then merging is considered. Here, if we assume square objects, then the r is length of a sides of the square. If all objects are dead in frame2 then no merging happened.

Usage

check_merging(dead_obj_id1, current_objects, frame1, frame2)

RBhupi/tracR documentation built on June 13, 2022, 4:42 a.m.