Learn R Programming

Rvision (version 0.6.0)

isBlob: Test for a Blob Object

Description

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).

See Also

simpleBlobDetector

Examples

Run this code
# 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