#1 (permalink)  
Old 03-27-2010, 07:16 AM
I'm new here!
 
Join Date: Feb 2010
Location: Los Angeles, California, USA
Posts: 12
Default RAW without interpolation.

Is there a raw converter that doesn't interpolate when it demosaics?

Without interpolation, you'll have 1/4 of the number of pixels on the camera specs, but very high quality ones.

Diagram:



Each color pixel will consist of information from 4 sensor photosites.


You'd end up with a razor sharp image which only takes up 1/4th the size. Major file size reduction. Aliasing might be a problem, however.
Does this already exist? If it doesn't i'm going to start writing a script to do this.
__________________
Cameras: Nikon Coolpix E8400, Nikon FG, Kodak Zi8
Lenses: Nikkor 50mm f/1.4 AI, Sun 80-300mm f/4.5 AI, Tamron 24-48mm f/3.5-3.8 AI
My Flickr

Last edited by iDunno; 03-27-2010 at 07:19 AM.
Reply With Quote
  #2 (permalink)  
Old 03-27-2010, 07:37 PM
OsmosisStudios's Avatar
Don't Panic
 
Join Date: Sep 2008
Location: Mississauga / Ottawa
Posts: 11,361
Default

What on EARTH are you talking about?
__________________
I am responsible for what I say; not what you understand.
OsmosisStudios
Gear List
Reply With Quote
  #3 (permalink)  
Old 03-27-2010, 08:30 PM
Black Hole Hunter
 
Join Date: Jan 2010
Posts: 203
Default

Hmm,.. aren't you just describing pixels? I don't THINK each camera pixel is a photosite; rather 4 photosites make each pixel. I think that must be the case, or 100% crops would look really stupid
Reply With Quote
  #4 (permalink)  
Old 03-27-2010, 09:35 PM
I'm new here!
 
Join Date: Feb 2010
Location: Los Angeles, California, USA
Posts: 12
Default

If you don't know how bayer interpolation works, look it up.
Bayer filter - Wikipedia, the free encyclopedia

I'm just asking if there is a raw processor which doesn't interpolate when it demosaics.


Quote:
Originally Posted by drr0b View Post
Hmm,.. aren't you just describing pixels? I don't THINK each camera pixel is a photosite; rather 4 photosites make each pixel. I think that must be the case, or 100% crops would look really stupid
You are partially correct. 4 photosites make one pixel,and then the camera interpolates that.
See the example picture:
http://en.wikipedia.org/wiki/Demosaicing
__________________
Cameras: Nikon Coolpix E8400, Nikon FG, Kodak Zi8
Lenses: Nikkor 50mm f/1.4 AI, Sun 80-300mm f/4.5 AI, Tamron 24-48mm f/3.5-3.8 AI
My Flickr

Last edited by iDunno; 03-27-2010 at 09:39 PM.
Reply With Quote
  #5 (permalink)  
Old 03-27-2010, 10:58 PM
OsmosisStudios's Avatar
Don't Panic
 
Join Date: Sep 2008
Location: Mississauga / Ottawa
Posts: 11,361
Default

In essence what you're asking is if there is a RAW converter that will allow you to edit at the photosite level and not at the pixel level? If that's the case, then there's only one system that sort of does something similar, and it's the latest Hasselblad backs which take 3 pictures per photosite and composite them. It doesnt let you edit at the photosite level, but it does give more lattitude for each photosite and therefore a more accurate pixel.

As far as computers (and software on them) are concerned, a pixel is the smallest unit of measure.

