1 | initial version |
after struggling a lot I found out something. Using an 12bit Bayern Pattern Image will be too dark though. So if one converts the Bayern Pattern into a 16 Bit IplImage the colors will be displayed with a wrong value. What needs to be done after the cvconvert (Bayer2BGR) is to scale the color value (which is still based on the 12 Bit Image) to the 16 Bit Image. The IplImage now will be displayed with the correct Image colors
Cheers Maik