This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

16.46 - Remove

Quick Reference to Scripting Command
a=REMOVE(samples)
Items in CAPS are 0/1 or ranges with more options than just 0/1.
Ranges other than 0/1 are indicated by brackets, such as [0-2].

The Remove operation allows you to remove a feature from an image, and then replace it with a colored region that is developed by examining the colors surrounding the area selection. For example, you could use this operation to remove a bird from the sky, or a ship from the ocean.

The general rule for removal is that if the object is not attached to another object, it can be completely removed. If it is partially attached, the larger the area of interception between the object to be removed and the object it is attached to, the less successful the removal operation will be.


Original Image

Area to be removed

Result

Once the object has been selected, F/x will remove the object, and then fill that region with colors it generates by examining the background around the edge of the area selection. You can control the number of samples around the edge of the area selection by increasing or decreasing the Samples amount. Increasing the samples will increase the quality of the removal, but it will also increase the computational time needed to complete the operation.


Original Image

Some Artifacts removed
In this example, we use part of an image of a child riding a horse that has some extremely difficult problems. Not only does this section of the photograph contain torn surfaces, but it also is covered with "crazing" artifacts. You can see that the remove feature not only was able to remove the tears, it did not pick up the crazing and introduce it into the repairs, even though the crazing does intercept the edge of the areas we worked on - the shoe and the major rips.

Finally, with considerable attention to detail, the image has been significantly improved using Remove. Each crazing instance was carefully outlined and eliminated using Remove. In the course of this series of operations, some of the grass texture underneath the horse was lost, which we then re-built using a clip of the grass where the texture remained, and the Apply Canvas operator.

This operation is well suited for use with any area manual area select; it won't work with Entire Image. the idea is simply to surround the pixels to be removed.


Remove Operation Dialog

16.46.1 - Remove Controls

16.46.1.1 - Trends

Operator dialog controls that have a Trend button next to them offer animation functionality. Trend allows you to set that variable over a set of frames. Each frame of the animation can be thought of as a slice of time. The trends allow you to alter some, all, or none of the variables for a particular time slice. Variables that have multiple states can be set to any of a number of values in the trend. Variables that are either on or off can only have an on or off value in the trend. You will notice that the trend graphs have equidistantly spaced vertical lines. Each of these lines represents a frame in the animation. The number of frames can be altered using Sequence controls... in the TimeLine pull down menu. Animation lengths of 100 - 999 frames will be represented with a vertical bar being 10 frames, and animation length greater than 1000 frames will have a vertical bar for every 100 frames. Click here to view more information on Trends.

16.46.1.2 - Samples

The Samples control is used to specify the number of points that the remove feature will draw color from. The number of samples specified relates directly to the quality of the remove feature. Increasing the samples will also increase the computational time needed to complete the operation. The sample can range between 0 (no effect) to 50 (maximum number of samples). The sample will draw color from the edge of the area select towards a central location to effectively "remove" the object specified by the area selection. This option can be set with the slide gadget, or by entering the value in the provided text entry field.

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 123