EnglishFrenchSpanish

OnWorks favicon

pfsgamma - Online in the Cloud

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

This is the command pfsgamma 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


pfsgamma - Apply gamma correction to color or gray-scale images

SYNOPSIS


pfsgamma [--gamma <gamma> | --inverse-gamma <inv-gamma>] [--mul <multiplier>]

DESCRIPTION


Use this command to gamma correct a stream of pfs images. Gamma correction is equivalent
to raising value of R, G and B (or Y for gray-scale images) channels to 1/gamma power.
More information on gamma correction can be found at:

http://www.poynton.com/notes/colour_and_gamma/GammaFAQ.html

This command can work on color images, in which case XYZ channels are transformed to RGB
space, then they are gamma corrected before they are converted back to XYZ. For gray-scale
images (only Y channel and XZ missing) gamma correction is applied only to Y channel.

Data can be multiplied by an optional multiplier before gamma correction.

Note: gamma correction will set the 'LUMINANCE' tag to 'DISPLAY' thus cancelling any sRGB
correction when saving to LDR files (like PPM, TIFF). This will also cause a warning
message when saving to HDR files, because the intensities after gamma correction are not
linearly related to luminance any more.

OPTIONS


--gamma <gamma>, -g <gamma>
Perform gamma correction (input^(1/gamma)). This can be used to convert images from
relative luminance or radiance to pixel values. Default value: 1.0

--inverse-gamma <inv-gamma>, -i <inv-gamma>
Perform inverse gamma correction (input^(gamma)). This can be used to convert
images from pixel values to relative radiance or luminance.

--mul <mul>, -m <mul>
Multiply data by this value before gamma correction. Default value: 1

EXAMPLES


pfsin memorial.hdr | pfsgamma -g 1.8 -m 10 | pfsout memorial_gc.ppm

Multiply memorial image by 10, gamma correct it and save to memorial_gc.ppm.

Use pfsgamma online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad