imgThreshold {biOps}R Documentation

Threshold an image

Description

This function thresholds an image using a given filter.

Usage

imgThreshold(imgdata, thr_value)

Arguments

imgdata The image
thr_value Filter value for thresholding

Value

return an imagedata object

See Also

r_threshold

Examples

        x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
        y <- imgThreshold(x, 80)

[Package biOps version 0.2.1 Index]