Documentation confusion, -filter

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
ridera

Documentation confusion, -filter

Post by ridera »

The word "-filter" causes much confusion when it used to describe the resize algoritm.

A filter is a process to separate a wanted object from unwanted ones.

An algorithm is the process used for an operation, thus the -filter is really an algorithm type.

Ideally, the "filter" name should be an attribute of the resize command. e.g.,,

-resize 'Mitchell' 240x300

I'd suggest at least adding some text to -resize and -filter to clarify this point and certainly spell out that -filter must preceed -resize to work
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

In signal processing applications a filter modifies the harmonic content of signals. So -filter is an appropriate option name.
ridera

Post by ridera »

It can; but not necessarily.

A simple case, and one of the first applications for electronic filters, about 1890, was to extract signals from noise. Had nothing to do with affecting the signal's harmonics. In fact, the filter bandwidth was wide enough so the signal's harmonics were not appreciably removed. Otherwise, the music and voice signals were distored.

Al Rider, EE
Post Reply