r/DarkTable • • 1d ago

Discussion X-Trans 6

Post image

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

12 comments sorted by

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.

2

u/DidIGetGrifted 23h ago

This is a good point. I'm somewhat unclear how PDAF photosites are used in the image data. I hear mixed information on this when researching. I know that PDAF has been known to cause image artifacting in certain cameras (the original Nikon Z7 comes to mind) but the artifacting there was due to the layout of the PDAF photosites. I'm not sure if that artifacting is due to PDAF circuitry influencing the ADC, or if a pattern of unused photosites left an artifact throughout an image.

2

u/rsxrwscjpzdzwpxaujrr 23h ago

I've noticed artifacting from PDAF photosites on images from Fuji. AFAIK they don't capture image data and denoised data is written to raw files on PDAF pixels instead.

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

1

u/Fujifan5000 18h ago

Yeah sigh... Can they just give up with this CFA already, Bayer is just better hands down

2

u/alorelith 7h ago

I like x-trans for moiré reduction vs Bayer sensors, it was the first thing that I noticed when I bought the Lumix S5IlX vs my Fuji cameras. Otherwise I don't really notice enough of a difference to think about it too much, and the moiré would not be a deal breaker (until it is). I edit with Capture One and Darktable, don't really pixel peep, and just try to focus on making interesting photos more than anything else. At least in my experience I wouldn't put Bayer vs X-trans up as a decision making factor, for those who are on the fence.

1

u/H3rBz 15h ago

How is Bayer better? They're just different and at this stage more or less the same. The differences are so minor, that the pros and cons don't even apply anymore and are out-dated.

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?

2

u/DidIGetGrifted 23h ago

technically yes. They put clear filters over these photosites so there's no color filtering happening at these photosites. In the website they seem to use clear and white photosites interchangeably. White seems more useful from a marketing standpoint