kncn

[ XITE Reference Manual | XITE home ]

Name

kncn - k nearest connected neighbour noise reduction

Syntax

kncn <inimage> <outimage> <k>

Description

Perform k-Nearest Connected Neighbour filtering for noise removal, averaging over the center pixel and k connected neighbours. All bands in the image are filtered, one band at a time.

Small k => small effect, large k => large effect.

Restrictions

Only input bands with pixel type unsigned byte and unsigned short are processed.

Reference

 T. Lønnestad: "Connected Filters for Noise Removal"
 Proc. of 9. ICPR, Rome, 1988, 848-850.

See also

kncn(3), mbkncn(1), knn(1), mbknn(1)

Author

Tor Lønnestad, BLAB, Ifi, UiO

Examples

kncn mona.img monasmooth.img 8

Id

$Id: kncn.c,v 1.25 1997/01/10 16:04:24 svein Exp $