objectDetection {biopixR} | R Documentation |
Object detection
Description
This function identifies objects in an image using edge detection and labeling, gathering the coordinates and centers of the identified objects. The edges of detected objects are then highlighted for easy recognition.
Usage
objectDetection(img, alpha = 1, sigma = 2)
Arguments
img |
image (import by |
alpha |
threshold adjustment factor |
sigma |
smoothing |
Value
list of 4 objects:
data frame of labeled region with the central coordinates
all coordinates that are in labeled regions
size of labeled objects
image were object edges (purple) and detected centers (green) are colored
Examples
res_objectDetection <- objectDetection(beads, alpha = 1, sigma = 2)
res_objectDetection$marked_beads |> plot()
[Package biopixR version 0.2.4 Index]