SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Mandrake Other XITE-3.3-3.i386.rpm

MBKNN

Section: C Library Functions (3)
Updated: 16 Mar 1998
Index

 

NAME

mbknn - multi band k nearest neighbour noise removal

 

SYNTAX


 #include <xite/knn.h>


 int mbknn( IMAGE i1, IMAGE i2, int n, int k );

 

DESCRIPTION

mbknnperforms multi band knearest neighbournoise removal. All bands are filteredsimultaneously. Window size nx n,max 31.If nis even, n+1 is used. kis the number ofneighbours to average over.

Euclidian distance is used as distance measure.

 

RESTRICTIONS

The bands of i1and i2must have pixel type unsigned byte.All bands in both images must have equal size.

 

RETURN VALUE


 0 => ok
 1 => bad input pixel type
 2 => bad output pixel type
 3 => bad n value (less than 1 or greater than 31)
 4 => bad k value (less than 1 or g.t. n*n-1)
 5 => different number of bands in i1 and i2.

 

SEE ALSO

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

 

AUTHOR

Tor Lønnestad, BLAB, Ifi, UiO

 

ID

$Id: mbknn.c,v 1.22 1997/01/10 16:03:53 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
RESTRICTIONS
RETURN VALUE
SEE ALSO
AUTHOR
ID

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector