Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/ciao/ahelp/dmimgdist.html
Jump to: Description · Example · Parameters · Bugs · See Also


AHELP for CIAO 4.9

dmimgdist

Context: tools

Synopsis

Computes the distance transform of image

Syntax

dmimgdist  infile outfile [tolerance] [clobber] [verbose]

Description

`dmimgdist' finds how far away each pixel is away from the border; where 'the border' is determined from the actual image boundary, any NULL/NaN values , or values less-than or equalto the tolerance value.

Example

dmimgdist img.fits dist.fits tol=0

computes the distance from the edge of the image, any null/nan pixels, and pixels below or equal to 0.

Parameters

name type ftype def min max reqd
infile file input       yes
outfile file output       yes
tolerance real          
clobber boolean   no      
verbose integer   0 0 5  

Detailed Parameter Descriptions

Parameter=infile (file required filetype=input)

Input image

Parameter=outfile (file required filetype=output)

Output image

The image represents the distance to the edge

Parameter=tolerance (real)

Value below which to consider background

the distance to pixels above this tolerance are computed

Parameter=clobber (boolean default=no)

Remove output if it exists?

Used to specify whether or not to clobber existing file that has the same name as the specified output file

Parameter=verbose (integer default=0 min=0 max=5)

The tool chatter level

Verbose can be from 0 to 5, generating different amounts of debugging output.

Bugs

There are no known bugs for this tool.

See Also

concept
subspace
dm
dmfiltering, dmregions
tools
dither_region, dmappend, dmcontour, dmellipse, dmfilth, dmgroupreg, dmimg2jpg, dmimgadapt, dmimgblob, dmimgcalc, dmimgfilt, dmimghist, dmimghull, dmimglasso, dmimgpick, dmimgpm, dmimgproject, dmimgreproject, dmimgthresh, dmmakereg, dmmaskbin, dmmaskfill, dmnautilus, dmregrid, dmregrid2, dmstat, evalpos, get_src_region, imgmoment, mean_energy_map, mkbgreg, mksubbgreg, pileup_map, roi, splitroi, tg_create_mask

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.