Abstract

Before neural networks, image style transfer procedures had a common idea: analyze images with a certain style, build a mathematical or statistical model for the style, and then change the image to be transferred, so that it better fits the established model. In this paper, k-means and semantic closed natural matting algorithm is combined for image segmentation, the style and content in the image are extracted based on neural network, and the resulting image is synthesized by image reconstruction technology to realize the migration of national costume styles. Due to the serious artifacts of the output image, an improved image style transfer algorithm is adopted to constrain the transformation from the input image to the output image in the local affine transformation of the color space, and this constraint is expressed as a completely differentiable parameter term, image distortion is suppressed effectively. In the process of real photo style transfer, there is also space inconsistency. Smoothing is done to ensure that the space style is consistent after style processing, it greatly speeds up the operation speed. On NVIDIA GTX1080TI graphics card, algorithm is tested with 256×256 resolution images. It includes three indicators of average running time, memory usage and the number of styles generated by a single model, which are 0.06 s, 136.06 MB and 1 respectively. These indicators can reflect the efficiency and flexibility of the algorithm.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.