MFlenses - A new life in a digital age
MFLenses 2026

Manual Focus Lenses Forum

Explore the world of vintage lenses through repair notes, real test shots, and detailed archive threads packed with images.

Explore the world of vintage lenses through repair notes, real test shots, and detailed archive threads packed with images.
Spotlight

Featured partner placement for the forum front page.

Debayering a camera? (crazy idea)
View previous topic :: View next topic  


Reply

Preamp wrote:
...
And that's why I'm still looking for a hot mirror replacement, since Mr. Makario didn't want to sell me one. They're just offering a full replacement service for about EUR 450,- which is way too expensive for me. Guess I'll have to obtain a screw-on filter and cut it myself.


I have grinded several filters for my IR camera, but sometimes I failed, and got scratches on the filter.
Tests with cutting/breaking the filter were worst. Seems not to work as good as with window float glass.


Reply

Here is a sequence from ISO 50 to 3200 comparing out-of-camera JPEG to RAW developed with dcraw in document mode:
http://preamp.org/wp/wp-content/uploads/2013/08/panchromat_ISO.png

I didn't embed the image here, because it's rather large.

These are the full images, for your reference:
http://preamp.org/wp/wp-content/uploads/2013/08/jpg-0050.png
http://preamp.org/wp/wp-content/uploads/2013/08/jpg-0100.png
http://preamp.org/wp/wp-content/uploads/2013/08/jpg-0200.png
http://preamp.org/wp/wp-content/uploads/2013/08/jpg-0400.png
http://preamp.org/wp/wp-content/uploads/2013/08/jpg-0800.png
http://preamp.org/wp/wp-content/uploads/2013/08/jpg-1600.png
http://preamp.org/wp/wp-content/uploads/2013/08/jpg-3200.png
http://preamp.org/wp/wp-content/uploads/2013/08/raw-0050.png
http://preamp.org/wp/wp-content/uploads/2013/08/raw-0100.png
http://preamp.org/wp/wp-content/uploads/2013/08/raw-0200.png
http://preamp.org/wp/wp-content/uploads/2013/08/raw-0400.png
http://preamp.org/wp/wp-content/uploads/2013/08/raw-0800.png
http://preamp.org/wp/wp-content/uploads/2013/08/raw-1600.png
http://preamp.org/wp/wp-content/uploads/2013/08/raw-3200.png


Reply

Preamp wrote:
sammo wrote:
There is a lot of difference, considering that the antialiasing filter is still in place.


It is not. I removed it, like I said a few posts back.
And that's why I'm still looking for a hot mirror replacement, since Mr. Makario didn't want to sell me one. They're just offering a full replacement service for about EUR 450,- which is way too expensive for me. Guess I'll have to obtain a screw-on filter and cut it myself.


Sorry, I didn't see the post.
I see another potential issue. What raw decoding software do you use? Are you 100% sure that is not debayering the images? I haven't seen raw photos open really raw (without debayering and linear scaling) by any software, except from the ones used for astronomy.


Reply

The output looks good to me, but I'm struggling to see a difference between the JPEGs and the RAWs, so Sammo might be right - the RAW isn't fully RAW.

I have to stand corrected, I didn't think it would be possible to do this sensor swapping, but I am happy to be proved wrong. Smile


Reply

use dcraw to apply white balance of 1:1:1:1 to rgbg pixel data:

dcraw -r 1 1 1 1

Manpage of dcraw

EDIT: Hmmm, if the raw conversion produces a color image, i.e., if the raw file opened in editor is in color, then we know we're not getting "de-bayered" output here. Wink


Reply

How can he get a colour image from a mono sensor? Surely it will always appear in BW in dcraw, regardless of settings as there is no colour info?

Maybe I'm just being thick, it happens. Smile


Reply

Embarassed

The comparison photo has "dcraw-converted using -D option", which is the correct option to use for non-(color)-interpolated raw conversion...see dcraw manpage, try it!

Ian, the editor has no idea the bayer filter has been "removed". Wink Editor will display a color image!


Reply

-D gives mainly overexposed images with clipped highlights, I'd have to underexpose quite a bit.

I'm now using -a -H 1 -d -T, which looks almost like the JPEG out of camera, except for the debayering and compression artefacts, of course Wink .

using -r 1 1 1 1 instead of -a makes absolutely no difference (subtracted both images from another, they were the same).

Should have done that earlier: Here's a RAW file for you to play with:
http://preamp.org/wp/wp-content/uploads/2013/08/P8111139.ORF


