Skip to contents

Tests whether the object is of class blob.

Usage

isBlob(object)

Arguments

object

Any R object.

Value

A logical indicating whether the object is of class

blob (TRUE) or not (FALSE).

Author

Simon Garnier, garnier@njit.edu

Examples

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)
#> [1] TRUE