Man page - pfscut(1)
Packages contas this manual
- pfsintiff(1)
- pfsrotate(1)
- pfsout(1)
- pfsabsolute(1)
- pfsstat(1)
- pfs_automerge(1)
- pfsplotresponse(1)
- pfsouttiff(1)
- pfsdisplayfunction(1)
- pfscat(1)
- pfsinppm(1)
- pfstag(1)
- pfspanoramic(1)
- pfssize(1)
- pfsindcraw(1)
- pfscut(1)
- pfsoctavergb(1)
- pfsinme(1)
- pfsoutrgbe(1)
- pfsoutppm(1)
- pfshdrcalibrate(1)
- pfsouthdrhtml(1)
- dcraw2hdrgen(1)
- pfsinhdrgen(1)
- pfsin(1)
- pfsgamma(1)
- pfsextractchannels(1)
- pfsinpfm(1)
- pfsclamp(1)
- pfsinimgmagick(1)
- pfsretime(1)
- pfsinyuv(1)
- pfsoutyuv(1)
- pfsinrgbe(1)
- pfsinexr(1)
- pfspad(1)
- pfsoctavelum(1)
- pfsoutpfm(1)
- pfsflip(1)
- jpeg2hdrgen(1)
- pfsoutimgmagick(1)
- pfsoutexr(1)
- pfscolortransform(1)
Package: pfstools
apt-get install pfstools
apt-get install pfstools
Manuals in package:
Documentations in package:
Manual
| pfscut(1) | General Commands Manual | pfscut(1) |
NAME
pfscut - Extract a rectangle out of a frame in PFS stream
SYNOPSIS
pfscut [--left <columns>] [--right <columns>] [--top <rows>] [--bottom <rows>] [--width <new_width>] [--height <new_height>] [--help] [x_ul y_ul x_br y_br]
DESCRIPTION
Extract a rectangle out of each frame in PFS stream. You can either specify x and y coordinates of upper left and lower right corner (the coordinates start with 0 and rise in the left-to-right and up-to-botton directions) or give a combination of the options listed below.
OPTIONS
- --left <columns>, -l <columns>
- Number of columns to be cut out from the left edge of an image.
- --right <columns>, -r <columns>
- Number of columns to be cut out from the right edge of an image.
- --top <rows>, -t <rows>
- Number of rows to be cut out from the top edge of an image.
- --bottom <rows>, -b <rows>
- Number of rows to be cut out from the bottom edge of an image.
- --width <new_width>, -W <new_width>
- Width of an output image. Note that --width can be mixed with either --left or --right option.
- --height <new_height>, -H <new_height>
- Height of an output image. Note that --height can be mixed with either --top or --bottom option.
- --help, -h
- Print a list of commandline options.
EXAMPLES
- pfsin image.hdr | pfscut --left 20 --top 5 | pfsout out.hdr
- Cut out 20 columns from the left and 5 rows from the top edge of image.hdr and save frame as out.hdr.
- pfsin image.hdr | pfscut --left 20 --width 400 | pfsout out.hdr
- Cut out 20 columns from the left edge of image.hdr, and create output image 400 pixels in width.
- pfsin image.hdr | pfscut 0 0 511 511 | pfsout out.hdr
- Cut left-upper part of the image of the size 512x512 (note that coordinates start with 0 and 512 is the last row/column that is included in the resulting image).
SEE ALSO
pfsin(1) pfsout(1)
BUGS
Please report bugs and comments to Dorota Zdrojewska <dzdrojewska@wi.ps.pl>.