result <- imgPipe(
beads,
alpha = 1,
sigma = 2,
sizeFilter = TRUE,
upperlimit = 150,
lowerlimit = 50
)
# Highlight remaining microparticles
plot(beads)
with(
result$detailed,
points(
result$detailed$x,
result$detailed$y,
col = "darkgreen",
pch = 19
)
)
Run the code above in your browser using DataLab