• Home
  • Submit Paper
  • Check Paper Status
  • Download Certificate/Paper
  • FAQs
  • Contact Us
Email: ijraset@gmail.com
IJRASET Logo
Journal Statistics & Approval Details
Recent Published Paper
Our Author's Feedback
 •  ISRA Impact Factor 7.894       •  SJIF Impact Factor: 7.538       •  Hard Copy of Certificates to All Authors       •  DOI by Crossref for all Published Papers       •  Soft Copy of Certificates- Within 04 Hours       •  Authors helpline No: +91-8813907089(Whatsapp)       •  No Publication Fee for Paper Submission       •  Hard Copy of Certificates to all Authors       •  UGC Approved Journal: IJRASET- Click here to Check     
  • About Us
    • About Us
    • Aim & Scope
  • Editorial Board
  • Impact Factor
  • Call For Papers
    • Submit Paper Online
    • Current Issue
    • Special Issue
  • For Authors
    • Instructions for Authors
    • Submit Paper
    • Download Certificates
    • Check Paper Status
    • Paper Format
    • Copyright Form
    • Membership
    • Peer Review
  • Past Issue
    • Monthly Issue
    • Special Issue
  • Pay Fee
    • Indian Authors
    • International Authors
  • Topics
ISSN: 2321-9653
Estd : 2013
IJRASET - Logo
  • Home
  • About Us
    • About Us
    • Aim & Scope
  • Editorial Board
  • Impact Factor
  • Call For Papers
    • Submit Paper Online
    • Current Issue
    • Special Issue
  • For Authors
    • Instructions for Authors
    • Submit Paper
    • Download Certificates
    • Check Paper Status
    • Paper Format
    • Copyright Form
    • Membership
    • Peer Review
  • Past Issue
    • Monthly Issue
    • Special Issue
  • Pay Fee
    • Indian Authors
    • International Authors
  • Topics

Ijraset Journal For Research in Applied Science and Engineering Technology

  • Home / Ijraset
  • On This Page
  • Abstract
  • Introduction
  • Conclusion
  • References
  • Copyright

Image Style Transfer Using Machine Learning

Authors: Dr. Bagam Laxmaiah , Jonnadula Narasimharao , Abhigna Maringanti, SriTeja Govindula , Suresh Dharamsoth

DOI Link: https://doi.org/10.22214/ijraset.2022.43990

Certificate: View Certificate

Abstract

The principle of Image style transfer is to define two distance functions, one that describes the content image and the other that describes the style Image. By using these content and Style Images[5][6] as inputs we will be getting the desired output which has the content image merged with style image. The output will be in the graphical model of the content image. In summary, we’ll take the base input image, a content image that we want to match, the style image that we want to match by undergoing the process of convolutional neural network [7] firstly the content image is undergoing the process of content loss and style image as style loss after content loss and style loss it will undergo the process of gram matrix and the final image will be formed.

Introduction

I. INTRODUCTION

Dealing With the Image Formation, The Image style transfer is an approach to convert one image form into another image form by using convolutional neural network. In this we have to take two images 1) content- image, 2)style-image. The content-image is nothing but it is a main basic image like a dog or human being etc, which exist in real world. The style image is a graphical image like tree graphical image and etc..which is in 3d fromat. By using Some machine learning functionalities and modules like we need to make content loss and style loss. After these we will be getting the desired output image.

II. LITERATURE SURVEY

In this project, we have taken a content image and the style image we will save the content image[6] and the style images[5] from any website and we need to use them by their location in the system. Here we use many machine learning modules, Algorithms. Convolutional neural network algorithm[7] is used here for formation of the images. OpenCv[8] ,TensorFlow [9] are the functionalities used to process the images. By using these we can get output image in the merged form of both content image and the style image. We need to calculate content loss and the style loss Then undergoes some modules in machine learning like deep lab semantic segmentation[10],open cv[8],tensor flow[9] making the images forming the output desired image. Content loss[11] is nothing but the difference of content of the content image to the content of the output image is the content loss and the content loss is calculated by Euclidean distance and the content loss can be calculated with the content image only.

The content loss is: content of content image –content of output image.

The Euclidean distance is:

The Style loss[12] is defined as the difference between the output image and the style image. Whichinturn gives the style loss. Here

we cannot compare aintermediate features of style loss and content loss so, that is why we introduce gram matrix

In the gram matrix[13] we have to equal the both pixel sizes. Let us consider a content image pixel size is [3280*4250] and the style image pixel size is [4290*5690] so the both pixel sizes is different by using the gram matrix we have to equal the both pixel sizes of content image and style image, and we have to calculate style image by using gram matrix. Ingram matrix we have to calculate each layer style information the formulae is:

III. PROPOSED SYSTEM

We have proposed Image style transfer using machine learning in this there are two images 1) content-image 2) style-image so, we have to take these two images as an input image to training modelHere in proposed system we will create a data sets ofimages for target Image. We give an input as any image and using this data sets the image is converted to our target image. Firstly the content image is given and then it undergoes deeplab semantic segmentation which makes the content image as the mask of the content image then the formed mask of the content image and the style image goes image style transfer which in undergoes machine learning modules like opencv and tensorflow. And finally the desired merged form of the image is formed.The below Image shows the Architecture of the image style transfer using machine learning.

IV. RESULT

Here for a sample we took a dog as a content image and the graphical image as the Input. We need to give input as the location name in the code i.e,where the image is saved in the system. So before the process we need to save the input images which are content image and the style image in the files on the system. While giving input we need to give the location of the image.

Then the images undergo processing firstly the content image undergo DeepLab Semantic Segmentation and we will be getting mask of the content image and then we will be giving style image this style image and the mask of the content image undergoes opencv and tensorflow functions. Tensorflow is used for mathematical computations and opencv is used for image processing. Finally we will get the output image as follows

Conclusion

By using this principle of Image Style Transfer using Machine Learning we can get our desired image without recreation by using an algorithm called CNN, We use some of the modules of machine learning like opencv and tensorflow and we will get the image with high Accuracy and it takes less time because there is no recreation of the images, only conversion of images directly.

References

[1] N.Ashikhmin.Fasttexturetransfer.IEEEComputerGraph- ics and Applications, 23(4):38–43, July 2003. [2] M. Berning, K. M. Boergens, and M. Helmstaedter.SegEM: Efficient Image Analysis for High- Resolution Connec-tomics. Neuron, 87(6):1193–1206, Sept. 2015. [3] C.F.Cadieu,H.Hong,D.L.K.Yamins,N.Pinto,D.Ardila, E. A. Solomon, N. J. Majaj, and J. J. DiCarlo. Deep Neu- [ralNetworksRivaltheRepresentationofPrimateITCor- tex for Core Visual Object Recognition. PLoSComputBiol, 10(12):e1003963, Dec. 2014. [4] L.-C. Chen, G. Papandreou, I.Kokkinos, K.Murphy, and A. L. Yuille. Semantic Image Segmentationwith Deep Convolutional Nets and Fully Connected CRFs. arXiv:1412.7062 [cs], Dec. 2014. arXiv: 1412.7062. [5] Different Style images from the web. [6] Different content images fromtheweb [7] CNN-Convolutional neural Network Algorithm https://machinelearningmastery.com/convolutional-layers-for-deep-learning- neural-networks/ [8] Opencv Module in Machine Learning https://pypi.org/project/opencv-python/ [9] Tensorflowmodule in machinelearning https://www.tensorflow.org/hub/api_docs/python/hub/Module [10] Deep Lab Sematic Segmentation forcontent Image https://towardsdatascience.com/the-evolution-of-deeplab-for-semantic- segmentation-95082b025571 [11] Content loss and the style loss for theimages. https://nnart.org/what-is-content-loss/ https://www.coursera.org/lecture/generative- deep-learning-with-tensorflow/style-loss-l9bTa [12] Image processing Process https://towardsdatascience.com/convolution-neural- network-for-image- processing-using-keras-dc3429056306 [13] Calculation of gram matrix https://towardsdatascience.com/neural-networks-intuitions-2-dot-product-gram- matrix-and-neural-style-transfer-5d39653e7916 [14] Keras in python https://www.javatpoint.com/keras

Copyright

Copyright © 2022 Dr. Bagam Laxmaiah , Jonnadula Narasimharao , Abhigna Maringanti, SriTeja Govindula , Suresh Dharamsoth. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

ijraset43990

Download Paper

Authors : Abhigna Maringanti

Paper Id : IJRASET43990

Publish Date : 2022-06-08

ISSN : 2321-9653

Publisher Name : IJRASET

DOI Link : Click Here

About Us

International Journal for Research in Applied Science and Engineering Technology (IJRASET) is an international peer reviewed, online journal published for the enhancement of research in various disciplines of Applied Science & Engineering Technologies.

Quick links
  • Privacy Policy
  • Refund & Cancellation Policy
  • Shipping Policy
  • Terms & Conditions
Quick links
  • Home
  • About us
  • Editorial Board
  • Impact Factor
  • Submit Paper
  • Current Issue
  • Special Issue
  • Pay Fee
  • Topics
Journals for publication of research paper | Research paper publishers | Paper publication sites | Best journal to publish research paper | Research paper publication sites | Journals for paper publication | Best international journal for paper publication | Best journals to publish papers in India | Journal paper publishing sites | International journal to publish research paper | Online paper publishing journal

© 2022, International Journal for Research in Applied Science and Engineering Technology All rights reserved. | Designed by EVG Software Solutions