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.54 - Shave

Quick Reference to Scripting Command
a=SHAVE(severity, DIRECTION[0-2])
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].


Operation Example

The Shave operation allows you to remove noise and artifacts from images. This can range from single pixels to entire chunks of pixels. This process is a decision based removal system. This means that the pixels are eliminated based on the number of similar pixels in the group, and the colors of each pixel in the group. You can control the Severity of the removal. This severity can range from pixel or dither removal to a very harsh low pass filter. The severity control is analogous to a group of razors which range from dull to sharp. A low severity (dull razor) will shave fewer pixels from the image, and a high severity (sharp razor) will shave more pixels from the image.


Shave Operation Dialog

16.54.1 - Shave Controls

16.54.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.54.1.2 - Severity

The Severity control allows you to remove pixels or groups of pixels based on its setting. The control ranges from a setting of 1 (lowest severity) to 16 (highest severity). A setting of 1 will result in a remove isolated pixel operation. This will examine all of the pixels in the selected area, and remove any pixels that are not the same as any of its surrounding pixels. Increasing the severity will decrease the requirements for removal, thus more pixels or pixel groups will be removed. Once a pixel is removed, it will be replaced with an average of its surrounding colors. The severity setting is a good method for removing excessive dither in an image. A setting of 16 would act like a severe low pass filter. This means that areas in the selected region would become blurred as pixels or groups of pixels are removed and replaced with a color average. This control is set using the slide gadget, or by entering an appropriate value in the text entry field to the right.

16.54.1.3 - Direction

The Direction control allows you to select the direction in which image element (pixels, chunks, lines, etc.) are removed or replaced in the image area selection. The direction can be set to replace/remove horizontally, vertically, or in all directions. The direction is set by clicking on the desired radio button, and then applying the effect to an area selection.

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 131