DPReview.com is closing April 10th - Find out more

Making Foveon-like Images with a Bayer Camera

Started Feb 23, 2022 | Discussions thread
paulsch
paulsch Regular Member • Posts: 276
Re: re:
2

Tom Schum wrote:

bizi clop wrote:

Tom Schum wrote:

Another good algorithm is "Nearest Neighbor" or merely "nearest". But this one works best if you downscale to 1/2 of the linear dimensions, so it combines 4 adjacent pixels into one.

Nearest Neighbor doesn't combine 4 pixels - it just keeps one, and throws out the other 3. The result may be super-sharp, but the downscaled image keeps the per-pixel noise levels, because no averaging/smoothing happens.

Bilinear at 1/n scales should work like binning/averaging of n*n pixels.

I'll have to take your word for the nearest neighbor thing. I still like it though.

I can confirm this, and it is easy to test.

Just create a small image, say 12 x 12 pixels.

Then create a checkerboard pattern, e.g. one pixel black one pixel white.

Then reduce the image size to 50% with the various scaling methods and compare the result and measure the colour values.

 paulsch's gear list:paulsch's gear list
Sigma DP2s Ricoh GR II Sigma SD14
Post (hide subjects) Posted by
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow