Previous | Table of Contents | Next

Page 652

_dither3 Dither test, Ordered(4) dither technique, ExportDrawable.
_dither4 Dither test, Ordered(4) dither technique, ExportDrawablePlane.
_dither5 Dither test, Ordered(8) dither technique, ExportDrawable.
_dither6 Dither test, Ordered(8) dither technique, ExportDrawablePlane.
_dither7 Dither test, Default dither technique, ExportDrawable.
_dither8 Dither test, Default dither technique, ExportDrawablePlane.
_logicalmonadic1 through Logical element, photomap and a constant
_logicalmonadic16 of 0 as operands, various operators.
_logicaldyadic1 through Logical element tests, dyadic photomaps as
_logicaldyadic16 operands, various operators.
_logicalmonadicroi1 through Logical element, photomap and constant of
_logicalmonadicroi16 0 operands, various operators, ROIs.
_logicaldyadicroi1 through Logical element, dyadic photomaps as operands, various
_logicaldyadicroi16 operators, ROIs.
_logicalmonadiccplane1 Logical element, photomap and constant of 0 through operands, various operators, Control Planes.
_logicalmonadiccplane16 _logicaldyadiccplane1
Logical element, dyadic photomaps as operands, through various operators, control planes. _logicaldyadiccplane16
_blend1 Blend element test. Monadic source, 0.1 source constant. Alpha constant of 0.5.
_blend2 Blend element test. Dyadic sources. Alpha constant of 0.5.
_blendroi1 Blend test. Monadic source, 0.1 source constant. Alpha constant of 0.5. ROIs.
_blendroi2 Blend element test. Dyadic sources. Alpha constant of 0.5. Uses ROIs.
_blendcplane1 Blend test. Monadic source, 0.1 source constant. Alpha constant of 0.5. control plane.
_blendcplane2 Blend element test. Dyadic sources. Alpha constant of 0.5. control plane.
_blendalpha1 Blend test. Monadic source, 220 source constant. Alpha plane is a photomap.
_blendalpha2 Blend test. Dyadic sources. Alpha plane is a constant 220.
_blendalpharoi1 Blend test. Monadic source, 220 source constant. Alpha plane photomap. ROIs.
_blendalpharoi2 Blend test. Dyadic sources. Alpha plane is a constant 220. ROIs.
_triplepoint1 through Illustrate use of point and standard colormaps
_triplepoint2 for rendering triple band images.
_funnyencode1 through These tests are designed to perform limited exercising of XIE's
_funnyencode8 capability of dealing with various encodings of flo source data. The test init function obtains a photomap using ICP -> EP. A series of independent permanent flo pairs, one of the form IP -> EP, and the other of the basic form IP -> ED, are con-structed. The encoding parameters for the ExportPhotomap (EP) element in the first flo are derived from test configuration. The number of flo pairs created is also dependent upon test

Page 653

configuration. The tests can be configured so that the test init function will constrain the input photomap to a specified number of levels, on a per band basis, so that word-sized and quad-sized pixels are passed through the flos. Some tests below take advantage of this. See tests.c for test configuration, and hints on how to add similar tests.
_point1 through _point3 Simple Point element tests. Drawable destination.
_pointroi1 Simple Point element test that uses ROIs. Drawable destination.
_pointcplane1 Simple Point element test that uses a control plane. Drawable destination.
_pointphoto1 Simple Point element test. Photomap destination.
_pointroiphoto1 Simple Point element test that uses ROIs. Photomap destination.
_pointcplanephoto1 Simple Point element test that uses a control plane. Photomap destination.
_redefine Two flographs are created that are the same in structure, xinetd except for the x and y offsets specified for the ExportDrawable flo elements. The test init function creates a photoflo based upon one of the two flographs. The inner loop of the test function uses XieRedefinePhotoflo() to alternate between each of the flographs. Make sure that your inner loop reps are 2 or greater in order to exercise this test fully (see -reps).
_modify1 Test XieModifyPhotoflo() by adjusting ROI offsets and size.
_modify2 Test XieModifyPhotoflo() by changing the LUT input to a Point element.
_modify3 Test XieModifyPhotoflo() by changing ExportDrawable x and y offsets.
_modify4 This test creates a rather long flo of arithmetic elements, each of which does nothing more than add 1 to a small image. The test init function scales the input photomap. The ExportDrawable x and y offset is modified randomly during each iteration of the test function inner loop.
_modify5 This test creates a rather long flo of arithmetic elements, each of which does nothing more than add 1 to a large image. Each rep, the Geometry and ExportDrawable elements at the end of the flo are modified to crop a small piece of the input into its appropriate place in the larger image.
_rgb1 through _rgb16 These tests all basically take an UncompressedTriple image as input, send it to ConvertFromRGB, which converts the image to some configured colorspace, and then send the converted image on to ConvertToRGB prior to display. The original image is displayed in the left-hand window, and the image that has passed through the flo is shown in the right-hand window. The goal of these test is to show that ConvertFromRGB -> ConvertToRGB is lossless.
_converttoindexpixel ConvertToIndex test, TripleBand BandByPixel.
_converttoindexplane ConvertToIndex test, TripleBand BandByPlane.

Page 654

_convertfromindex The test init function uses a flo containing ConvertToIndex to display an image in the left window. The test function uses this drawable as input to a flo that does ConvertFromIndex -> ConvertToIndex and sends the resulting image to the right window. The result should be lossless.
_complex A somewhat large flo that uses control planes, LUTs, Point, PasteUp, Logical, Constrain, Dither, Geometry, MatchHistogram, BandCombine, and BandSelect elements. See the Postscript file complex.ps for a rendition of the photoflo that is executed.

X DEFAULTS

There are no X defaults used by this program.

SEE ALSO

X(1), x11perf(1), x11perfcomp(1)

BUGS

There should be an IMAGES environment variable to augment the -images option.

Many tests only scratch the surface of possible test cases. Some of the options available for certain flo elements are either inadequately tested, or ignored altogether. There are insufficient tests for bitonal, large pixel, or triple band tests.

Some of the test names are inconsistently cased, for example, -Abort and -dither1.

Some tests are hopelessly slow when run against machines with slow FPUs.

Bitonal images are, for the most part, displayed using the ExportDrawable flo element; however, ExportDrawablePlane would be a better choice.

AUTHOR

Syd Logan (AGE Logic, Inc.)

X Version 11 Release 6

ximtoppm

ximtoppm—Convert an XIM file into a portable pixmap

SYNOPSIS

ximtoppm [ximfile]

DESCRIPTION

Reads an Xim file as input. Produces a portable pixmap as output. The Xim toolkit is included in the contrib tree of the X.V11R4 release.

SEE ALSO

ppm(5)

AUTHOR

Copyright (c) 1991 by Jef Poskanzer.

25 March 1990

Previous | Table of Contents | Next

1