\name{MAtoG} \alias{MAtoG} \title{Calculate the green intensity values from the M and A values given.} \description{ \code{MAtoG} This function calculates the green intensity values if one has only M and A values. } \usage{ MAtoG(M,A) } \arguments{ \item{M}{A vector (or matrix) of M values} \item{A}{A vector (or matrix) of A values} } \details{ M values are defined by the formula \code{M = log2(R/G)} and the A values by \code{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: \code{sqrt((2^(2*A))/2^M}). } \references{} \author{Johannes Rainer} \seealso{ \code{\link{MAtoR}} } \examples{ } \keyword{utilities}