Hi GLuijk,
I extracted the R-pixel image with "dcraw.exe -4 -T -D -j -t 0 -s 1 DSCF0028.RAF". This extracts the image rectangle tilted 45 degrees, with no interpolation.
Then, in Photoshop, I extracted the green channel from it as follows:
- Edit->Preferences->General: Image Interpolation: set to "Nearest Neighbor"
- select Marquee tool
- Select All
- Free Transform: 45 degrees horizontal skew
- Image->Image Size: resample to 50% horizontal size (Nearest Neighbor)
- Select All
- Free Transform: -45 degrees (negative 45 degrees) vertical skew
- Edit->Preferences->General: Image Interpolation: set to whatever it was set to before
- If you want to get rid of the excess black, then select it with the Magic Wand Tool at Tolerance=0 without anti-aliasing, Invert Selection, and Image->Crop.
(Incidentally, the above procedure can be used to extract the green channel from Bayer RAWs; of course you leave out the "-s 1" option in dcraw. The green channel comes out tilted 45 degrees, but uninterpolated. To prevent cropping, you need to enlarge the canvas before Step 1.)
Here is the
extracted R-pixel green channel, at full size and not gamma-corrected.
Now, notice that the brightest highlights in the green channel have a disproportionate amount of noise! (I see the same effect in this photo's R-pixel red and blue channels.) This is because the camera's amplifier/ADC doesn't clip R-pixels at saturation; it allows them to reach full well capacity, where evidently strange nonlinearities occur. This is like what Sigma Foveon cameras do in their RAW files. (Although the Fuji also does a nasty thing: it doesn't add a bias level, thus clipping the shadows a tiny bit.)
As for how to solve this... that'd require some study. I tried clipping the R-pixels to a lower saturation point; unfortunately this also clips some areas that have real detail. It seems that the R-pixels start to
lose some charge, randomly, after being heavily saturated. It'd help to have a set of "saturation frames" in which the camera is aimed at something bright and uniform, and successively overexposed.
Well, just to show something, here's what I get when I clip the R-pixel image enough to get rid of all this strange highlight noise:
dcraw.exe -T -s 1 -S 5000 -r 1.8 1 1.4 1 -H 1 DSCF0028.RAF
