.labels_add {colocr}R Documentation

Label regions of interest

Description

Add labels to regions of interest in an image

Usage

.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.


[Package colocr version 0.1.1 Index]