Remosaic of RGB image array

Converts a MxNx3 color image array into a 2Mx2N intensity mosaic.

You are now following this Submission

Interleaves the color pages of an MxNx3 color image array into presumably what was the original, 2Mx2N, intensity output of a Bayer image sensor. Useful for capturing a monochromatic image (like actively illuminated IR) with a color sensor (like a cheap color webcam). It does not compensate for effects due to demosaic or any image processing done between the image sensor array and this function.

Cite As

Ketan Patel (2026). Remosaic of RGB image array (https://www.mathworks.com/matlabcentral/fileexchange/24047-remosaic-of-rgb-image-array), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Modify Image Colors in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0