二次联合稀疏表示和低秩近似的浅浮雕优化
Bas-relief optimization based on twice-joint sparse representation and low-rank approximation
- 2020年25卷第6期 页码:1245-1259
收稿:2019-08-08,
修回:2019-11-5,
纸质出版:2020-06-16
DOI: 10.11834/jig.190403
移动端阅览

浏览全部资源
扫码关注微信
收稿:2019-08-08,
修回:2019-11-5,
纸质出版:2020-06-16
移动端阅览
目的
2
针对低质量浅浮雕表面的噪声现象,提出一种二次联合局部自适应稀疏表示和非局部低秩矩阵近似的浅浮雕优化算法。
方法
2
本文方法分两个阶段。第1阶段,将浅浮雕灰度图划分成大小相同的数据块,提取边界块并进行去噪,分别对数据块进行稀疏表示和低秩近似处理。一方面,通过字典学习获得过完备字典和稀疏编码;另一方面,利用K均值聚类算法(K-means)将事先构建的外部字典库划分成
k
类,从
k
个簇中心匹配每个数据块的相似块并组成相似矩阵,依次进行低秩近似和特征增强处理。最后通过最小二乘法求解,重建并聚合新建数据块以得到新的高度场。第2阶段与第1阶段的结构相似,主要区别在于改用重建高度场的非局部自身相似性来实现块匹配。
结果
2
在不同图像压缩率下(70%,50%,30%),对比本文方法与BM3D(block-matching and 3D filtering)、WNNM(weighted nuclear norm minimization)、STROLLR(sparsifying transform learning and low-rank)、TWSC(trilateral weighted sparse coding)4个平滑降噪方法的浅浮雕重建结果,发现BM3D和STROLLR方法的特征保持虽好,但平滑效果较差,WNNM方法出现模型破损现象,TWSC方法的平滑效果比BM3D和STROLLR方法更好,但特征也同时被光顺化。阴影恢复形状法(shape from shading,SFS)是一种基于图像的3D建模法,但是其重建结果比较粗糙。相比之下,本文方法生成的浅浮雕模型更加清晰直观,在浅浮雕的特征增强和平滑去噪方面都展现出更好的性能。
结论
2
本文综合数据块的局部稀疏性和数据块之间的非局部相似性对粗糙的浅浮雕模型进行二次高度场重建。本文方法有效改善了现有浅浮雕模型的质量,提高了模型的整体视觉效果,为浅浮雕的优化提供了新方法。
Objective
2
Bas-relief is a semi-stereoscopic sculpture between 2D and 3D space that is typically attached to a plane. It is frequently used to decorate buildings
coins
badges
ceramics
and utensils. It occupies less space and enhances stereo sense mostly through lines. Research on bas-relief is focused on two modeling techniques: 3D models and 2D images. It is performed in three aspects: enhancing the continuity of the height field
preserving the original structure and details
and avoiding the attenuation of the stereoscopic effect. The bas-relief modeling technique based on a 3D model starts from the aspects of spatial
gradient
or normal domains
and compresses the depth values of the 3D model in a given visual direction to generate the bas-relief model. The bas-relief modeling technique based on a 2D image extracts the gray information from the image and converts it into depth information
completing the reconstruction from the image to the bas-relief model. However
minimal attention has been given to the repair and optimization of existing bas-reliefs. Many low-quality bas-relief models exist in practice. Bas-relief models frequently appear as grayscale images during storage or transmission
such as lossy compressed JPG (joint photographic experts group) images
to reduce file size or protect the work. The quality of bas-reliefs directly transformed from such lossy compressed images is rough. The model surfaces present evident block distribution and boundary noise
which seriously reduce the overall visual effect. Moreover
the greater the degree of image compression is
the more obvious the model noise will be. The lossy compression of grayscale image reduces the quality and overall visual effect of corresponding bas-relief model. Considering the large number of bas-relief grayscale images on the network
how to recover high-quality bas-relief models is a problem that is worthy of further study. This study proposes a novel algorithm for bas-relief optimization based on local adaptive sparse representation and nonlocal group low-rank approximation.
Method
2
The algorithm has two stages. In the first stage
the initial grayscale image is divided into patches of the same size
and the edge patches are extracted for denoising. Then
patches are processed via sparse representation and low-rank approximation. On the one hand
the edge-denoised patches are trained using the K-SVD (k-singular value decomposition) dictionary learning algorithm to obtain an overcomplete dictionary that is used to sparsely decompose noisy patches to obtain the corresponding sparse coding. On the other hand
the K-means clustering algorithm is used to classify the external dictionary library constructed in advance into
k
classes. A similar matrix for low-rank approximation is formed by similar patches selected from the
k
cluster centers. Further feature enhancement processing is performed on the low-rank approximation results. Combined with the results of edge denoising
sparse code reconstruction
and feature enhancement
new patches are generated using a least squares solution to reconstruct a new height field. The second stage is similar to the structure of the first stage
and the primary difference is the block matching operation. In the first stage
although the noisy patches are smoothed and denoised by external clean data
the consistency between patches and similar patches in the external dictionary library is constrained
resulting in insufficient smoothness between the patches of the height field. Therefore
block matching is realized by the nonlocal similarity of the reconstructed height field in the second stage to ensure consistency between patches
thereby improving the smoothing effect on bas-reliefs.
Result
2
By comparing the bas-relief reconstruction results of the proposed method with those of block-matching and 3D filtering (BM3D)
weighted nuclear norm minimization (WNNM)
sparsifying transform learning and low-rank (STROLLR)
and trilateral weighted sparse coding (TWSC) at different image compression rates (70%
50%
and 30%)
we determine that BM3D and STROLLR exhibit better feature retention
but their smoothing effect is the worst. WNNM presents model breakage. The smoothing effect of TWSC is better than those of BM3D and STROLLR
but features are also smoothed simultaneously
resulting in inconspicuous details. The proposed method is further compared with shape from shading (SFS)
which is an image-based 3D model reconstruction method for transforming 2D images into 3D models. Under different illumination conditions
SFS calculates depth information through the shadow and brightness of an image and then combines it with the reflected illumination model to realize the reconstruction of the 3D model. The overall structure shape of the 3D model generated using SFS is reasonable
but the following shortcomings exist. First
the reconstruction results of SFS are insufficiently fine to restore lines and features. Second
the model produced via SFS is influenced by light source
position
and direction. Third
numerous bump grooves are found in the reconstruction model of SFS. With the influences of light and shadow
local areas are either bright or dark. The model looks complicated because of the lines generated by bump grooves. By contrast
the proposed method is clearer
more intuitive
and exhibits better performance in terms of the smoothing
feature enhancement
and edge denoising of bas-reliefs. The experiment compares the operating efficiencies of different methods. The time taken by the four smoothing methods is in ascending order as follows: BM3D
WNNM
TWSC
and STROLLR. The proposed method takes longer than the four aforementioned methods. For a grayscale image of 1 024×1 024 pixels
the average computing time of the proposed method is 1 000 s
which is approximately 1.5 times of STROLLR. The time spent by SFS is only 40%60% that of the proposed method. Although the computing time of the proposed method is longer
its optimization ability for 3D models is greater
and the visual effect is more significant.
Conclusion
2
Sparse representation contains the differences between patches
effectively retaining the details of bas-relief. Low-rank approximation contains the correlation between patches and exhibits a good smoothing effect. The proposed method achieves the complementarity of sparse representation and low-rank approximation
and comprehensively considers the local sparsity of patches and nonlocal similarity between patches. The experiment shows that the proposed method effectively improves the overall visual effect of bas-relief models and provides a new method for bas-relief optimization.
Alexa M and Matusik W. 2010. Reliefs as images. ACM Transactions on Graphics, 29(4): 60: 1-7[DOI: 10.1145/1833349.1778797 http://dx.doi.org/10.1145/1833349.1778797 ]
Bian Z and Hu S M. 2011. Preserving detailed features in digital bas-relief making. Computer Aided Geometric Design, 28(4):245-256[DOI:10.1016/j.cagd.2011.03.003]
Cignoni P, Montani C and Scopigno R. 1997. Computer-assisted generation of bas-and high-reliefs. Journal of Graphics Tools, 2(3):15-28[DOI:10.1080/10867651.1997.10487476]
Dabov K, Foi A, Katkovnik V and Egiazarian K. 2007. Image denoising by sparse 3-D transform-domain collaborative filtering. IEEE Transactions on Image Processing, 16(8):2080-2095[DOI:10.1109/TIP.2007.901238]
Elad M and Aharon M. 2006. Image denoising via sparse and redundant representations over learned dictionaries. IEEE Transactions on Image Processing, 15(12):3736-3745[DOI:10.1109/TIP.2006.881969]
Gu S H, Zhang L, Zuo W M and Feng X C. 2014. Weighted nuclear norm minimization with application to image denoising//Proceedings of 2014 IEEE Conference on Computer Vision and Pattern Recognition. Columbus, OH, USA: IEEE: 2862-2869[DOI: 10.1109/CVPR.2014.366 http://dx.doi.org/10.1109/CVPR.2014.366 ]
Hu H J, Froment J and Liu Q S. 2018. A note on patch-based low-rank minimization for fast image denoising. Journal of Visual Communication and Image Representation, 50:100-110[DOI:10.1016/j.jvcir.2017.11.013]
Ji Z P, Ma W Y and Sun X F. 2014. Bas-relief modeling from normal images with intuitive styles. IEEE Transactions on Visualization and Computer Graphics, 20(5):675-685[DOI:10.1109/tvcg.2013.267]
Kerber J, Wang M, Chang J, Zhang J J, Belyaev A and Seidel H P. 2012. Computer assisted relief generation-a survey. Computer Graphics Forum, 31(8):2363-2377[DOI:10.1111/j.1467-8659.2012.03185.x]
Li Z W, Wang S, Yu J H and Ma K L. 2012. Restoration of brick and stone relief from single rubbing images. IEEE Transactions on Visualization and Computer Graphics, 18(2):177-187[DOI:10.1109/tvcg.2011.26]
Quéau Y, Mélou J, Castan F, Cremers D and Durou J D. 2018. A variational approach to shape-from-shading under natural illumination//Proceedings of the 11th Energy Minimization Methods in Computer Vision and Pattern Recognition. Venice, Italy: Springer: 342-357[DOI: 10.1007/978-3-319-78199-0_23 http://dx.doi.org/10.1007/978-3-319-78199-0_23 ]
Ravishankar S and Bresler Y. 2015. Sparsifying transform learning with efficient optimal updates and convergence guarantees. IEEE Transactions on Signal Processing, 63(9):2389-2404[DOI:10.1109/TSP.2015.2405503]
Shi Y G, Wang D Q and Liu Z W. 2015. Segmentation of hippocampal subfields using dictionary learning and sparse representation. Journalof Image and Graphics, 20(12):1593-1601
时永刚, 王东青, 刘志文. 2015.字典学习和稀疏表示的海马子区图像分割.中国图象图形学报, 20(12):1593-1601 [DOI:10.11834/jig.20151204]
Song W H, Belyaev A and Seidel H P. 2007. Automatic generation of bas-reliefs from 3D shapes//Proceedings of 2007 IEEE International Conference on Shape Modeling and Applications. Lyon, France: IEEE: 211-214[DOI: 10.1109/SMI.2007.9 http://dx.doi.org/10.1109/SMI.2007.9 ]
Sun X F, Rosin P L, Martin R R and Langbein F C. 2009. Bas-relief generation using adaptive histogram equalization. IEEE Transactions on Visualization and Computer Graphics, 15(4):642-653[DOI:10.1109/TVCG.2009.21]
Tang Z H. 2013. Low-rank Approximation Theory and Its Application in Image De-noising. Xi'an: Xidian University
唐中和. 2013.低秩逼近理论及其在自然图像去噪中的应用.西安: 西安电子科技大学
Wang M L, Kerber J, Chang J and Zhang J J. 2011. Relief stylization from 3D models using featured lines//Proceedings of the 27th Spring Conference on Computer Graphics. Viničné, Slovak Republic: ACM: 37-42[DOI: 10.1145/2461217.2461226 http://dx.doi.org/10.1145/2461217.2461226 ]
Wang M L, Yang L Y, Geng N and He D J. 2018. Survey and prospect of 3D model-based digital relief generation. Journal of Image and Graphics, 23(9):1273-1284
王美丽, 杨丽莹, 耿楠, 何东健. 2018.基于3维模型的数字浮雕生成技术.中国图象图形学报, 23(9):1273-1284 [DOI:10.11834/jig.170642]
Wen B H, Li Y J and Bresler Y. 2017. When sparsity meets low-rankness: transform learning with non-local low-rank constraint for image restoration//Proceedings of 2017 IEEE International Conference on Acoustics, Speech and Signal Processing. New Orleans, LA, USA: IEEE: 2297-2301[DOI: 10.1109/ICASSP.2017.7952566 http://dx.doi.org/10.1109/ICASSP.2017.7952566 ]
Weyrich T, Deng J, Barnes C and Rusinkiewicz S. 2007. Digital bas-relief from 3D scenes. ACM Transactions on Graphics, 26(3):32-39[DOI:10.1145/1276377.1276417]
Wu J, Martin R R, Rosin P L, Sun X F, Langbein F C, Lai Y K, Marshall A D and Liu Y H. 2013. Making bas-reliefs from photographs of human faces. Computer-Aided Design, 45(3):671-682[DOI:10.1016/j.cad.2012.11.002]
Xu J, Zhang L and Zhang D. 2018. A trilateral weighted sparse coding scheme for real-world image denoising//Proceedings of the 15th European Conference on Computer Vision. Munich, Germany: Springer: 21-38[DOI: 10.1007/978-3-030-01237-3_2 http://dx.doi.org/10.1007/978-3-030-01237-3_2 ]
相关作者
相关机构
京公网安备11010802024621