EnglishFrenchSpanish

OnWorks favicon

pfsinppm - Online in the Cloud

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

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


pfsinppm - Load images or frames in PBM formats

SYNOPSIS


pfsinppm (<file> [--linear] [--absolute <max_lum>] [--frames <range>] [--skip-missing])
[<file>...]

DESCRIPTION


pfsinppm command loads images in PBM formats (PPM, PNM or PGM) and writes pfs stream to
the standard output. The pfs stream is usually piped to another program for further
processing. To detect the format automatically based on the extension, use pfsin command.
For more information on PBM formats, refer to the NetPBM web page
(http://netpbm.sourceforge.net/).

Note that PPM or PNM images are low dynamic range. Therefore pixel values (0-255) are
scaled to 0-1 before storing them in pfs stream. Similarly, before writing low dynamic
range image from pfs stream, pixel values are multiplied by 255. By default, the
'LUMINANCE' tag is set to 'DISPLAY'. The '--linear' switch can force the inverse sRGB
transformation and provide linear data. In this case the 'LUMINANCE' tag is set to
'RELATIVE'. '--absolute' switch can be used to convert pixels to absolute luminance
values.

To read images from standard input use a single dash '-' instead of filename. The images
are read until EOF is reached.

Each file can contain a %d pattern, which is substituted with frame numbers. The pattern
has the same syntax as C printf command. For example, you can use %04d to make the frame
number four digit with proceedings zeros. See the OPTIONS section below for details.

OPTIONS


--frames <range>
Range is given in mathlab / octave format:

startframe:step:endframe

Frame numbers start with startframe (default 0), are increased by step (default 1)
and stop at endframe You can skip one of those values, for example 1:100 for frames
1,2,...,100 and 0:2: for frame 0,2,4,... up to the last file that exists.

--skip-missing
Skip up to ten frames in a row if corresponding files are missing. Otherwise the
program stops reading sequence at the first file that does not exists. This switch
does not apply to the first frame in a sequence. This switch can be useful if there
is a rendered animation where some of the frame has not been generated.

--linear, -l
Converts pixel values to linear luminance (XYZ), assuming the sRGB color space for
the input image. The maximum pixel value (255,255,255) is mapped to Y=1. LUMINANCE
tag is set to RELATIVE.

--absolute <max_lum>, -a <max_lum>
--absolute converts pixel values to an absolute linear luminance (XYZ), that is the
color space, in which channel Y contains luminance given in cd/m^2. The sRGB color
space is assumed for the input image. The maximum pixel value (255,255,255) is
mapped to Y=<max_lum>. <max_lum> is typically set to 80 [cd/m^2] for a CRT monitor.
LUMINANCE tag is set to ABSOLUTE. --absolute process images almost the same as
--relative, but additionally it scales all pixels by <max_lum>.

EXAMPLES


pfsinppm frame%04d.ppm --frames 0:10 | pfsview

Read frames from files frame0000.ppm, frame0001.ppm, ..., frame0010.ppm and show
them using pfsview.

Use pfsinppm online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad