Scroll to navigation

SEGMENT(1) User Commands SEGMENT(1)

NAME

Segment - segmentation based on signal structure

SYNOPSIS

astsegment [OPTION...] ASTRdata

DESCRIPTION

Segment is part of GNU Astronomy Utilities 0.19. Segment will segment an initially labeled region based on structure with the signal. It will first find true clumps (local maxima), estimate which ones have strong connections, and then grow them to cover the full area of each detection.

For more information, please run any of the following commands. In particular the second contains a very comprehensive explanation of Segment's invocation: expected input(s), output(s), and a full description of all the options.

$ astsegment -P
$ info astsegment
$ info Segment
$ info gnuastro

If you couldn't find your answer in the manual, you can get direct help from experienced Gnuastro users and developers. For more information, please run:

$ info help-gnuastro

Segment options:

Input:
HDU/extension of convolved image in file.
Convolved image file to avoid convolution.
HDU containing detection image.
Filename of detection image (to segment).
HDU containing values (science image).
HDU containing kernel image.
Filename of kernel to convolve with input.
Filename of Sky values image to subtract.
HDU containing Sky value to subtract.
Filename of Sky standard deviation.
HDU containing Sky standard deviation.
STD input is actually variance.
Tessellation (tile grid):
Tile IDs in an image, the size of input.
Fraction of remainder to split last tile.
Interpolation metric (radial, manhattan).
No. of neighbors to use for interpolation.
Only interpolate over the blank tiles.
Sim. to --tilesize, but for larger tiles.

-M, --numchannels=INT[,..] No. of channels in dim.s (FITS order).

Display 1 element/tile, not full input res.
Work (not tile) over channel edges.
Regular tile size on dim.s (FITS order).
Output:
Don't delete output if it exists.
Keep input directory for automatic output.
Finish with true clumps, don't create objects.
Output file name.
Output contains only CLUMPS and/or OBJECTS HDUs.
'txt', 'fits-ascii', 'fits-binary'.
WCS linear matrix of output ('pc' or 'cd').
Segmentation:
Min. fraction of undetected area in tile.
Store segmentation steps in a file.
Save clump S/N values into a file.
S/N Quantile of true sky clumps.
Save grown clumps instead of original.
Multiple of STD to stop growing clumps.
Built internal clumps from minima.
Minimum number for S/N estimation.
Minimum area of clumps for S/N estimation.
Min. S/N for grown clumps as one object.
S/N threshold of true clumps.
Keep clumps with peak touching a river.
Minimum len of useful grown clump rivers.
Operating modes:
-?, --help
give this help list
List all config files and variables read.
BibTeX citation for this program.
Read configuration file STR immediately.
Continue processing after checks.
Do not parse any more configuration files.
Min. bytes to avoid RAM automatically.
Number of CPU threads to use.
Only run if the program version is STR.
Print parameter values to be used and abort.
Don't print mmap'd file's name and size.
Only report errors, remain quiet about steps.
Set default values for this directory and abort.
give a short usage message
Set default values for this user and abort.
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/

REPORTING BUGS

Report bugs to bug-gnuastro@gnu.org.

COPYRIGHT

Copyright © 2015-2022 Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Written/developed by Mohammad Akhlaghi

SEE ALSO

The full documentation for Segment is maintained as a Texinfo manual. If the info and Segment programs are properly installed at your site, the command

info Segment

should give you access to the complete manual.

October 2022 GNU Astronomy Utilities 0.19