Description Usage Arguments Value Author(s) Examples
View source: R/preprocessing.R
The value of each pixel, of the inserted image, in each colour-dimension will be divided by the sum of the pixels values in all dimensions.
By this shadows and light highlights in the image are removed to some degree.
To get (back) to the overview of all steps and functions use this link:
a.a.main
1 | b.d.rgbNorm(filename, x = 480, y = 640, z = 3)
|
filename |
a string that describes the path to an image from the workingdirectory and it's filename |
x |
A number that describes the images horizontal number of pixels |
y |
A number that describes the images vertical number of pixeks |
z |
A number that describes the images number of color dimensions (normally 3 for RGB or 1 for grayscale) |
normImg
an array of size x * y
and with z
dimensions that holds the normalized RGB-values of the image described by filename
Tassilo Tobollik
1 | \code{b.d.rgbNorm(filename = "data/image.png", x = 480, y = 640, z = 3)}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.