Pixalo Photography Community  

Go Back   Pixalo Photography Community > Photography Forums > Cameras, Lenses and Accessories

Cameras, Lenses and Accessories Discuss Which SLR outputs RAW Bayer?...Does anyone know of a digital SLR that outputs RAW Bayer? As in the actual values of each pixel before ...

Welcome to the Pixalo Photography Community. As a Guest you are free to browse the site, but see what extras you get as a Member here.

OneStop Digital

Expired Thread The thread "Which SLR outputs RAW Bayer?" has not received any replies for 18 months. It has been automatically closed as a result. Please start a new thread on the topic if the information in this thread is not sufficient.

Reply
 
LinkBack Thread Tools Display Modes
Old 08-12-2005, 13:24   #1 (permalink)
Getting Comfy
 
kamion's Avatar
 
Join Date: Sep 2005
Posts: 160
kamion is on a distinguished roadkamion is on a distinguished road

Image editing O.K.
User's Gallery
Which SLR outputs RAW Bayer?

Does anyone know of a digital SLR that outputs RAW Bayer? As in the actual values of each pixel before any processing or conversion to JPEG (or Lossless JPEG in the case of .cr2 format in the Canon 350D).
kamion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 13:39   #2 (permalink)
Feet under the table
 
IanC_UK's Avatar
 
Join Date: Apr 2005
Location: Northampton
Posts: 2,137
IanC_UK is an unknown quantity at this point

Image editing O.K.
User's Gallery
as i understand it, .cr2 is RAW not lossless JPG ?

Canon, Nikon, and anybody else that produces raw output produce RAW bayer output as long as jpg output is not selected

I may be wrong but just did a quick google search and this confirmed my thoughts ?
IanC_UK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 13:58   #3 (permalink)
Getting Comfy
 
kamion's Avatar
 
Join Date: Sep 2005
Posts: 160
kamion is on a distinguished roadkamion is on a distinguished road

Image editing O.K.
User's Gallery
I just looked into dcraw.c (open source) raw decoder/encoder software and I put my 350D "RAW" file through it. It's extracting the "RAW" bit as lossless JPEG.

Anyone got the EOS 5D? Can I trouble the owner to snap a picture of anything and save it as 12-bit RAW (Bayer I assume)? It seems this camera has that.
kamion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 14:02   #4 (permalink)
Getting Comfy
 
kamion's Avatar
 
Join Date: Sep 2005
Posts: 160
kamion is on a distinguished roadkamion is on a distinguished road

Image editing O.K.
User's Gallery
Also, the actual file size doesn't quite add up.

File size: 7,452,954 bytes
Width: 3474
Height: 2314

If there's 8-bits per pixel, that should give 8,038,836 bytes.

Much less 12-bits per pixel that's supposed to be the Bayer output from the sensor.
kamion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 14:24   #5 (permalink)
Forum Regular
 
fingerz's Avatar
 
Join Date: Jul 2005
Posts: 790
fingerz is on a distinguished roadfingerz is on a distinguished road

User's Gallery
As a alight aside, can I ask where you work and what you're working on, kamion? Sounds quite interesting.
fingerz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 15:30   #6 (permalink)
Feet under the table
 
IanC_UK's Avatar
 
Join Date: Apr 2005
Location: Northampton
Posts: 2,137
IanC_UK is an unknown quantity at this point

Image editing O.K.
User's Gallery
Doing several google searches, all single chip DSLr cameras, use the Bayer filtering method, there are several cameras that have 3 sensors one for each colour. But all DSLR from Canon, Nikon etc user the Bayer Filter method for colour ! If you have a lot of one colour pixels next to each other in a picture the calculations will make the file size smaller, i have several cr2 images from my 20d and not 2 are the same size !

The quality of these images depends on the algorithms used by raw decoding software, and the results from different raw software can be VERY different, using the same raw file.

one of many searches
__________________
Some of my pictures.

Last edited by IanC_UK; 08-12-2005 at 15:33.
IanC_UK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 16:00   #7 (permalink)
Pixalo Crew
 
Steve's Avatar
 
Join Date: Jan 2005
Posts: 17,402
Steve is a jewel in the rough
Steve is a jewel in the roughSteve is a jewel in the roughSteve is a jewel in the rough

Image editing O.K.
User's Gallery
Users Camera Equipment List
We have a simple guide to how sensors work and the Bayer pattern

It can be found here

HTH
Steve is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 16:36   #8 (permalink)
Getting Comfy
 
kamion's Avatar
 
Join Date: Sep 2005
Posts: 160
kamion is on a distinguished roadkamion is on a distinguished road

Image editing O.K.
User's Gallery
Quote:
Originally Posted by IanC_UK
Doing several google searches, all single chip DSLr cameras, use the Bayer filtering method, there are several cameras that have 3 sensors one for each colour. But all DSLR from Canon, Nikon etc user the Bayer Filter method for colour ! If you have a lot of one colour pixels next to each other in a picture the calculations will make the file size smaller, i have several cr2 images from my 20d and not 2 are the same size !

The quality of these images depends on the algorithms used by raw decoding software, and the results from different raw software can be VERY different, using the same raw file.

one of many searches
First of all, thanks for your time and help so far.

Yes, they all use the Bayer filter to obtain an R or G or B value at a particular point. A 12-bit value is then obtained from an analogue to digital converter of the pixel reading. I want this R or G or B value that is the direct output from the A/D converter.

Are you saying that the "lossless JPEG" format is just some sort of compression done on these values (pre-interpolation)?

I Googled a *.cr2 file for the EOS 5D. Trying to extract the contents now, though it's still saying it's "lossless JPEG" rather than a "compressed RAW" according to dcraw.c.

