You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
6.9 KiB
144 lines
6.9 KiB
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0" />
|
|
|
|
<title>Photopea - Refine Edge</title>
|
|
|
|
<link rel="stylesheet" href="https://blog.photopea.com/wp-content/themes/simplex/style.css" type="text/css" media="screen" />
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id="page">
|
|
<div id="header">
|
|
<a href="index.html" class="title">Learn Photopea</a>
|
|
<!--<p>Web-based image editor.</p>-->
|
|
<a href="https://blog.photopea.com">Blog</a> |
|
|
<a class="curr" href="index.html">Learn</a> |
|
|
<a href="../tuts/index.html">Tutorials</a> |
|
|
<a href="../api/index.html">API</a> |
|
|
<a href="https://www.facebook.com/photopea">Facebook</a> |
|
|
<a href="https://www.twitter.com/photopeacom">Twitter</a>
|
|
</div>
|
|
<div id="main" style="max-width:1000px;">
|
|
<div id="sidebar" style="width:22%;">
|
|
<h3>Topics</h3>
|
|
<ul>
|
|
<li class="lvl0"><a href="index.html">Introduction</a></li>
|
|
<li class="lvl0"><a href="workspace.html">Workspace</a></li>
|
|
<li class="lvl1"><a href="opening-saving.html">Open and Save</a></li>
|
|
<li class="lvl1"><a href="navigation.html">Navigation</a></li>
|
|
<li class="lvl1"><a href="image-size.html">Image size</a></li>
|
|
<li class="lvl0"><a href="layers.html">Layers</a></li>
|
|
<li class="lvl1"><a href="masks.html">Masks</a></li>
|
|
<li class="lvl1"><a href="layer-styles.html">Layer Styles</a></li>
|
|
<li class="lvl1"><a href="smart-objects.html">Smart Objects</a></li>
|
|
<li class="lvl1"><a href="other-layers.html">Other Layers</a></li>
|
|
<li class="lvl0"><a href="layer-manipulation.html">Layer Editing</a></li>
|
|
<li class="lvl1"><a href="free-transform.html">Free Transform</a></li>
|
|
<li class="lvl1"><a href="adjustments-filters.html">Adjust. & Filters</a></li>
|
|
<li class="lvl0"><a href="selections.html">Selections</a></li>
|
|
<li class="lvl1"><a href="creating-selections.html">Make Selections</a></li>
|
|
<li class="lvl1"><a href="advanced-selecting.html">Advanced Selecting</a></li>
|
|
<li class="lvl1 active"><a href="refine-edge.html">Refine Edge</a></li>
|
|
<li class="lvl1"><a href="moving-selected-data.html">Move Selected Data</a></li>
|
|
<li class="lvl0"><a href="brush-tools.html">Brush Tools</a></li>
|
|
<li class="lvl1"><a href="bt-basic.html">Basic Tools</a></li>
|
|
<li class="lvl1"><a href="bt-advanced.html">Advanced Tools</a></li>
|
|
<li class="lvl1"><a href="bt-smart.html">Smart Tools</a></li>
|
|
<li class="lvl0"><a href="text.html">Text</a></li>
|
|
<li class="lvl1"><a href="text-style.html">Text Style</a></li>
|
|
<li class="lvl0"><a href="vector-graphics.html">Vector Graphics</a></li>
|
|
<li class="lvl1"><a href="vg-structure.html">The Structure</a></li>
|
|
<li class="lvl1"><a href="vg-manipulation.html">Editing Shapes</a></li>
|
|
<li class="lvl1"><a href="vg-creating.html">Creating Shapes</a></li>
|
|
<li class="lvl0"><a href="other.html">Other</a></li>
|
|
<li class="lvl1"><a href="guides-grid-snapping.html">Guides & Snapping</a></li>
|
|
<li class="lvl1"><a href="animations.html">Animations</a></li>
|
|
<li class="lvl1"><a href="layer-comps.html">Layer Comps</a></li>
|
|
<li class="lvl1"><a href="scripts.html">Scripts</a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="content" style="width:78%;">
|
|
<div class="post">
|
|
<h1>Refine Edge</h1>
|
|
|
|
<p>Natural images (photographs) may contain parts, that are very hard to select.
|
|
We can have partially transparent objects (a glass of water) or objects with a complex shape (trees, hair, fur).
|
|
Their colors are mixed with other colors in the background.</p>
|
|
|
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
<ins class="adsbygoogle"
|
|
style="display:block; text-align:center;"
|
|
data-ad-layout="in-article"
|
|
data-ad-format="fluid"
|
|
data-ad-client="ca-pub-0885095539348241"
|
|
data-ad-slot="5352893134"></ins>
|
|
<script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
|
|
<h2>Refine Edge Tool</h2>
|
|
|
|
<p>Photopea offers the Refine Edge Tool, which can help you with selecting complex shapes. You can start it by choosing Select - Refine Edge,
|
|
or by clicking the "Refine Edge" button in the top panel of any selection tool.</p>
|
|
|
|
<p>Your goal is to make a <b>Trimap</b>: mark the whole image with trhee colors:<p>
|
|
<ul>
|
|
<li>Your object (Foreground) with <b>White</b> (fully visible in the result)</li>
|
|
<li>Background with <b>Black</b> (deleted in the result)</li>
|
|
<li>Uncertain areas with <b>Grey</b></li>
|
|
</ul>
|
|
|
|
<p>After you do so, Photopea will deduce the transparency of the Grey area (part of it will be added to the Foreground, the rest to the Background).</p>
|
|
|
|
<img src="https://i.imgur.com/Hi0DGyr.jpg" class="fullw" />
|
|
|
|
<p>The workspace consists of two sides. You can paint the Trimap on the left, and you will see the result on the right.
|
|
Choose the brush size and the color (White, Grey or Black) in the top left corner and paint over the image.
|
|
The result is updated after you release the mouse.</p>
|
|
|
|
<img src="https://i.imgur.com/pG233Iz.png" class="fullw" />
|
|
|
|
<p>If you start Refine Edge with no selection, the whole Trimap is Black (so just add Gray and White).</p>
|
|
|
|
<p>If you start Refine Edge with a selection, the tool will generate a Trimap for you (selected area as White, the rest as Black).
|
|
Then, just paint with Grey over the areas, that are not selected perfectly (edges of the object).</p>
|
|
|
|
<p>You can auto-generate the Grey area as a border of the initial selection (between black and white). Simply change the <b>Border</b> value in the top menu.</p>
|
|
|
|
<p>There are three modes, how the result can be used:</p>
|
|
<ul>
|
|
<li>New Layer: selected object will be inserted as a new layer</li>
|
|
<li>Raster Mask: the current layer will get a raster mask, that corresponds to the result</li>
|
|
<li>Selection: the new selection will be created, that corresponds to the result</li>
|
|
</ul>
|
|
|
|
<p>Once the selection looks well, choose the Mode and confirm it by hitting OK in the top right corner.</p>
|
|
</div>
|
|
|
|
<h2 style="margin-top: 4em">Comments</h2>
|
|
<div id="disqus_thread"></div>
|
|
<script>
|
|
(function() { // DON'T EDIT BELOW THIS LINE
|
|
var d = document, s = d.createElement('script');
|
|
s.src = 'https://learn-photopea.disqus.com/embed.js';
|
|
s.setAttribute('data-timestamp', +new Date());
|
|
(d.head || d.body).appendChild(s);
|
|
})();
|
|
</script>
|
|
</div>
|
|
</div>
|
|
<div id="footer">© 2013-2018 support@photopea.com</div>
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-4249565-43', 'auto'); ga('send', 'pageview');
|
|
</script>
|
|
</div>
|
|
</html>
|