image_thresholding: image thresholding

Description Usage Arguments Details Value Author(s) Examples

View source: R/open_image_rscript.R

Description

image thresholding

Usage

1

Arguments

image

matrix or 3-dimensional array

thresh

the threshold parameter should be between 0 and 1 if the data is normalized or between 0-255 otherwise

Details

This function applies thresholding to a matrix or to a 3-dimensional array.

Value

a matrix

Author(s)

Lampros Mouselimis

Examples

1
2
3
4
5
path = system.file("tmp_images", "1.png", package = "OpenImageR")

image = readImage(path)

filt = image_thresholding(image, thresh = 0.5)


OpenImageR documentation built on May 19, 2017, 7:27 a.m.
Search within the OpenImageR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.