Description Usage Arguments Value See Also Examples
View source: R/cc_brightness.R
Given a stack of images img
, use the first frames_per_set
of them to
create one cross-correlated brightness image, the next frames_per_set
of
them to create the next and so on to get a time-series of cross-correlated
brightness images.
1 2 3 4 5 6 7 8 9 10 11 12 |
img |
A 4-dimensional array of images indexed by |
frames_per_set |
The number of frames with which to calculate the successive cross-correlated brightnesses. This may discard some images, for example if 175 frames are in the input and
|
overlap |
A boolean. If |
ch1 |
A natural number. The index of the first channel to use. |
ch2 |
A natural number. The index of the second channel to use. |
thresh |
Do you want to apply an intensity threshold prior to
calculating cross-correlated brightness (via
|
detrend |
Detrend your data with |
quick |
|
filt |
Do you want to smooth ( |
parallel |
Would you like to use multiple cores to speed up this
function? If so, set the number of cores here, or to use all available
cores, use |
An array where the ith slice is the ith cross-correlated brightness image.
1 2 3 4 5 6 7 8 | img <- ijtiff::read_tif(system.file("extdata", "two_ch.tif",
package = "nandb"
))
cc_bts <- cc_brightness_timeseries(img, 10,
thresh = "Huang",
filt = "median", parallel = 2
)
ijtiff::display(cc_bts[, , 1, 1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.