Abstract
Most of the existing image style transfer algorithms transfer the whole image style as a whole. Style feature is a set of correlation matrix based on style image, namely Gram matrix. Each matrix is a global description of the style image. This kind of methods can perform well in the insensitive semantic scenes (such as the style transfer between landscape photos), but in the sensitive semantic scenes (such as the style transfer between portrait photos), the problem of semantic mismatch will be highlighted, such as transferring the background texture of the style image to the foreground of the target image. Although the existing research takes the manually annotated semantic image as an input of the algorithm, and then guides the style transfer based on the semantic information, and finally achieves good results in the style transfer between portraits. But there are still two problems: first, semantic images need to be manually annotated, which costs human resources. In practical applications, large-scale image style transfer is often needed. Second, the details of the synthesized image are fuzzy, and the definition is not enough. We propose an image style transfer algorithm based on semantic segmentation to resolve semantic mismatching in image style transfer. Our algorithm extracts the semantic information of style image and content image automatically through a semantic segmentation network and uses the semantic information to guide the style transfer. Our algorithm builds a semantic segmentation network based on mask R-CNN, introduces semantic information, and then makes style transfer on the patch level, realizes the style transfer between similar objects (consistent semantic information). Experiments on Celeba and Wikiart show that our method could automatically extract the semantic information of style image and content image. Compared with the state-of-art approaches in this field, our method can effectively avoid semantic mismatch in the process of image style transfer. That is, it can maintain semantic consistency in the process of style transfer.
Highlights
Most of the existing image style transfer approaches transfer image styles as a whole
Lin et al.: Image Style Transfer Algorithm Based on Semantic Segmentation the algorithm, guided the style transfer based on the semantic information, and achieved good results in the style transfer between portraits
We propose an image style transfer algorithm based on semantic segmentation algorithm based on semantic segmentation
Summary
Most of the existing image style transfer approaches transfer image styles as a whole. Taking Gatys’ method as an example, the style feature is a set of correlation matrices calculated based on style image, namely Gram matrix. Z. Lin et al.: Image Style Transfer Algorithm Based on Semantic Segmentation the algorithm, guided the style transfer based on the semantic information, and achieved good results in the style transfer between portraits. Champanard’s algorithm has two problems: first, semantic images need to be manually annotated, which requires a lot of human resources and material resources. We propose an image style transfer algorithm based on semantic segmentation (the whole method is abbreviated as SST) algorithm based on semantic segmentation. The algorithm builds a semantic segmentation network on the mask R-CNN, introduces semantic information, and performs style migration at the image block level to realize the style transfer between similar objects (with consistent semantic information). To prove the effectiveness of SST algorithm, we do a comparative experiment on Celeba
Published Version (Free)
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.