.process_image | R Documentation |
Process Image
.process_image(
imageMatrix,
FilterBright = c(13, 13),
FilterNonBright = c(8, 8),
methodBright = "delation",
methodNonBright = "delation",
thresholdBright = 0.8,
thresholdNonBright = 0.5,
beta0 = -2.774327,
beta1 = 51.91687,
cutoffProbability = 0.5,
NADefault = 0
)
imageMatrix |
Imported image into matrix form, can use tiff_import() |
FilterBright |
Vector specifying the dimensions of the kernel, which will be used to perform either delation or erosion, such as c(13,13) |
FilterNonBright |
Vector specifying the dimensions of the kernel, which will be used to perform either delation or erosion, such as c(8,8) |
methodBright |
one of 'delation'(adds to image, making brights brighter), 'erosion' (subtracts from image brights darker) |
methodNonBright |
one of 'delation'(adds to image, making brights brighter), 'erosion' (subtracts from image brights darker) |
thresholdBright |
should be between 0 and 1 for normalized images Default = 0.8 |
thresholdNonBright |
should be between 0 and 1 for normalized images Default = 0.5 |
beta0 |
From logistic regression on what images to be considered bright |
beta1 |
From logistic regression on what images to be considered bright |
cutoffProbability |
Passed into bright: The probability cut off for the decision of an imageMatrix being bright |
NADefault |
The defult value set to points of NA found by the system |
The processed image with the gaussian and the non gaussian in an array labeled respectively
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.