roi_check {colocr} | R Documentation |
Show pixel intensities
Description
Show the pixel intensities of certain image channels
Usage
roi_check(img, ind = c(1, 2))
Arguments
img |
A |
ind |
A |
Details
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.
Examples
# 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)
[Package colocr version 0.1.1 Index]