
Tests whether the object is of class blob
.
isBlob(object)
Any R object.
A logical indicating whether the object is of class
blob
(TRUE) or not (FALSE).
# NOT RUN {
dots <- image(system.file("sample_img/dots.jpg", package = "Rvision"))
blobs <- simpleBlobDetector(invert(dots), min_threshold = 25, max_threshold = 220,
filter_by_area = TRUE, min_area = 200, max_area = Inf,
filter_by_color = FALSE)
isBlob(blobs)
# }
Run the code above in your browser using DataLab