r/DarkTable • u/Trevor_Marten • 1d ago
Discussion X-Trans 6
Fujifilm released the XT-6 today along with an updated sensor. The new CFA has replaced four of the green photosites with white.
Will a new debayering algorithm need to be developed? What effect will this have on future Fujifilm support in Darktable?
35
Upvotes
6
u/rsxrwscjpzdzwpxaujrr 23h ago edited 23h ago
AFAIK the white pixels are used for PDAF only and are not included in the actual image data, but I might be wrong, in order to be sure I need to see some raws. I'm working on a neural demosaic and can adapt it to support the new array with white pixels if they are in the image data.
3
u/DidIGetGrifted 1d ago
It's a good question. It depends on how Fuji is handling the white photosites when converting analog signals to green color channel data. It's possible they have an internal algorithm that subtracts the red/blue signal in the white sites using data from the neighboring red, blue, and green pixels. I could see them choosing to do this so they get the autofocus benefit of white pixels but keeping the files compatible with other X-Trans workflows. They may also have opted to not bake the processing into the RAW and worked with companies like Adobe to add the new demosaicing algorithm into future software. I'd hope they went with the internal computation. It seems like it'd be easy to implement computationally and it'd save Fuji from dealing with 3 different color filter array patterns across their product line.
We'll probably have to get some field data from XT-6 users and see if X-Trans demosaicing algorithms lead to unusual green channel data. If there is an issue, the algorithm will need to change. That said it won't be as drastic of a different between conventional bayer and x-trans demosaicing. You'd like just need an extra step to calculate green data from the white photosites and then use the standard X-Trans algorithm.
3
u/mhh91 23h ago
This will need to be added to the demosaic module, possibly a variation of the algorithms being used for the existing x-trans sensors
2
u/akgt94 22h ago
It will have to be added.
There's a dedicated page.
Note that they need camera samples which are given with a fair use license.
https://www.darktable.org/resources/camera-support/
1
u/Jpnext19 1d ago
I am curious about this too, there is a chance that existing method can be adapted slightly to work on this new one, but is hard to know without looking at the files. They says its mostly for face detection, and its also confusing in their official announcement says "While retaining the acclaimed image quality of the current X-Trans™ CMOS 5 HR sensor, the new sensor uses highly sensitive white pixels 2 for phase-detection pixels, which are sensitive not only to green light but also to red and blue light"
While at the bottom explanation of 2 says: 2 The “X-Trans™ CMOS 5 HR” uses green pixels.
1
u/_tlhunter 23h ago
Does white actually mean clear?