The original question Link
The Bayer Pattern Code and Image Alignment Code used in this project
The offset_B_x = 1; offset_B_y = -6;offset_R_x = -1; offset_B_y = 5;
The offset_B_x = -1; offset_B_y = -4;offset_R_x = 0; offset_B_y = 5;
The offset_B_x = 0; offset_B_y = -4;offset_R_x = 0; offset_B_y = 9;
The offset_B_x = 1; offset_B_y = -6;offset_R_x = -1; offset_B_y = 6;
The offset_B_x = -1; offset_B_y = 0;offset_R_x = 1; offset_B_y = 6;
© 2011–12 Dinghuang Ji