Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_extrema(3)

xil_max(3)

NAME

xil_max − find the larger of pixels in two images

SYNOPSIS

#include <xil/xil.h>

void xil_max (XilImage src1,

XilImage src2,
XilImage dst);

DESCRIPTION

xil_max () performs a pixel-by-pixel max() operation of the src1 and src2 images and stores the result in the dst (destination) image. 

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 

EXAMPLES

Find the larger of image1 and image2 and store the result in dst :

XilImage image1, image2, dst;
xil_max(image1, image2, dst);

NOTES

Source and destination images must be of the same data type and have the same number of bands.  In-place operations are supported. 

SEE ALSO

xil_extrema(3)

SunOS 5.6  —  Last change: 04 March 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026