isBlob: Test for a Blob Object

View source: R/blob.R

isBlobR Documentation

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

Author(s)

Simon Garnier, garnier@njit.edu

See Also

simpleBlobDetector

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)


swarm-lab/Rvision documentation built on Feb. 7, 2024, 4:59 a.m.