NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
A new programming metaphor for image processing proceduresMost image processing systems, besides an Application Program Interface (API) which lets users write their own image processing programs, also feature a higher level of programmability. Traditionally, this is a command or macro language, which can be used to build large procedures (scripts) out of simple programs or commands. This approach, a legacy of the teletypewriter has serious drawbacks. A command language is clumsy when (and if! it attempts to utilize the capabilities of a multitasking or multiprocessor environment, it is but adequate for real-time data acquisition and processing, it has a fairly steep learning curve, and the user interface is very inefficient,. especially when compared to a graphical user interface (GUI) that systems running under Xll or Windows should otherwise be able to provide. ll these difficulties stem from one basic problem: a command language is not a natural metaphor for an image processing procedure. A more natural metaphor - an image processing factory is described in detail. A factory is a set of programs (applications) that execute separate operations on images, connected by pipes that carry data (images and parameters) between them. The programs function concurrently, processing images as they arrive along pipes, and querying the user for whatever other input they need. From the user's point of view, programming (constructing) factories is a lot like playing with LEGO blocks - much more intuitive than writing scripts. Focus is on some of the difficulties of implementing factory support, most notably the design of an appropriate API. It also shows that factories retain all the functionality of a command language (including loops and conditional branches), while suffering from none of the drawbacks outlined above. Other benefits of factory programming include self-tuning factories and the process of encapsulation, which lets a factory take the shape of a standard application both from the system and the user's point of view, and thus be used as a component of other factories. A bare-bones prototype of factory programming was implemented under the PcIPS image processing system, and a complete version (on a multitasking platform) is under development.
Document ID
19940018058
Acquisition Source
Legacy CDMS
Document Type
Conference Paper
Authors
Smirnov, O. M.
(Academy of Sciences (USSR) Moscow, Ussr)
Piskunov, N. E.
(Helsinki Univ. Finland)
Date Acquired
September 6, 2013
Publication Date
January 1, 1992
Publication Information
Publication: NASA, Washington, Second Annual Conference on Astronomical Data Analysis Software and Systems. Abstracts
Subject Category
Computer Programming And Software
Accession Number
94N22531
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available