Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

Debayering a DSLR's Bayer matrix.


RAC

Recommended Posts

  • 3 weeks later...
6 hours ago, nikivan said:

There is a company offering this mod. In order to move the sensor so far away from the processing board, a long connecting cable is required. Do you know where one can buy such cable? 

Probably custom made, do you have a picture of the original connections?

Seems a bit odd - is it cooled? If so the big lump of aluminium heatsink is going to be counter-productive.

Edited by Stub Mandrel
Link to comment
Share on other sites

  • 2 weeks later...

I know it's been a month since anyone posted but I just came across this and gave it a try on a sensor that was just sitting around. My question is that everyone says that theres 2 layers to remove (lens and cfa) but when I was doing it there was a 3rd one... did i just go to far? You can still see some microlens layer around the edges. Then the green cfa layer. Then theres kind of a clearish layer then what I guess is just the sensor

 

..please excuse the glass... it made me mad lol

20191006_144913.jpg

Edited by Ahousefavor
Link to comment
Share on other sites

  • 2 weeks later...

Just finished up adding a TEC system to cool my sensor.  This is from my Canon 7D, mono-modded.  I'm starting small with a 30W TEC.  I'm curious to see how the noise drops as the sensor cools.  I ran into significant noise shooting in mono, as compared to full-color images, but that could also be partly due to the increased sensitivity of the sensor.  I had banding in horizontal and vertical directions.  I'm hoping the TEC will help to reduce that noise significantly.

Has anyone else noticed banding/noise as an issue with these scraped mono sensors?

48911044657_44e5fcdaa2_o.jpg

Link to comment
Share on other sites

On 06/10/2019 at 21:20, Ahousefavor said:

I know it's been a month since anyone posted but I just came across this and gave it a try on a sensor that was just sitting around. My question is that everyone says that theres 2 layers to remove (lens and cfa) but when I was doing it there was a 3rd one... did i just go to far? You can still see some microlens layer around the edges. Then the green cfa layer. Then theres kind of a clearish layer then what I guess is just the sensor

 

..please excuse the glass... it made me mad lol

 

That's probably too deep.  It looks like you scraped through the protective undercoating.  But, you can pop the sensor back in and test it to see if it still functions.

Broken glass gets into pretty sticky territory.  It doesn't take much to scratch the sensor too deeply and hit a photosite or surrounding circuitry.  And broken glass is really sharp.  It can easily scratch through the polymer coatings.

I'll be surprised if that sensor still works, but it's worth trying it to see what happens.

Link to comment
Share on other sites

Any ideas out there on plugging up light leaks through that left side of the camera, where I have my cold finger protruding?  It's coming out right by the data ports (HDMI, USB, etc.), and I have a feeling there's some light making it through the actual ports themselves.  I currently have the area covered with electrical tape, which does the job.  But, I'm looking for something that won't peel up.  The tape seems to have a tough time sticking onto the rubber grip and port cover areas.  Should I plug these ports somehow?  Fill them with liquid electrical tape?

