EnglishFrenchSpanish

OnWorks favicon

ra_xyze - Online in the Cloud

Run ra_xyze in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ra_xyze that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ra_xyze - convert between RADIANCE RGBE and XYZE formats

SYNOPSIS


ra_xyze [ -r ][ -e exposure ][ -o ][ -c | -u ][ -p xr yr xg yg xb yb xw yw ] [ input [
output ] ]

DESCRIPTION


Ra_xyze converts between RADIANCE RGBE (red,green,blue,exponent) and XYZE (CIE
X,Y,Z,exponent) formats. The -e option specifies an exposure compensation, which may be
given as a decimal multiplier or in f-stops (powers of two). The -o option may be used to
specify original units, to which the exposure compensation is applied. Otherwise, the
multiplier is in addition to any previous exposure adjustment. By default, ra_xyze
produces a flat XYZE RADIANCE picture file from any type of RADIANCE input picture. To
override these defaults, the -c option may be used to specify run-length encoded output,
or the -u option may be used to specify a flat output.

The -r option causes ra_xyze to produce a run-length encoded RGBE file instead, unless -u
is given, also, when it will produce a flat RGBE file. The -p option may be used to
override the standard RADIANCE RGB primary colors to tailor the image for a particular
output device or representation. The eight floating-point arguments to this option are
the 1931 CIE (x,y) chromaticity coordinates of the three RGB primaries plus the white
point, in that order. The new primaries will be recorded in the header of the output
file, so that the original information may be fully recovered later. It is not necessary
that the input file be in XYZE format. Th -r option may therefore be used to convert from
one RGB primary representation to another using the -p option.

If the output file is missing, the standard output is used. If the input file is missing
as well, the standard input is used.

NOTES


The CIE standard used is the 1931 2-degree observer, and the correct output representation
relies on the original RADIANCE input description being defined properly in terms of the
standard RADIANCE RGB primaries, whose CIE (x,y) chromaticity values are defined in the
header file in src/common/color.h. In this same file is a standard for the luminous
efficacy of white light (WHTEFFICACY), which is used as a conversion between lumens and
watts throughout RADIANCE. This same factor is applied by ra_xyze when converting between
the radiometric units of the RGBE format and the photometric units of the XYZE format.
The purpose of this factor is to ensure that the Y component of the CIE representation is
luminance in units of candelas/meter^2.

Most of the RADIANCE picture filters should work uniformly on either RGBE or XYZE files,
so it is not necessary to convert back to RGBE format except for conversion or display, in
which case the correct primaries for the chosen output device should be specified with the
-p option if they are known.

EXAMPLES


To convert RGBE output from rpict(1) into run-length encoded XYZE format:

rpict [options] scene.oct | ra_xyze -c > scene_xyz.hdr

To prepare a RADIANCE picture for display on a calibrated NTSC monitor:

ra_xyze -r -p .670 .330 .210 .710 .140 .080 .333 .333 stand.hdr ntsc.hdr

Use ra_xyze online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad