<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998) originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Specifying Sub-Image</TITLE> <META NAME="description" CONTENT="Specifying Sub-Image"> <META NAME="keywords" CONTENT="vol1"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <LINK REL="STYLESHEET" HREF="vol1.css"> <LINK REL="previous" HREF="node29.html"> <LINK REL="up" HREF="node25.html"> <LINK REL="next" HREF="node31.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html858" HREF="node31.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html854" HREF="node25.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html850" HREF="node29.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html856" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html857" HREF="node216.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="icons.gif/index_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html859" HREF="node31.html">Command Syntax</A> <B> Up:</B> <A NAME="tex2html855" HREF="node25.html">MIDAS Data Structures</A> <B> Previous:</B> <A NAME="tex2html851" HREF="node29.html">Specifying Pixels in an</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00635000000000000000"> </A><A NAME="1571"> </A> <BR> Specifying Sub-Image </H2> <P> In all MIDAS commands which accept images as parameters you can also provide subimages in the syntax specified above. <BR> For example, the command <TT>LOAD/IMAGE</TT> loads an image into the MIDAS display (window). Then, <BR> <TT>Midas 567> LOAD/IMAGE mygalaxy</TT> <BR> would try to display the whole 2-dim image <I>mygalaxy.bdf</I>, whereas <BR> <TT>Midas 568> LOAD/IMAGE mygalaxy[@100,@200:@199,@299]</TT> <BR> would only load a 100x100 subimage of <I>mygalaxy.bdf</I> beginning at the 100th x-pixel and 200th y-pixel. <P> <BR><HR> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-09</I> </ADDRESS> </BODY> </HTML>