cc-nb-img-classes {nandb} | R Documentation |
Cross-correlated number and brightness image classes.
Description
The cc_number_img
and cc_brightness_img
classes are designed to hold
objects which are images calculated from the cross-correlated number and
brightness technique.
Usage
cc_number_img(img, thresh, swaps, filt)
cc_brightness_img(img, thresh, swaps, filt)
Arguments
img |
The calculated cross-correlated number or brightness image. |
thresh |
A positive integer, possibly an object of class autothresholdr::th. If the different channels of the image had different thresholds, this argument may be specified as a vector or list (of positive integers, possibly objects of class autothresholdr::th), one element for each channel. |
swaps |
A non-negative integer with an attribute |
filt |
A string, the filtering method used. Must be either |
Details
An object of class cc_number_img
or cc_brightness_img
is a 4-dimensional
array of real numbers in the mould of an ijtiff_img
(indexed as img[y, x, channel, frame]
) with 3 attributes:
thresh
A positive integer, possibly an object of class autothresholdr::th detailing which threshold and thresholding method was used in preprocessing (in the multi-channel case, one threshold per channel is given).
swaps
A non-negative integer indicating the number of swaps used for Robin Hood detrending, with an attribute
auto
which is a logical indicating whether or not the parameter was chosen automatically (in the multi-channel case, oneswaps
per channel is given).filt
Was mean or median filtering used in postprocessing?
Value
An object of class cc_number_img
or cc_brightness_img
.