Remosaic of RGB image array

Version 1.0.0.0 (928 Bytes) by Ketan Patel
Converts a MxNx3 color image array into a 2Mx2N intensity mosaic.
1.2K Downloads
Updated 8 May 2009

No License

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 (2024). Remosaic of RGB image array (https://www.mathworks.com/matlabcentral/fileexchange/24047-remosaic-of-rgb-image-array), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Modify Image Colors in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0