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:
-
ignore_black
isTRUE
if black values were ignored during the thresholding andFALSE
otherwise. -
ignore_white
isTRUE
if white values were ignored during the thresholding andFALSE
otherwise. -
ignore_na
isTRUE
ifNA
s were ignored during the thresholding andFALSE
otherwise. -
autothresh_method
details which automatic thresholding method was used.
Usage
th(thresh, ignore_black, ignore_white, ignore_na, autothresh_method)
Arguments
thresh |
A scalar. The threshold. |
ignore_black |
|
ignore_white |
|
ignore_na |
|
autothresh_method |
The name of the automatic thresholding method used. |
Value
An object of class th
.