Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: imageevaluator - Constructor Up: simulator - Module Previous: simulator.setseed - Function


imageevaluator - Tool



Package synthesis
Module simulator


Postscript file available

Tool for evaluating simulated images
include "imageevaluator.g"



Description

imageevaluator provides a set of simple tools for evaluating the quality of a simulated image. Some functions, such as dynamicrange, need no truth image and can be run on images made from real data. Other functions, such as fidelity, require a truth image and can be used to compare a reconstructed image to the model from which the data were simulated.



Example
The following example shows one way to use the imageevaluator tool:

include 'imageevaluator.g'
#
# construct an imageevaluator tool
#
ime := imageevaluator('TEST.IMAGE');
#
# make a region which contains off-source pixels
#
r := drm.box(blc="1 1 1", trc="30 30 1")
#
# calculate dynamic range
#
ime.dynamicrange(r);
#
#  calculate image fidelity, ignoring truth pixels below 0.01
#
truthmin := 0.01;
ime.fidelity('TRUTH.IMAGE', truthmin);
#
ime.done();
#

Constructors
imageevaluator Construct an imageevaluator tool
Functions
done Finishes up the imageevaluator tool
dynamicrange Calculate image dynamic range
fidelity Calculate the median image fidelity




next up previous contents index
Next: imageevaluator - Constructor Up: simulator - Module Previous: simulator.setseed - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15