th: Automatically found threshold class.

Description Usage Arguments Value

View source: R/class_constructors.R

Description

A threshold found automatically via auto_thresh(). It is a number (the value of the threshold) with 4 attributes:

Usage

1
th(thresh, ignore_black, ignore_white, ignore_na, autothresh_method)

Arguments

thresh

A scalar. The threshold.

ignore_black

TRUE if black values were ignored during the thresholding and FALSE otherwise.

ignore_white

TRUE if white values were ignored during the thresholding and FALSE otherwise.

ignore_na

TRUE if NA values were ignored during the thresholding and FALSE otherwise.

autothresh_method

The name of the automatic thresholding method used.

Value

An object of class th.


autothresholdr documentation built on May 12, 2021, 9:07 a.m.