stack_threshed_img | R Documentation |
A stack-thresholded array is an array which has had stack-thresholding
applied to it. See mean_stack_thresh()
. It has 3 necessary attributes:
thresh
is the threshold that was applied. This is either a
number or an object of class th. Values in the original array which were
less than this value are deemed to have failed the thresholding.
fail_value
is the value to which elements of the array which failed the
thresholding were set. This could be something like 0
or NA
.
stack_thresh_method
details which stacked-thresholding method was employed;
this is either "mean"
or "median"
.
stack_threshed_img(img, thresh, fail_value, stack_thresh_method)
img |
A 4-dimensional array in the style of an
ijtiff_img (indexed by |
thresh |
The threshold that was used. Either a number or an object of class th. |
fail_value |
The value to which elements of the array which failed the thresholding were set. |
stack_thresh_method |
This must be set to either |
An object of class stack_threshed_img
.
threshed_arr, mean_stack_thresh()
, med_stack_thresh()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.