Pages: [1]   Go Down

Author Topic: Interpolation  (Read 6282 times)

-Andrew-

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 55
    • http://
Interpolation
« on: November 29, 2005, 10:52:28 pm »

[span style=\'font-size:8pt;line-height:100%\']Can someone spare the time to give me a brief explanation of the process of interpolation?  Or at least refer me to some good references?[/span]
« Last Edit: November 29, 2005, 10:53:15 pm by -Andrew- »
Logged
[span style='font-size:8pt;line-height:1

DarkPenguin

  • Guest
Interpolation
« Reply #1 on: November 29, 2005, 11:28:36 pm »

I think the guy that does DCRaw has some articles about it.  Or at least he references some papers on methods of interpolation.

In non fovean digital cameras each pixel only has information about one color.  Not all 3.  Interpolation tries to figure out what the other two colors are based on infromation in the adjoining pixels.  A simple method is to just average the colors in the adjacent pixels.
« Last Edit: November 29, 2005, 11:29:12 pm by DarkPenguin »
Logged

Dale_Cotton

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 588
    • http://daystarvisions.com
Interpolation
« Reply #2 on: November 30, 2005, 08:43:44 am »

Dark: you are quite correct that hue interpolation is used in most cameras to turn monochrome sensor data into RGB. In addition, interpolation is one name for the process also referred to as up-sampling, down-sampling, up-rezzing, down-rezzing, etc.

Let's say I have a 2000x3000 pixel image from my camera and want to turn that into a 4000x6000 pixel image for printing. Think of a sheet of graph paper (a page divided into small squares). I colour square 1 (upper left) with the colour recorded by pixel 1 from the image. I then skip square 2 (just right of square 1) and colour square 3 with the colour recorded by pixel 2 from the image. And so on. When I'm done I have stretched the image to cover the new 4000x6000 area but have left holes all over. Interpolation is the formula used to guess the RGB values to colour the empty squares with based on the colour of their neighbours.

If this is unclear I can create an illustration later today.
Logged

Tim Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2002
    • http://www.timgrayphotography.com
Interpolation
« Reply #3 on: November 30, 2005, 08:46:46 am »

Logged

DiaAzul

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 777
    • http://photo.tanzo.org/
Interpolation
« Reply #4 on: November 30, 2005, 09:05:24 am »

Here's a very mathematical description comparing some of the more common interpolation methods.

Algorithm's for Bayer Interpolation
Logged
David Plummer    http://photo.tanzo.org/

David R. Gurtcheff

  • Guest
Interpolation
« Reply #5 on: December 02, 2005, 03:48:23 pm »

Quote
Dark: you are quite correct that hue interpolation is used in most cameras to turn monochrome sensor data into RGB. In addition, interpolation is one name for the process also referred to as up-sampling, down-sampling, up-rezzing, down-rezzing, etc.

Let's say I have a 2000x3000 pixel image from my camera and want to turn that into a 4000x6000 pixel image for printing. Think of a sheet of graph paper (a page divided into small squares). I colour square 1 (upper left) with the colour recorded by pixel 1 from the image. I then skip square 2 (just right of square 1) and colour square 3 with the colour recorded by pixel 2 from the image. And so on. When I'm done I have stretched the image to cover the new 4000x6000 area but have left holes all over. Interpolation is the formula used to guess the RGB values to colour the empty squares with based on the colour of their neighbours.

If this is unclear I can create an illustration later today.
[a href=\"index.php?act=findpost&pid=52480\"][{POST_SNAPBACK}][/a]
Dale: How are you doing? A long time since I have spoken to you or seen your posts here. Your posts and explanations are as clear and informative as ever. Sharon and I are doing great and retired year around to LBI.  
Very Best...
Dave Gurtcheff
Logged
Pages: [1]   Go Up