image_pdc_RGB: Linear Psuedo Coloring for Greyscale Images

Description Usage Arguments Details Author(s) Examples

Description

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.

Usage

1
image_pdc_RGB(m,lower=NULL,mew = NULL,upper = NULL)

Arguments

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

Details

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

Author(s)

Hao Li

Examples

1
image_pdc_RGB(matrix((1:20)/20,10))

HaoLi111/rVividImg documentation built on July 4, 2019, 6:43 p.m.