No BSD License  

Highlights from
Remosaic of RGB image array

2.0

2.0 | 1 rating Rate this file 13 Downloads (last 30 days) File Size: 1.75 KB File ID: #24047

Remosaic of RGB image array

by Ketan Patel

 

08 May 2009

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
09 May 2009 Oliver Woodford

This function neither inverts the demosaicing process (which doesn't halve the image size), nor generates an intensity image (each pixel is the intensity of one of the R, G, or B channels).

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image processing Ketan Patel 08 May 2009 14:17:55
mosaic Ketan Patel 08 May 2009 14:17:55
bayer Ketan Patel 08 May 2009 14:17:55
interleave Ketan Patel 08 May 2009 14:17:55

Contact us at files@mathworks.com