MAtoG                  package:maDB                  R Documentation

_C_a_l_c_u_l_a_t_e _t_h_e _g_r_e_e_n _i_n_t_e_n_s_i_t_y _v_a_l_u_e_s _f_r_o_m _t_h_e _M _a_n_d _A _v_a_l_u_e_s _g_i_v_e_n.

_D_e_s_c_r_i_p_t_i_o_n:

     'MAtoG' This function calculates the green intensity values if one
     has only M and A values.

_U_s_a_g_e:

     MAtoG(M,A)

_A_r_g_u_m_e_n_t_s:

       M: A vector (or matrix) of M values

       A: A vector (or matrix) of A values

_D_e_t_a_i_l_s:

     As the 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').

_A_u_t_h_o_r(_s):

     Johannes Rainer

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

     'MAtoR'

_E_x_a_m_p_l_e_s:

