Wolfram.com
WolframAlpha.com
WolframCloud.com
Wolfram Language
Example Repository
Ready-to-use examples for the Wolfram Language
Primary Navigation
Categories
Astronomy
Audio Processing
Calculus
Chemistry
Computer Science
Computer Vision
Control Systems
Creative Arts
Data Science
Engineering
Finance & Economics
Food & Nutrition
Geography
Geometry
Graphs & Networks
Image Processing
Life Sciences
Machine Learning
Mathematics
Optimization
Physics
Presentation & Publication
Puzzles and Recreation
Quantum Computation
Signal Processing
Social Sciences
System Modeling
Text & Language Processing
Video Processing
Visualization & Graphics
Alphabetical List
Submit a New Resource
Related Pages
Related Symbols
Classify
ClusterClassify
FeatureExtract
ImageBoundingBoxes
ImageCases
ImageContainsQ
ImageContents
ImageIdentify
ImagePosition
ImageRestyle
Nearest
NetChain
NetEncoder
NetGraph
NetModel
Predict
Built-in Image Style Transfer
Example Notebook
Open in Cloud
Download Notebook
Restyle an image to the graphical style of another
Style transfer is the process of rendering one image in the style of another.
I
m
a
g
e
R
e
s
t
y
l
e
implements a neural net approach to restyle an image into the style of one or more images.
Here is a simple example of image restyling using a single style:
I
n
[
1
]
:
=
I
m
a
g
e
R
e
s
t
y
l
e
,
O
u
t
[
1
]
=
Perform a higher-quality style transfer:
I
n
[
2
]
:
=
I
m
a
g
e
R
e
s
t
y
l
e
,
,
P
e
r
f
o
r
m
a
n
c
e
G
o
a
l
"
Q
u
a
l
i
t
y
"
O
u
t
[
2
]
=
Style transfer into different styles:
I
n
[
3
]
:
=
a
r
t
w
o
r
k
s
=
D
e
l
e
t
e
M
i
s
s
i
n
g
[
#
[
"
I
m
a
g
e
"
]
&
/
@
R
a
n
d
o
m
S
a
m
p
l
e
[
#
[
"
N
o
t
a
b
l
e
A
r
t
w
o
r
k
s
"
]
,
5
]
]
〚
1
〛
&
/
@
V
i
n
c
e
n
t
v
a
n
G
o
g
h
P
E
R
S
O
N
,
P
a
b
l
o
P
i
c
a
s
s
o
P
E
R
S
O
N
,
C
l
a
u
d
e
M
o
n
e
t
P
E
R
S
O
N
O
u
t
[
3
]
=
,
,
I
n
[
4
]
:
=
I
m
a
g
e
R
e
s
t
y
l
e
,
#
&
/
@
a
r
t
w
o
r
k
s
O
u
t
[
4
]
=
Control the amount of style transfer:
I
n
[
5
]
:
=
L
i
s
t
A
n
i
m
a
t
e
T
a
b
l
e
I
m
a
g
e
R
e
s
t
y
l
e
,
w
e
i
g
h
t
,
{
w
e
i
g
h
t
,
0
,
1
,
0
.
1
}
O
u
t
[
5
]
=
Related Symbols
Classify
ClusterClassify
FeatureExtract
ImageBoundingBoxes
ImageCases
ImageContainsQ
ImageContents
ImageIdentify
ImagePosition
ImageRestyle
Nearest
NetChain
NetEncoder
NetGraph
NetModel
Predict
Publisher Information
Contributed by:
Wolfram Staff