← 返回命令列表

Linux command

sbigtopgm 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Convert an SBIG image

sbigtopgm [image.sbig] > [image.pgm]

Read from stdin

cat [image.sbig] | sbigtopgm > [image.pgm]

Convert and stretch contrast

sbigtopgm [image.sbig] | pnmnorm > [stretched.pgm]

Convert and encode

sbigtopgm [image.sbig] | pnmtopng > [image.png]

说明

sbigtopgm reads an astronomical CCD image in the native SBIG (Santa Barbara Instrument Group) Type 3 file format and writes the pixel values out as a PGM (portable graymap) image on standard output. When no filename is given, the program reads from standard input. The SBIG Type 3 format is produced by the CCDOPS software bundled with SBIG ST-series CCD cameras. It consists of an ASCII header (with flexible capitalization and tolerant line endings) followed by a 16-bit grayscale pixel array. sbigtopgm preserves the full 16-bit precision of the source, so the output PGM has a maxval matching the original ADU range. Part of the Netpbm toolkit.

FAQ

What is the sbigtopgm command used for?

sbigtopgm reads an astronomical CCD image in the native SBIG (Santa Barbara Instrument Group) Type 3 file format and writes the pixel values out as a PGM (portable graymap) image on standard output. When no filename is given, the program reads from standard input. The SBIG Type 3 format is produced by the CCDOPS software bundled with SBIG ST-series CCD cameras. It consists of an ASCII header (with flexible capitalization and tolerant line endings) followed by a 16-bit grayscale pixel array. sbigtopgm preserves the full 16-bit precision of the source, so the output PGM has a maxval matching the original ADU range. Part of the Netpbm toolkit.

How do I run a basic sbigtopgm example?

Run `sbigtopgm [image.sbig] > [image.pgm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more sbigtopgm examples?

This page includes 4 examples for sbigtopgm, plus related commands for nearby Linux tasks.