Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

xil_absolute(3)

NAME

xil_absolute − find the absolute value of pixels of an image

SYNOPSIS

#include <xil/xil.h>

void xil_absolute (XilImage src,

XilImage dst);

DESCRIPTION

xil_absolute () performs a pixel-by-pixel abs() operation on src image 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 absolute value of pixels in image1 and store the result in dst :

XilImage image1, dst;
xil_absolute(image1, 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. 

SunOS 5.6  —  Last change: 04 March 1994

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