th {autothresholdr}R Documentation

Automatically found threshold class.

Description

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

Usage

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.


[Package autothresholdr version 1.4.2 Index]