Reply

Can you try a landscape using a red, green and blue filter? and mixing the channels in post?


Reply

Sorry, I can't.
Two problems here: 1. The camera is still unable to achieve infinity focus (or anything farther than 10m) and missing an IR filter (different focus especially on foliage).
2. I don't own any colour filters Embarassed


Reply

Good news Smile I can open the RAW entirely without any conversion at all with an astro software Maxim DL.
Note that this is pure RAW, so scaling is linear, therefore contrast looks unnatural.
Can you link the raw with the sharpness test images, so that we can see if it makes a difference.

This is a 100% crop from the raw:


A real raw image from a colour sensor would have the bayer matrix visible on the image.


Reply

Concerning resolution, this looks as good as with dcraw.

sammo wrote:
Can you link the raw with the sharpness test images, so that we can see if it makes a difference.


There you go:
http://preamp.org/wp/wp-content/uploads/2013/08/P8071054.ORF


As for the missing filter glass, I guess I'll bite the bullet and try to cut me a piece of float glass. That alone is still rather expensive with about EUR40 including shipping (which is the biggest part...), but then I'll need a screw-on IR filter which will set me back another EUR100 Crying or Very sad .
Finding a hot mirror cut to size is actually much more difficult than sourcing a monochrome sensor. The only one I stumbled upon yet would've been EUR260, holy cow!
While searching for other possible sources, I've had a very informative phone conversation. The guy at the other end told me that it'd be no good idea to obtain a bigger hot mirror and cut it to size afterwards. That would damage the coating and lead to deteriorating performance a couple years after. The only way is to have the glass cut to size first and then coated.

OK, so now I'll likely end up with a real full spectrum Body. Hopefully this will yield me a higher resale price should I think about selling it some day Wink .

Or maybe I try to grind down the sensor mounting base the missing millimeter, so I don't need no replacement filter at all Evil or Very Mad

EDIT: I put the original filter back in for now. This way I can use the camera until I manage to find a suitable and affordable replacement. It's a little annoying to unsolder the sensor each time, but I'm getting used to it Rolling Eyes .


Reply

Here is another comparison shot, showing the color rendition of the panchromatic sensor:



This was photographed off of my monitor, with the standard IR/AA filter in place.


Reply

I opened the raw file and it looks the same as the one you already posted. I would expect better sharpness from a monocrome sensor, for me it looks like that the lens sharpness is at the limit here. Practically, one could get almost from 100% black to 0% in one pixel difference if the lens has enough microcontrast. I seen this with astro cameras that have larger pixels...


Reply

I would simply use a piece of SCHOTT BG38/39/40 to replace the filter stack, that serves well as IR blocker and that UV part does not hurt as the sensor is anyway not very sensitive there:



Reply

But the lifespan of this filters is sometimes short.


Reply

wuxiekeji wrote:
I'm wondering if anyone has ever attempted or has advice on removing the RGB bayer filter on say, a Canon camera. My thought is to grab a cheaper but decent sensor camera, say an EOS-M, bump up the light sensitivity by killing the colour filter and get spectacular performance for B+W images, and pair it up with some MF f/1.4 lenses to get even more extraordinary performance.


... or you could just buy a Sigma Digital Camera like the SD14, SD15 or even SD1 with a Foveon sensor in it ... no bayer sensor in there. The older versions go relatively cheap on eBay and are better suited for manual lenses (with the SD1 you get green corners with wide angle lenses). Their raw converter now also has a special processing pipeline for B+W images.
If you are into IR photography, you can in 2 min remove the IR filter which sits in the mount (and later on stick it back so that you can take color or B+W images again).


Reply

ZoneV wrote:
But the lifespan of this filters is sometimes short.


I have them since about 10 years without problems. I have however heard that moist environment can lead to deterioration, correct. Inside a camera I don't see issues, only if exposed to the outside world for a long period of time (my filters are outside and still have no issues)


Reply

Your filters are uncoated? You are a lucky guy! It depends on several factors - and luck seems to be one of them.


Reply

In the meantime I've tried almost every possible setting with dcraw that came to my mind and think I've found a good standard setting now.
Here're my findings: http://preamp.org/revenge/e-500-panchromat-raw-dateien-entwickeln

Unfortunately I still don't have a filter glass replacement. I simply couldn't justify spending so much money on such a little piece of glass, so instead I got myself two Helios 44 Rolling Eyes ...