Description Usage Arguments Details Examples
Show the pixel intensities of certain image channels
1 |
img |
A |
ind |
A |
Calling this function returns two plots. The first is a scatter plot of the pixel intensities from two channels. The second is the density distribution of the intensities from the two channels.
1 2 3 4 5 6 7 8 9 10 11 12 | # load images
fl <- system.file('extdata', 'Image0001_.jpg', package = 'colocr')
img <- image_load(fl)
# choose ROI and show the pixel intensities
oldpar <- par()
par(mfrow = c(1, 2))
roi_select(img, threshold = 90) %>%
roi_check()
par(oldpar)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.