Replace RGB->YCC eqns and generate pixel-by-pixel on classified image