res_objectDetection <- objectDetection(beads,
alpha = 1,
sigma = 0)
res_sizeFilter <- sizeFilter(
res_objectDetection$centers,
res_objectDetection$coordinates,
lowerlimit = 50, upperlimit = 150
)
res_proximityFilter <- proximityFilter(
res_sizeFilter$centers,
res_objectDetection$coordinates,
radius = "auto"
)
res_resultAnalytics <- resultAnalytics(
coordinates = res_proximityFilter$coordinates,
unfiltered = res_objectDetection$coordinates,
img = beads
)
print(res_resultAnalytics$summary)
plot(beads)
with(
res_objectDetection$centers,
points(
res_objectDetection$centers$mx,
res_objectDetection$centers$my,
col = "red",
pch = 19
)
)
with(
res_resultAnalytics$detailed,
points(
res_resultAnalytics$detailed$x,
res_resultAnalytics$detailed$y,
col = "darkgreen",
pch = 19
)
)
Run the code above in your browser using DataLab