Description Usage Arguments Details Author(s) Examples
A greyscale tiff can be converted into matrix with dimension of number of rows * number of columns. This function takes in a matrix and, according to the value on each position of the grid (pixels), color the image by controlling the RGB channels. Dark turns blue, middle goes green, and light turns to red. The output is a 3 level AP which can be written to file.
1 | image_pdc_RGB(m,lower=NULL,mew = NULL,upper = NULL)
|
m |
The image data (in matrix form) |
lower |
lower bound of the pixel being converted |
mew |
medium value of the pixels being converted |
mew |
upper value of the pixels being converted |
Typically used for bettering the identification of the greyscales images. It is ideal for finding patterns but would overly amplify the roughness of a smooth surface sometimes
Hao Li
1 | image_pdc_RGB(matrix((1:20)/20,10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.