display

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
Line 8: Line 8:
 
[[Syntax]]: display(object)
 
[[Syntax]]: display(object)
 
   
 
   
The display function passes the specified argument to an external viewer.  The default viewer can be overridden with the DV_VIEWER environment variable.
+
The display function converts the specified argument to a PNG file and passes it to an external viewer.  The default viewer can be overridden with the DV_VIEWER environment variable.
 
|
 
|
 
  dv> a
 
  dv> a

Latest revision as of 13:06, 19 February 2013



Description

Display a color or greyscale image in a new window

Arguments and Return Values

Arguments: A 1 band or 3 band byte array

Return Value: none. The image is opened in a new window

Usage

Syntax: display(object)

The display function converts the specified argument to a PNG file and passes it to an external viewer. The default viewer can be overridden with the DV_VIEWER environment variable.

Examples

dv> a
320x500x3 array of byte, bip format [480,000 bytes]

dv> display(a)
dv>

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left


Recent Core Changes

Modified On: 02-19-2013

Personal tools