Description Usage Arguments Value Examples
Get the pixel intensities of certain image channels
1 | .intensity_get(img, ind = c(1, 2))
|
img |
An object of class |
ind |
A |
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.
1 2 3 4 5 6 7 | # load image
fl <- system.file('extdata', 'Image0001_.jpg', package = 'colocr')
img <- image_load(fl)
# choose parameters
int <- roi_select(img, threshold = 90) %>%
.intensity_get()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.