# Clone tool

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Clone_tool
> Markdown URL: https://mediated.wiki/source/Clone_tool.md
> Source: https://en.wikipedia.org/wiki/Clone_tool
> Source revision: 1255843225
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{onesource|date=December 2009}}
The '''clone tool''', as it is known in [Adobe Photoshop](/source/Adobe_Photoshop), [Inkscape](/source/Inkscape), [GIMP](/source/GIMP), and [Corel PhotoPaint](/source/Corel_PhotoPaint), is used in [digital image editing](/source/digital_image_editing) to replace information for one part of a picture with information from another part. In [other image editing software](/source/Comparison_of_raster_graphics_editors), its equivalent is sometimes called a '''rubber stamp''' tool or a '''clone brush'''.
thumb|right|Demonstration of the clone tool to alter an image

== Applications ==
The clone tool can remove objects by copying a nearby background. The user selects a matching location as the source, then paints over the element to be hidden.<ref>{{Cite book |last=Teague |first=Jason Cranford |url=https://books.google.com/books?id=71NMYbvLuu0C |title=Photoshop 7 at Your Fingertips: Get in, Get out, Get Exactly What You Need |date=2006-12-26 |publisher=John Wiley & Sons |isbn=978-0-470-11378-3 |pages=483 |language=en}}</ref>

A typical use for the tool is in '''{{visible anchor|object removal}}''' – more colloquially, "[airbrushing](/source/airbrushing)" or "[photoshopping](/source/photoshopping)" out an unwanted part of the image.

If a part of an image is removed simply by cutting it out, then a hole is left in the background. The Clone tool can fill in this hole convincingly with a copy of the existing background from elsewhere in the image.

A common use for this tool is to retouch skin, particularly in portraits, to remove blemishes and make skin tones more even. Cloning can also be used to remove other unwanted elements, such as telephone wires, an unwanted bird in the sky, and the like.

A more automated method of object removal uses [texture synthesis](/source/texture_synthesis) to fill in gaps. Of these, [patch-based texture synthesis](/source/patch-based_texture_synthesis) or "image quilting" is essentially an automated application of the clone tool, choosing the optimal source area so as to patch over with a minimal seam.

In some cases, the undesired object is mixed with the remainder of the image, and a simple circular brush, even with [feathering](/source/feathering), would not work. For these cases, some programs allow an object to be selected by color/outline so other areas are not affected. Other programs allow edge/color sensitive brushes to deal with such objects.

== Healing tool ==
A similar tool is the '''healing tool''', which occurs in variants such as the '''healing [brush](/source/brush)''' or '''spot healing tool'''. These incorporate the existing texture, rather than painting it over.

== See also ==
* [Inpainting](/source/Inpainting)
* [Seam carving](/source/Seam_carving)

== References ==
{{reflist}}

==External links==
{{wikiversity|Adobe Photoshop}}
* [GIMP](/source/GIMP) manual: [http://docs.gimp.org/en/gimp-tool-clone.html 3.10. Clone]

{{DEFAULTSORT:Clone Tool}}
Category:Image processing

{{Graphics-software-stub}}

---
Adapted from the Wikipedia article [Clone tool](https://en.wikipedia.org/wiki/Clone_tool) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Clone_tool?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
