How to using the sample 4channels.cpp to get full size image of each channel

Hi, I want to use libraw to decoding the sony ARW file and getting the full size of RGB three bands. Using the 4channels.cpp sample, I can get the half_sized image, but when I change OUT.half_size=0, the full size is coded with dark pixel. So, could someone give me some suggestions?

Danile

Thanks a lot!

Forums: 

Suppose the image is N by M

Suppose the image is N by M pixels, and you are dealing with Bayer sensor. How many pixels there are in each of four channels? Approx. 1/4 of the total number of pixels, N/2 by M/2.

--
Iliah Borg