Luminance driven sparse representation based demosaicking