dot-labels_add: Label regions of interest

Description Usage Arguments Value

Description

Add labels to regions of interest in an image

Usage

1
.labels_add(px, tolerance, n)

Arguments

px

An object of class pixset

tolerance

A numeric to be passed to label

n

A numeric, the number of desired regions of interest

Value

An object of class cimg. The labels are coded the values in the object starting from 1. The rest of the image is labeled 0.


colocr documentation built on July 1, 2020, 10:32 p.m.