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

XSLICE

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

 

NAME

xslice, colorbar_image, colorbar_widget - Mix image colorsin a palette

 

SYNTAX


 #include <xite/Xslice.h>


 void xslice( Widget wid, IMAGE image,
    Colormap map, int planes );


 IMAGE colorbar_image( long xsize, long ysize,
    long low, long high, Visual *visual,
    char *title );


 Widget colorbar_widget( Widget parent,
    char *resource_name,
    char *shell_resource_name, int colortab,
    long xsize, long ysize, long low, long high,
    Visual *visual, int depth, char *title,
    image_callbacks *callbacks );

 

DESCRIPTION

xslicemakes a piecewise constant lookup table (LUT) ofpseudocolors. Colors may be mixed in a palette by specifyingrgb or ihs values.

colorbar_imagereturns a BIFF image where each rowcontains pixel values from lowto high,linearlyincreasing. The image size is determined by xsize(horizontal) and ysize(vertical). The image is one-bandif the class of visualis PseudoColor, otherwise it isthree-band. If lowequals high,the default values 0and 255 are used for lowand highrespectively.

colorbar_widgetreturns a colorbar widget. colortabis an index into the list of available colortables for theimages (shown by the "Colors" menu in an image). With anegative value for colortab,a default value equal to thelast colortable in the "Colors" menu will be used.

 

BUTTONS

Send colortable to xshow
Send LUT back to xshow

Send colortable to file
Save LUT in a file

Load original colortable
Load the colortable which the corresponding image used whenthe slice application was started

Load colortable from file
Read LUT from file

Set patch in color range
Select a color index-range to fill with the color in thepalette

 

ACTIONS

The following actions may be invoked in the colorfield inthe bottom of the slice window.

<Btn1Down>
Fill LUT and colorfield at cursor position with the palettecolor. This will most likely influence the image.

<Btn2Down>
Set the palette color equal to the LUT value at the cursorposition. This will influence the color palette.

<Btn3Down>
Replace a constant part of LUT values at the cursor positionwith the palette color.

Drag <Btn>
Same as <Btn1Down>

 

SEE ALSO

xshow(1)

 

AUTHOR

Otto Milvang

 

REVISED

Svein Bøe

 

DOC

Svein Bøe

 

ID

$Id: Xslice.c,v 1.68 1997/06/02 11:17:53 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
BUTTONS
ACTIONS
SEE ALSO
AUTHOR
REVISED
DOC
ID

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