(As an aside, I find your tone to be VERY condescending, which is in no way working in your favour. I would strongly suggest you review your sentence structure when posting, because it's coming off as being very patronising)
__________________
I am responsible for what I say; not what you understand.
OsmosisStudios
Gear List
Reply With Quote
  #6 (permalink)  
Old 03-28-2010, 02:21 AM
I'm new here!
 
Join Date: Feb 2010
Location: Los Angeles, California, USA
Posts: 12
Default

Quote:
Originally Posted by OsmosisStudios View Post
In essence what you're asking is if there is a RAW converter that will allow you to edit at the photosite level and not at the pixel level?
Um....I'm looking for a software that uses 4 photosites to make one pixel. All it needs to do is:
  1. Read data from 4 photosites (R, G, G, and B) from a RAW file
  2. Determine the Red, Green, and Blue values
  3. Spit out an RGB pixel
  4. And repeat.
Steps 1 and 2 are taken care of by DCRAW, and then I could make a script to do the rest.

Quote:
Originally Posted by OsmosisStudios View Post
(As an aside, I find your tone to be VERY condescending, which is in no way working in your favour. I would strongly suggest you review your sentence structure when posting, because it's coming off as being very patronising)

Oh haha sorry I was frustrated since I couldn't get dcraw to do what I wanted.
__________________
Cameras: Nikon Coolpix E8400, Nikon FG, Kodak Zi8
Lenses: Nikkor 50mm f/1.4 AI, Sun 80-300mm f/4.5 AI, Tamron 24-48mm f/3.5-3.8 AI
My Flickr

Last edited by iDunno; 03-28-2010 at 02:30 AM.
Reply With Quote
  #7 (permalink)  
Old 03-28-2010, 02:49 AM
OsmosisStudios's Avatar
Don't Panic
 
Join Date: Sep 2008
Location: Mississauga / Ottawa
Posts: 11,361
Default

Quote:
Originally Posted by iDunno View Post
Um....I'm looking for a software that uses 4 photosites to make one pixel. All it needs to do is:
  1. Read data from 4 photosites (R, G, G, and B) from a RAW file
  2. Determine the Red, Green, and Blue values
  3. Spit out an RGB pixel
  4. And repeat.
Steps 1 and 2 are taken care of by DCRAW, and then I could make a script to do the rest.
As far as I know, the RAW files don't contain photosite information, only pixel information, as described by your list there. Sensors/processors do this automatically. I could be wrong. Could you explain the benefit of using a photosite-level editor over a pixel-level editor?
__________________
I am responsible for what I say; not what you understand.
OsmosisStudios
Gear List
Reply With Quote
  #8 (permalink)  
Old 03-28-2010, 05:00 AM
I'm new here!
 
Join Date: Feb 2010
Location: Los Angeles, California, USA
Posts: 12
Default

A 16 megapixel sensor has 16million photosites. Since bayer needs 4 photosites to make one color pixel, 16million photosites divided by four equals a 4mp image.

But wait! The average consumer won't possible understand that, so in order to have a 16mp image, the raw processor will enlarge the image 2x in each dimension, to end up with 16mp image.

That's why still images are blurry when viewed 1:1

If we skip the enlargement part, we would save alot of disk space! The image would be 1/4 in file size!

Okay, maybe I just have too much time on my hands since its spring break


Quote:
Originally Posted by OsmosisStudios View Post
As far as I know, the RAW files don't contain photosite information, only pixel information, as described by your list there. Sensors/processors do this automatically. I could be wrong. Could you explain the benefit of using a photosite-level editor over a pixel-level editor?
Actually, they do, since RAW = sensor data before processing. A program like dcraw can convert each photosite's data to a grayscale pixel of it's value, using the command "dcraw.exe -d" I don't know how it converts each RGB value to 8bit though.

There are some people who managed to remove the bayer filter, thus making photosites non-color specific, which makes a non-bayer (and therefore non interpolating) grayscale sensor. Then, they shoot in raw and use dcraw with the command above to turn the values of each photosite into a pixel.

So a 16megapixel sensor modified this way would create a true 16megapixel (grayscale) image, instead of a 4megapixel (color) image which is then interpolated to 16mp
__________________
Cameras: Nikon Coolpix E8400, Nikon FG, Kodak Zi8
Lenses: Nikkor 50mm f/1.4 AI, Sun 80-300mm f/4.5 AI, Tamron 24-48mm f/3.5-3.8 AI
My Flickr

Last edited by iDunno; 03-28-2010 at 06:52 AM.
Reply With Quote
  #9 (permalink)  
Old 03-28-2010, 01:23 PM
Black Hole Hunter
 
Join Date: Jan 2010
Posts: 203
Lightbulb

Quote:
Originally Posted by iDunno View Post

But wait! The average consumer won't possible understand that, so in order to have a 16mp image, the raw processor will enlarge the image 2x in each dimension, to end up with 16mp image.

That's why still images are blurry when viewed 1:1

If we skip the enlargement part, we would save alot of disk space! The image would be 1/4 in file size!
OK, I see where you've gone wrong. You don't just group the photosites in fours to make one pixel; doing that would throw away most of the information. Let's say that the raw pixels are laid out as follows:

R1 G1 R2 G2
g1 B1 g2 B2

You are saying that pixel 1 is made of R1, G1, g1 and B1, while pixel 2 is made of R2,G2,g2, and B2.
Instead, pixel2 is made of G1, R2, B1 and g2, while PIXEL 3 is made of R2,G2,g2 and B2. Hence, you end up with 16 million pixels all with different colours. (You can get 16 million greyscale pixels too).
I hope this helps

As for those people getting individual grayscale photosite info, they're doing a nice intellectual excercise, but not improving their photos

Last edited by drr0b; 03-28-2010 at 01:42 PM.
Reply With Quote
  #10 (permalink)  
Old 03-28-2010, 04:50 PM
I'm new here!
 
Join Date: Feb 2010
Location: Los Angeles, California, USA
Posts: 12
Default

Quote:
Originally Posted by drr0b View Post
OK, I see where you've gone wrong. You don't just group the photosites in fours to make one pixel; doing that would throw away most of the information. Let's say that the raw pixels are laid out as follows:

R1 G1 R2 G2
g1 B1 g2 B2

You are saying that pixel 1 is made of R1, G1, g1 and B1, while pixel 2 is made of R2,G2,g2, and B2.
Instead, pixel2 is made of G1, R2, B1 and g2, while PIXEL 3 is made of R2,G2,g2 and B2. Hence, you end up with 16 million pixels all with different colours. (You can get 16 million greyscale pixels too).
I hope this helps
Ah! If I understand correctly, it's something like this?

Thats genius ! It'll end up with an 8megapixel image, right?
Which is then resized to 16 megapixels?
__________________
Cameras: Nikon Coolpix E8400, Nikon FG, Kodak Zi8
Lenses: Nikkor 50mm f/1.4 AI, Sun 80-300mm f/4.5 AI, Tamron 24-48mm f/3.5-3.8 AI
My Flickr
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

What’s Your Preference?

Daily Digest

Each day we send out a quick email to thousands of DPS readers to notify them of updates. This email is just short excerpt of the first few lines of our latest post with a link if you want to read it all. You can unsubscribe from this this service at any time.

This service is provided by a third party (Feedburner) and you can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Summary

For those wanting a weekly summary of what happens on this site this free email newsletter is probably your best option. It includes a summary of the tips posted to the site each week. This newsletter is subscribed to by over 25000 readers (many who also subscribe to the other options above) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter:

 
SEO by vBSEO 3.3.0