SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

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

THRESHOLD

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

 

NAME

threshold, thresholdSpOut - threshold a band with specifiedthreshold

 

SYNTAX


 #include <xite/threshold.h>


 int threshold( IBAND b1, IBAND b2, int t );


 int thresholdSpOut( IBAND b1, IBAND b2, int t,
    int lpv, int hpv );

 

DESCRIPTION

thresholdand thresholdSpOutthresholds b1intob2with threshold t.


 if (b1[x,y] LE t) b2[x,y] = lpv; else b2[x,y] = hpv;

thresholduses 0 for low pixel value (lpv)and 255for high pixel value (hpv),while thresholdSpOutuses the supplied arguments.Only largest common rectangle of b1and b2is thresholded. Accepts only UNS_BYTE pixles.Identical in- and out- parameters are legal.<lpv> and <hpv> should be in 1..255.

 

RETURN VALUE


 0 => ok
 1 => Bad input pixel type
 2 => Bad output pixel type
 3 => Bad lpv value (only thresholdSpOut)
 4 => Bad hpv value (only thresholdSpOut)

 

AUTHOR

Tor L|nnestad, BLAB, IfI, UiO

 

ID

$Id: threshold.c,v 1.26 1996/11/08 14:06:13 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
RETURN VALUE
AUTHOR
ID

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