Hi,
Both p_i and p_i(hat) are three dimensional here as they are colors in the RGB space. So there is no problem to compute the L2 distance between them.
Both p_i and p_i(hat) are three dimensional here as they are colors in the RGB space. So there is no problem to compute the L2 distance between them.