Frames
objects are processed according to the chosen set of parameters. Many of them refer directly to
existing EBImage
functions, please see the corresponding help for additional information
preprocess.Frames(
frames,
brush.size = 3,
brush.shape = "disc",
at.offset = 0.15,
at.wwidth = 10,
at.wheight = 10,
kern.size = 3,
kern.shape = "disc",
ws.tolerance = 1,
ws.radius = 1,
displayprocessing = FALSE,
...
)
A Frames
object
Size in pixels of the brush to be used for initial smoothing (low-pass filtering)
Shape of the brush to be used for initial smoothing (low-pass filtering)
Offset to be used in the adaptive thresholding step - see also thresh
. As an
alternative thresholding method, see also otsu
in the EBImage
package.
Width of the window for the adaptive thresholding step - see also thresh
. As an
alternative thresholding method, see also otsu
in the EBImage
package.
Height of the window for the adaptive thresholding step - see also thresh
. As an
alternative thresholding method, see also otsu
in the EBImage
package.
Size in pixels of the kernel used for morphological operations - e.g., opening, which is an erosion followed by a dilation, and closing which is a dilation followed by an erosion - see also opening
, closing
Shape of the kernel used for morphological operations
Tolerance allowed in performing the watershed-based segmentation (see also watershed
)
Radius for the watershed-based segmentation (see also watershed
)
Logical, whether to display intermediate steps while performing preprocessing. Dismissed currently, it could increase runtime a lot
Arguments to be passed to methods
A Frames
object, whose frame images are the preprocessed versions of the input images
data("MesenteriumSubset")
preprocess.Frames(channel.Frames(MesenteriumSubset,"red"))
#> Frames
#> colorMode : Grayscale
#> storage.mode : integer
#> dim : 271 131 20
#> frames.total : 20
#> frames.render: 20
#>
#> imageData(object)[1:5,1:6,1]
#> [,1] [,2] [,3] [,4] [,5] [,6]
#> [1,] 0 0 0 0 0 0
#> [2,] 0 0 0 0 0 0
#> [3,] 0 0 0 0 0 0
#> [4,] 0 0 0 0 0 0
#> [5,] 0 0 0 0 0 0