将8位图像增强到16位 [英] Enhancing 8 bit images to 16 bit

查看:354
本文介绍了将8位图像增强到16位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是将8位图像增强到16位图像。换句话说,我想增加8位图像的动态范围。为此,我可以依次拍摄8位固定场景和固定摄像头的多张图像。为了简化问题,让我们假设它们是灰度图像

My objective is to enhance 8 bit images to 16 bit ones. In other words, I want to increase the dynamic range of an 8 bit image. And to do that, I can sequentially take multiple images of 8 bit with fixed scene and fixed camera. To simplify the issue, let's assume they are grayscale images

直觉上,我认为我可以通过

Intuitively, I think I can achieve the goal by


  1. 将两个8位图像相乘

  1. Multiplying two 8 bit images

resimage = double(img1)。* double(img2)

平均指定数量的8位图像

Averaging specified number of 8 bit images

resImage = mean(images,3)

假设图像(:,:,i)包含 i 8位图像。

之后,我可以将结果图像设置为16位。

After that, I can make the resulting image to 16 bit one.

resImage = uint16(resImage)

但在测试这些方法之前,我想知道还有另外一种方法可以做到这一点 - 除了购买16位相机或文献资料这个主题可能会更好。

But before testing these methods, I wonder there is another way to do this - except for buying 16 bit camera, or literature for this subject might be better.

更新:正如下面的评论显示,我获得了关于上面和图像堆栈上的简单平均的缺点以获得增强的很好的信息。毕竟这可能是一个很好的学习课题。感谢大家的好评。

UPDATE: As comments below display, I got great information on drawbacks of simple averaging above and on image stacks for the enhancement. So it may be a good topic to study after all. Thank all for your great comments.

推荐答案

这个问题似乎与通过整合多个信息来增加图像的动态范围有关8位曝光成16位图像。这与在其他领域中捕获和组合天文成像中的图像堆栈的实践有关。这里可以解释这种做法以及如何降低图像噪声和增强动态范围:

This question appears to relate to increasing the Dynamic Range of an image by integrating information from multiple 8 bit exposures into a 16 bit image. This is related to the practice of capturing and combining "image stacks" in astronomical imaging among other fields. An explanation of this practice and how it can both reduce image noise, and enhance dynamic range is available here:

http://keithwiley.com/astroPhotography/imageStacking.shtml

这个想法是连续捕获相同场景的图像噪声受到图像噪声的影响,并且该噪声导致所捕获的像素值的随机变化。在最简单的情况下,这些变化可以通过求和和分频来利用,即均值平均叠加以改善其动态范围,但实用性在很大程度上取决于相机的噪声特性。

The idea is that successive captures of the same scene are subject to image noise, and this noise leads to stochastic variation of the pixel values captured. In the simplest case these variations can be leveraged by summing and dividing i.e. mean averaging the stack to improve its dynamic range but the practicality would depend very much on the noise characteristics of the camera.

这篇关于将8位图像增强到16位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