comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » pointers in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
pointers in IDL [message #8813] Mon, 28 April 1997 00:00 Go to previous message
Christian Oehreneder  is currently offline  Christian Oehreneder
Messages: 6
Registered: September 1995
Junior Member
Dear colleagues!

I need help on the following problem:

My application uses a not a priori known number of images with different
sizes, which I want to access easily and flexible, preferrably by
writing img_i = img(i) or something similar. Because of the different
sizes of the images this is not easily done in IDL.
In common programming lanuages it would be natural to have an array of
pointers to each of the images.
So far I have not found a possibilty to do this in IDL. Handles are nice
but they do not allow to have two pointers on the same data. The effect
is that once you take the value of a handle (without copying it of
course !!) the handle itself contains an undefined value. It is not
possible to have a list of images and pass them to some manipulation
routines by pointer, e.g. multiplying all images by a factor of 2. Of
course it is possible to take the value form the handle, multiply it and
set it as value of the handle, but that's rather cumbersome.

Has anyone an idea how to work arround this??

Thanks in advance

Christian Oehreneder
************************************************************ ************
Christian Oehreneder

Institute for Photogrammetry and Remote Sensing
Technical University Vienna

TU Wien, Institut 122 Tel.: +43 1 58801-3730
Gusshausstrasse 27-29 FAX: +43 1 5056268
A-1040 Wien Email: co@ipf.tuwien.ac.at
AUSTRIA ((coehrene@fbgeo1.tuwien.ac.at))
************************************************************ ************
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Realizing a widget only once
Next Topic: reading pixels from images from automated XYpositions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:44:54 PDT 2025

Total time taken to generate the page: 0.00362 seconds