MAtoG {maDB} | R Documentation |
MAtoG
This function calculates the green intensity values if one has only M and A values.
MAtoG(M,A)
M |
A vector (or matrix) of M values |
A |
A vector (or matrix) of A values |
M values are defined by the formula M = log2(R/G)
and the A values by A = 1/2 * log2(R*G)
. This function simply calculates from the M and A values back to the G (green) intensity values by performing the following calculation: sqrt((2^(2*A))/2^M
).
Johannes Rainer