Find spots based on threshold and minimum total intensity
spots(
img,
mask,
thresh.offset = 0.1,
window = c(5, 5),
min.sum.intensity = 0,
zero = NA,
max.spots = NULL,
return = "intensity"
)
image array.
mask array.
threshold for minimum voxel intensity.
Half width and height of the moving rectangular window.
threshold for minimum total spot intensity
if NA, background is set to NA, if 0, background is set to 0.
find max.spots spots with highest total intensity.
"mask" returns binarized mask, "intensity" returns intensity for spots, zero or NA otherwise "label" return labeled (numbered) spots.
array