dot-for_bright_image: Bright image scaling to gaussian

.for_bright_imageR Documentation

Bright image scaling to gaussian

Description

Bright image scaling to gaussian

Usage

.for_bright_image(
  imageMatrix,
  Filter = c(13, 13),
  method = "delation",
  threshold = 0.8
)

Arguments

imageMatrix

An imported image, can be imported with tiff_import()

Filter

a vector specifying the dimensions of the kernel, which will be used to perform either delation or erosion, such as c(13,13)

method

one of 'delation'(adds to image, making brights brighter), 'erosion' (subtracts from image brights darker)

threshold

should be between 0 and 1 for normalized images

Value

Gaussian matrix scaled for bright


Bott-binc/magnetoPackage2020 documentation built on Oct. 12, 2024, 7:49 p.m.