The vison inspection technology based on line structured light is broadly used in industrial inspection. The images dynamically collected onsite usually contain stripe adhesions and local fractures
which influences the center line extraction accuracy and further measurement accuracy. Thus
it is necessary to construct an image inpainting model to remove the stripe adhesions and fix the local fractures. The existing image inpainting models can achieve high accuracy on RGB datasets
but cannot adapt to laser stripe grayscale images. Therefore
a laser stripe image inpainting network RSM-Net(Recurrent Similarity Mapping Network) is proposed. The kernel of RSM-Net is a recurrent neural network. RSM-Net replaces some original Pconv(Partial convolution) layers with soft-coding Pconv layers to strengthen the feature learning ability. The asymmetric similarity module is designed to decrease the negative impact of image background features on the restoration. A mixed loss function containing the multi-scale structural similarity(MS-SSIM) loss term is designed to precisely guide the restoration of stripe structural information and realize the high-precision laser stripe image inpainting. The experiments demonstrate that the proposed RSM-Net outperforms the compared state-of-the-art image inpainting models in inpainting accuracy for small and large stripe adhesions
and local fractures.
关键词
Keywords
references
BERTALMIO M , SAPIRO G , CASELLES V , et al . Image inpainting [C]// Proceedings of the 27th Annual Conferenc on Computer graphics and interactive techniques , New York : ACM , 2000 : 417 - 424
GAO C Y , XU X E , LUO Y M , et al . Object image inpainting based on sparse representation [J]. Chinese Journal of Computers , 2019 , 42 ( 9 ): 1953 - 1965 . (in Chinese)
CRIMINISI A , PÉREZ P , TOYAMA K . Region filling and object removal by exemplar-based image inpainting [J]. IEEE Transactions on Image Processing , 2004 , 13 ( 9 ): 1200 - 1212 .
CHENG W H , HSIEH C W , LIN S K , et al . Robust algorithm for exemplar-based image inpainting [C]// Proceedings of International Conference on Computer Graphics, Imaging and Visualization . Beijing : IEEE , 2005 : 64 - 69 .
PATHAK D , KRÄHENBÜHL P , DONAHUE J , et al . Context encoders: feature learning by inpainting [C]// 2016 IEEE conference on Computer Vision and Pattern Recognition . Las Vegas, NV : IEEE , 2016 : 2536 - 2544 .
IIZUKA S , SIMO-SERRA E , ISHIKAWA H . Globally and locally consistent image completion [J]. ACM Transactions on Graphics(ToG) , 2017 , 36 ( 4 ): 1 - 14 .
SAGONG M C , SHIN Y G , KIM S W , et al . PEPSI: fast image inpainting with parallel decoding network [C]// 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR) . Long Beach, CA : IEEE , 2019 : 11352 - 11360 .
LIU G , REDA F A , SHIH K J , et al . Image inpainting for irregular holes using partial convolutions [C]// Proceedings of the European conference on computer vision (ECCV) . Munich : Springer , 2018 : 85 - 100 .
ZHENG C X , CHAM T J , CAI J F . Pluralistic Image Completion [C]// 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR) . Long Beach, CA : IEEE , 2019 : 1438 - 1447 .
YU J H , LIN Z , YANG J M , et al . Free-form image inpainting with gated convolution [C]// 2019 IEEE/CVF International Conference on Computer Vision(ICCV) . Seoul : IEEE , 2019 : 4470 - 4479 .
XIE C H , LIU S H , LI C , et al . Image inpainting with learnable bidirectional attention maps [C]// 2019 IEEE/CVF International Conference on Computer Vision(ICCV) . Seoul : IEEE , 2019 : 8857 - 8866 .
XIONG W , YU J H , LIN Z , et al . Foreground-aware image inpainting [C]// 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR) . Long Beach, CA : IEEE , 2019 : 5833 - 5841 .
NAZERI K , NG E , JOSEPH T , et al . Edgeconnect: structure guided image inpainting using edge prediction [C]// 2019 IEEE/CVF International Conference on Computer Vision Workshops(ICCVW) . Seoul : IEEE , 2019 : 3265 - 3274 .
WANG M H , CHEN X M , CHEN W Q , et al . MSMC-net: Image inpainting using deep multi-scale and multi-connection networks [C]// 2019 IEEE International Conference on Multimedia & Expo Workshops . Shanghai : IEEE , 2019 : 683 - 686 .
RONNEBERGER O , FISCHER P , BROX T . U-net: Convolutional networks for biomedical image segmentation [C]// Medical Image Computing and Computer-Assisted Intervention-MICCAI 2015 . Munich : Springer , 2015 : 234 - 241 .
LI J Y , WANG N , ZHANG L F , et al . Recurrent feature reasoning for image inpainting [C]// 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) . Seattle, WA : IEEE , 2020 : 7757 - 7765 .