I think I'll look at Nikon cameras and see what they output.

fingerz, I work for a company that is designing a chip that will contain an ISP pipeline for image sensors. We want to test our ISP implementation by obtaining the Bayer raw output from a "high end" digital SLR.
__________________
ichigo ichie - Treasure every meeting, for it will never recur
kamion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 16:40   #9 (permalink)
Feet under the table
 
IanC_UK's Avatar
 
Join Date: Apr 2005
Location: Northampton
Posts: 2,137
IanC_UK is an unknown quantity at this point

Image editing O.K.
User's Gallery
Quote:
Originally Posted by kamion
First of all, thanks for your time and help so far.
I Googled a *.cr2 file for the EOS 5D. Trying to extract the contents now, though it's still saying it's "lossless JPEG" rather than a "compressed RAW" according to dcraw.c.
No worries

I think maybe dcraw.c may be mis reporting what its doing more than anything ! I believe (im probably wrong though) true astronomical cameras use a lot of raw bayer data, as they have to do a lot of post processing to images.
IanC_UK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 16:46   #10 (permalink)
Pixalo Crew
 
Steve's Avatar
 
Join Date: Jan 2005
Posts: 17,402
Steve is a jewel in the rough
Steve is a jewel in the roughSteve is a jewel in the roughSteve is a jewel in the rough

Image editing O.K.
User's Gallery
Users Camera Equipment List
I am not sure that you will be able to get information from any camera’s RAW file as from my understanding, the data is sent from the sensor through the in camera processor that runs all the manufacturers pre-programmed algorithms to “shape” the image before being recorded as a RAW file or being processed into a JPG. That is one of the reasons why certain cameras have different characteristics, due to those manufacturer programmed algorithms. I am sure that Canon, Nikon etc will be able to isolate the raw sensor data in a controlled environment such as a test bed in a lab, but I doubt that any of them would supply that output or indeed any information as to their algorithms, it is after all propriety technology. I could be completely wrong though?
Steve is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 16:57   #11 (permalink)
Feet under the table
 
IanC_UK's Avatar
 
Join Date: Apr 2005
Location: Northampton
Posts: 2,137
IanC_UK is an unknown quantity at this point

Image editing O.K.
User's Gallery
Quote:
Originally Posted by Steve
I am not sure that you will be able to get information from any camera’s RAW file as from my understanding, the data is sent from the sensor through the in camera processor that runs all the manufacturers pre-programmed algorithms to “shape” the image before being recorded as a RAW file or being processed into a JPG. That is one of the reasons why certain cameras have different characteristics, due to those manufacturer programmed algorithms. I am sure that Canon, Nikon etc will be able to isolate the raw sensor data in a controlled environment such as a test bed in a lab, but I doubt that any of them would supply that output or indeed any information as to their algorithms, it is after all propriety technology. I could be completely wrong though?
Now you mention it Steve, i believe there was huge controversy over Nikon refusing to allow anybody access to the algorithm they were using for nef files on the new digital range, and all manufacturers are very protective of those algorithms !
IanC_UK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 17:09   #12 (permalink)
Getting Comfy
 
kamion's Avatar
 
Join Date: Sep 2005
Posts: 160
kamion is on a distinguished roadkamion is on a distinguished road

Image editing O.K.
User's Gallery
Ok, but I am not after the algorithms. We have our own algorithms. Just need a source of raw data from a sensor to test validate our algorithms.
Anyway, I'll continue my research and I'll let you all know when I find some answers!

Cheers!
kamion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 17:19   #13 (permalink)
Member
 
Join Date: Jan 2005
Location: Cheshire
Posts: 1,326
Matt is an unknown quantity at this point

User's Gallery
When you convert a RAW file to jpeg (8-bit), information is being lost.

The 12-bit Raw file represents 68,719,476,736 colours.
When converted to an 8-bit jpeg you are reducing this down to 16,777,216 colours.

File size varies when shooting in RAW. I've found that the brighter the image the larger it is.
Matt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 17:24   #14 (permalink)
Feet under the table
 
IanC_UK's Avatar
 
Join Date: Apr 2005
Location: Northampton
Posts: 2,137
IanC_UK is an unknown quantity at this point

Image editing O.K.
User's Gallery
it isnt a dslr, but this camera produces raw bayer output ? is that what you are lookign for ?
IanC_UK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 17:26   #15 (permalink)
Pixalo Crew
 
Steve's Avatar
 
Join Date: Jan 2005
Posts: 17,402
Steve is a jewel in the rough
Steve is a jewel in the roughSteve is a jewel in the roughSteve is a jewel in the rough

Image editing O.K.
User's Gallery
Users Camera Equipment List
Quote:
Originally Posted by kamion
Ok, but I am not after the algorithms. We have our own algorithms. Just need a source of raw data from a sensor to test validate our algorithms.
Anyway, I'll continue my research and I'll let you all know when I find some answers!

Cheers!
Maybe contact the sensor makers directly, Kodak etc and explain why. I would think that they would be your best bet and would be able to supply RAW data if it suits them.
Steve is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2005, 17:29   #16 (permalink)
Feet under the table
 
IanC_UK's Avatar
 
Join Date: Apr 2005
Location: Northampton
Posts: 2,137
IanC_UK is an unknown quantity at this point

Image editing O.K.
User's Gallery
Quote:
Originally Posted by Steve
I would think that they would be your best bet and would be able to supply RAW data if it suits them.
Thats the problem i think, they may not think it suits them to give this data out !
IanC_UK is offline  
Digg this Post!