I was shining a high-powered flashlight around those areas (probably 500 lumens or more, as it's a 1k lumen flashlight at about 3/4 power).  This really helped me find all of my light leaks.  Most of them were around the seam around the back panel of the camera where it attaches to the rest of the body.  I did notice some light made it in through the top small LCD screen that displays the current settings, too.  Some black electrical tape slapped over them helped plug up the light leaks pretty well.  I'm just looking for something that's less...  "Red/Green"-looking.  I'm leaning toward the liquid electrical tape, but always up for suggestions.

Link to comment
Share on other sites

Also...  Has anyone else noticed significantly-increased banding noise after removing the Bayer matrix?  I'm seeing a lot of banding noise in stretched dark frames.  And I noticed a lot of it came out when I took an image of the Eastern Veil nebula in H-alpha.  Now...  I don't think I dithered in that image at all, so that will likely help.  But, can dithering even out ALL of that banding?  I'm not entirely sure.

The stretched dark frame below was done in Photoshop by just doing a Levels adjustment and dropping the white point down to 3.  (Yep...  3.)

Unprocessed stack from DSS in H-alpha:
48546325121_127c2609e1_o.png

Slightly-cooled, highly-stretched 120s dark frame, EXIF temp 27°C (but, probably a few degrees cooler than that):
48927110088_30c402ca77_o.png

Edited by Noobulosity
Link to comment
Share on other sites

17 hours ago, Stub Mandrel said:

Very slight.

I can't tell from the picture, but make sure your cold finger is insulated everywhere!

Aside from the exposed areas touching the sensor itself and the TEC side outside the camera, it's been sprayed with a rubber material. I'm sure it's not perfectly sealed off, but it should be pretty well sealed inside the camera.

I plan to get some liquid electrical tape to touch some areas up.

Are you referring to electrically insulated, or thermally insulated? Or both?

  • Like 1
Link to comment
Share on other sites

I added a larger TEC (50W, this time) and heatsink.  It dropped the EXIF temperature very quickly, and condensation began forming within a few minutes of having it turned on.  I needed to use a desktop PC power supply to get this one started, as the laptop PSU had some type of short-circuit protection preventing it from running.

I noticed something interesting while I was messing around with my camera again.  I went back and looked at a photo with light leaks, and saw vertical lines.  But, it's not "banding noise", per se...  it almost looks like it's showing the gap between pixels, now that I'm using DCRAW to ignore the Bayer interpretation for RGB.  I think that's what I'm seeing as vertical banding in my images.  I hope that dithering will reduce that significantly.  Any other ideas as to how to eliminate this?  Can I "re-debayer" the image as mono, but in a way that's more like when it's interpreted as RGB to get rid of those pixel columns?

1131569139_50TEC1-sm.jpg.14e41d0362f811d830b9cd6471606e3a.jpg


1873646777_50TEC2-sm.jpg.b5d040c70b84d076f4da6d6ffd9fecc0.jpg


Bayer close-up.jpg


Bayer close-up2.jpg

Edited by Noobulosity
Link to comment
Share on other sites

Ended up testing a bit more, and this interpretation seems to be a bit more blended.  Feels like fuzzier details, though.  I didn't get this with daytime photos, so this just feels very confusing.

dcraw64 -r 1 1 1 1 -d -4 -T -b 16 *.cr2

(FYI, I did stretch the image a touch, which is why it appears brighter.)

48945292486_4d5897b307_o.png

Edited by Noobulosity
Link to comment
Share on other sites

Odd!  I never had that when I was playing with debayering DSLRs.  I used DCRAW too.  I gave up when I was spending more on semi-duff DSLRs than a proper astro camera cost.  It was fun though.

Link to comment
Share on other sites

21 hours ago, Gina said:

Odd!  I never had that when I was playing with debayering DSLRs.  I used DCRAW too.  I gave up when I was spending more on semi-duff DSLRs than a proper astro camera cost.  It was fun though.

I have to agree. This has been educational and quite enjoyable. I know it'll never be a "real" astro camera. But, I've learned a lot in the process.

  • Like 1
Link to comment
Share on other sites

On 23/10/2019 at 04:12, Noobulosity said:

Ended up testing a bit more, and this interpretation seems to be a bit more blended.  Feels like fuzzier details, though.  I didn't get this with daytime photos, so this just feels very confusing.

dcraw64 -r 1 1 1 1 -d -4 -T -b 16 *.cr2

(FYI, I did stretch the image a touch, which is why it appears brighter.)

48945292486_4d5897b307_o.png

As the stripes are every eight column I suspect you have killed a data line OR got  a dodgy connection on one of the ribbon connectors.

Link to comment
Share on other sites

Unfortunately, disassembly/reassembly didn't fix the issue.  I still have the regular intervals of vertical dead pixel lines.  I wonder if I touched something adding the copper cold finger and messed something up on the sensor.  It's tough to see what's actually between the sensor and its PCB, so I wouldn't be surprised if I scratched something with the copper plate as I slipped it between the two.  I recall there being a burr on the copper plate when I tried putting it in initially.  I did sand that off and it went in fine.  But, maybe I scratched through something in that process.

As much as I really, REALLY want to keep at this, I think my attempts at this project are done.  It was fun and rewarding.  I just can't keep sinking money into it, at this point.

Any idea if dithering might help to minimize the impact of these dead lines?  Or is that just an exercise in futility?

Anyone want to buy my Canon 7D and pick up the project?  Shoot me a PM.

Edited by Noobulosity
Link to comment
Share on other sites

On 19/07/2019 at 03:52, YellowPacman said:

Also don't cover the golden wires with an epoxy, they will be teared as temperature rise.

You are right about that! Don't do that. 

This said, loooong time ago I work in an electronics factory and we did wire bonding Chip on Board modules, or COB as we call them. Bond wires where sealed with an special epoxy that had no thermal movement. Brand was Hysol then, now owned by Henkel, here is the link to what they have for that application now:

https://www.henkel-adhesives.com/us/en/products/potting-encapsulating-injection-molding-compounds/glob-top-material.html

And be careful, this not removable.

Alternately, google for Glob Top Adhesive-Sealants.

Edited by alterelektroniker
Link to comment
Share on other sites

I managed to debayer a Sony ICX453AQ sensor (Cam86, QHY 8 pro, Nikon D40/D50/D70/D70s). I've heard that the glass on this sensor is quite hard to get off in one peace, so went super slow with it. I did eventually get it off without breaking it (used a blade to work around the edges, then heat gun to free the glass).
 

Screen Shot 2019-11-04 at 12.20.36 AM.jpg

 

I was hoping that the sensor would be old enough to work with the scotch tape method (I've done a Canon 20D, which was super easy thanks to the CFA coming off with tape), however, this sensor does not release the CFA without scraping. I'm not sure if there are solvents out there that can do this sensor, but acetone didn't really work (except for help with cleaning).

Anyways, I've sealed it up, plugged it in, still works :)

 

Screen Shot 2019-11-04 at 12.20.47 AM.jpg

Edited by zfedoran
Link to comment
Share on other sites

8 hours ago, zfedoran said:

I was hoping that the sensor would be old enough to work with the scotch tape method (I've done a Canon 20D, which was super easy thanks to the CFA coming off with tape),

Cool - I have an old 10D do you think that would work on it?

Link to comment
Share on other sites

3 hours ago, Stub Mandrel said:

Cool - I have an old 10D do you think that would work on it?

I imagine it would work since it is older. If you do try it out, the trick is to get started with a small scrape, just enough to lift a few CFA pixels. Then apply the tape, pressing firmly, then peal back slowly. You'll need to take a lot of care to ensure the static cling of the tape doesn't make it jump somewhere you didn't intend (like the gold wires).

Take a look here: https://www.cloudynights.com/topic/486810-thinking-about-removing-the-cfa-from-my-20d-thoughts/

spacer.png

 

Just a side note though, I've done this on two canon 20d's and honestly, it isn't worth the effort. The camera is quite dated and really annoying to work with software wise. Other than that, it also suffers from an outdated ADC process that introduces noise.

Link to comment
Share on other sites

8 hours ago, Gina said:

Do you have a mono image?

I did do a few tests, all looks good but I don't have an enclosure to put this in yet. I'll get back to you once I can take a proper flat frame.

Also, I tried something new for closing the sensor back up. I went with black hot glue, just in case I ever want to open it up again. It seems to have had a desirable secondary effect, I think it formed a slight vacuum.

Screen Shot 2019-11-04 at 1.04.40 PM.jpg

I carefully put down shavings of the glue around the glass (not on top or under). Then I carefully hit the glass with heat from a heat gun. This obviously melted the glue in place, but then also sucked it under the glass, indicating that there is a pressure differential.

It will be interesting to see if it lasts and if moisture will be an issue.

 

Edited by zfedoran
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.