现有立体图像的梯度水平背景图像(C ++代码) [英] Gredient Horizontal background image for a existing stereo image (C++ codes)
问题描述
你好.
我有不均匀背景的立体图像(水,水下).
我想相对于现有图像生成线性梯度图像,这样当我将两个图像都相加时,我将根据需要获得另一个背景一致的图像.
并且任何人都能回答我们如何找到最高和最低的背景像素值..
任何算法或一点代码指令(对于C ++)都将真正有用. br/>
1.要从原始图像生成线性渐变图像.
您所说的图像的线性梯度是什么意思?是线性的
插值?
2.然后,您将两个图像相加得到一个均匀的图像,并且其bakground均匀,这是否意味着背景颜色相同? (说纯白色)
首先,您要阐明这些要点. :)
Hello .
I have stereo images(aquatic,underwater) of non uniform background..
i want to generate a linear gredient image with respect to the existing image so that when i will add both the images i will get another image of uniform background as desired.
and Could any body reply how can we find the highest and lowest background pixel values..
Any Algorithm or a bit of code instruction(for C++) would be really helpful..
From your question i got these points
1.you want to generate a liner gradient image from orginal image .
what u mean by liner gradient of an image ? is that linear
interpolation ?
2. then u adds two images to get a uniform image, and its bakground is uniform , is that means background color is same ? ( say pure white )
First you clarify these points. :)
这篇关于现有立体图像的梯度水平背景图像(C ++代码)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!