Skip to content

Restrict IDs to ROI in masks with multiple ROIs / allow user defined "Look back (frames)" #32

@ayexander

Description

@ayexander

Error description:
I'm using trackR to track individual ants in a multi-chamber setup, which I mask with multiple non-overlapping ROI's. trackR works well to track the ants, but often the resulting ID's/tracks erroneously jump from one ROI to another despite the ants being physically unable to move between chambers. Also, the ROI jumps are longer than the set "Maximum Distance" and occur when ants disappear from view for a number of frames both shorter and longer than the max allowed "Look back (frames)" value of 150.

Possible Solution:
Is it possible to add an option for multiple unique ROI's, such that the ROI's could be numbered and the track ID's assigned to ants/objects within each ROI be restricted to each ROI.

Alternative / Additional Suggestion:
I'm unsure, but it seems that another feature update that might help would be to make the "Look back (frames)" have a max value of the total #frames in the video.

Example Images:
Example images of ROI ID jumps of about 400 pixels in 5 frames and 31 frames despite "Maximum Distance = 30 pixels" when ants disappear for only 5 and 31 frames despite "Look back = 150" is included:
trackR_ROI_error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions