Log in

View Full Version here: : Help with VirtualDub and RGBSplit


Phoenix
16-07-2009, 11:45 PM
Hi Folks

Hope someone can help…..

I recently obtained a DBK21 (colour) CCD camera and have captured some test data (a stationary daytime target) using video format Y800 and codec Y800 in IC Capture v2.0. I have used VirtualDub v1.8.8 to export the video image sequence out to individual BMP files per frame and have attempted to use RGBSplit v2.1.0 to split these BMP files into their separate colour channels.

The problem is each of the Blue, Green and Red BMP files created using RGBSplit are all the same – there is no difference between each of the files. On closer inspection all three BGR BMP files are also the same as the original BMP file created using VirtualDub. Moreover all of the BGR BMP files as well as the original have 3 channels, all identical.

I would have thought that VirtualDub would create a single channel BMP for each frame that shows the bayer pattern (and not a three channel BMP) from which RGBSplit would interpret and separate the single channel bayer pattern into its RGB channels.

So does RGBSplit require a three channel BMP for input or a single channel BMP from which it separates the bayer pattern into BGR channels?

Any help would be greatly appreciated. Thanks

Steve

iceman
17-07-2009, 04:39 AM
I'm pretty sure it requires a 3-channel BMP.

I only ever used RGBSplit on colour bmp's from the ToUcam - I'm not exactly sure how it would work with colour BMP's from a DFK or DBK which requires debayering after.

Is there a debayer filter in VirtualDub that you could use to save a set of 3-channel BMP's?

Phoenix
17-07-2009, 02:02 PM
Thanks Mike

I can't seem to find any debayer option in VirtualDub but you have made me rethink the processing chain here...

Once captured in IC Capture, I think what I need to do is debayer the raw y800 video prior to (rather than after) the VirtualDub, PPMC, RGBSplit, Registax typical process. I can't seem to work out how to debayer in Registax without implimenting the align, optimise, etc... process so I think I will try Bird's Ninox v2.60 for debayering - now just have to remember my old DOS command-line days.

Thanks Mike

Cheers
Steve