bayermask
provides sampled bayer CFA data and bayer mask
bayersampling samples pixel value associated bayer color filter array eachchannel allows us to apply function for each channel imgrad calculates horizontal and vertical gradients impsnr evaluates the psnr and the rmse beween images imreadind reads image file from file even if the image file is index color, imreadind can read image data as well as rgb image data rgb2ycc transfers color space from rgb to ycc rgb123 translate r, g, and b to 1, 2, and 3, respectively. ycc2rgb transfers color space from ycc to rgb |