overlay_circle.pl - overlay circle(s) on an image with optional ids
version 0.1
overlay_circle.pl -inimage <INIMAGE> -outimage <OUTIMAGE> [options]
- -in[image] [=] <INIMAGE>
-
Specify input image name
- -out[image] [=] <OUTIMAGE>
-
Specify output image name
- -in[format] [=] <informat>
-
Specify input image format. Default jpg
- -out[format] [=] <outformat>
-
Specify output image format. Default jpg
Des NOT change the output image extension automagically
- -coords [=] <COORDS>
-
Specify file name with coordinates
- -separator [=] <separator>
-
Specify column separator for coordinate file
Use '\s+' for whitespace
- -ra [=] <ra> [number]
-
RA. Used only if inimage is fits.
- -[dec] [=] <dec> [number]
-
Dec. Used only if inimage is fits.
- -x[cen] [=] <xcen> [number]
-
X Position. Defaults to the center.
At the edge if out of range provided.
- -y[cen] [=] <ycen> [number]
-
Y Position. Defaults to the center.
At the edge if out of range provided.
- -xcol [=] <xcol> [integer]
-
Xcol in input coords file. Default is 0
- -ycol [=] <ycol> [integer]
-
Ycol in input coords file. Default is 1
- -autoid [=] <autoid> [integer]
-
number the ids consecutively starting from startid
startid defaults to 0. autoid is 0 (off) by default
- -startid [=] <startid> [integer]
-
If autoid is on, the starting pointing of id numbering.
Defaults to 0.
- -idcol [=] <idcol> [integer]
-
idcol in input coords file. Default is 2
- -nocen [=] <nocen> [number]
-
Whether there should NOT be a circle in the center. Default 0.
i.e. yes, there should be. ID is zero by default
- -id [=] <id> [string]
-
ID of the object. Defaults to 0.
- -p[ointsize] [=] <pointsize> [integer]
-
Pointsize for font of id. default 20. 0 won't print the id.
- -w[idth] [=] <width> [number]
-
Width of circle
- -v
- --verbose
-
Print all warnings
- --version
- --usage
- --help
- --man
-
Print the usual program information
Ashish Mahabal <aam@astro.caltech.edu>
There are undoubtedly serious bugs lurking somewhere in this code.
Bug reports and other feedback are most welcome.
Copyright (c) 2007, Ashish Mahabal. All Rights Reserved.
This module is free software. It may be used, redistributed
and/or modified under the terms of the Perl Artistic License
(see http://www.perl.com/perl/misc/Artistic.html)