| .intensity_get {colocr} | R Documentation |
Get pixel intensities
Description
Get the pixel intensities of certain image channels
Usage
.intensity_get(img, ind = c(1, 2))
Arguments
img |
An object of class |
ind |
A |
Value
A list of three items. The first two items are the values of
the pixel intensities of the channels indicated by ind. The third is
the labels of the individual regions of interest.
Examples
# load image
fl <- system.file('extdata', 'Image0001_.jpg', package = 'colocr')
img <- image_load(fl)
# choose parameters
int <- roi_select(img, threshold = 90) %>%
.intensity_get()
[Package colocr version 0.1.1 Index]