我必须对两个低分辨率图像进行超分辨率以获得高分辨率图像。
拍摄第2张图像作为基本图像,并对其登记第1张图像。我使用SURF算法进行图像配准。使用内置的MATLAB delaunay函数在点上构建Delaunay三角剖分。大小的HR网格是针对预先指定的分辨率增强因子R构建的。接下来总结用于在HR网格上内插像素值的HR算法。
HR算法步骤:1。在由LR帧形成的不规则采样光栅中的散射顶点集上构造Delaunay三角剖分。
Estimate the gradient vector at each vertex of the triangulation by calculating the unit normal vector of neighbouring vector using cross product method.Sum of the unit normal vector of each triangle multiplied by its area is divided by summation of area of all neighbouring triangles to get the vertex normal.
Approximate each triangle patch in the triangulation by a continuous and, possibly, a continuously differentiable surface, subject to some smoothness constraint. Bivariate polynomials or splines could be the approximants as explained below.
Set the resolution enhancement factor along the horizontal and vertical directions and then calculate the pixel value at each regularly spaced HR grid point to construct the initial HR image
现在我的结果如下所示
现在对于一种数据集我得到这个结果,其中有一些像素是黑色的,而另一种类型的颜色是随机的,我在超分辨率后获得了整个图像的细平行线,结果是附加的
任何人都可以告诉我原因,我已经想到可能是它的去马赛克但我不确定,因为我对它有很多了解,而且它可能是我的代码中的一个错误但它对不同的图像表现不同,我已经超过两倍增加了尺寸。