display question [message #11220] |
Fri, 06 March 1998 00:00 |
nospam
Messages: 21 Registered: November 1997
|
Junior Member |
|
|
I have a sensor to calibrate in which the pixels are not laid out in a
simple grid. I can construct an array that gives the X-Y coordinates
(relative to some point on the focal plane) of the centers of each
pixel, and I know the shape of each pixel. When taking calibration
data from the sensor, I'll have an array that gives the intensity that
each pixel is measuring. What I would like to do is make a display
that shows a little box for each pixel, of the right size, in the
right location with the measured intensity, and then be able to zoom
in using the mouse cursor to select a box.
I can probably get something to work by using convert_coord to get the
device coordinates of each pixel corner, then constructing an array of
the appropriate number of pixels, and using tv to display. But, there
are over 15,000 pixels, and I fear that this will be much too slow.
Are there any better ways to display a bunch of little boxes each with
its own color at its own specified data coordinates?
Thanks for any help!
scott
--
Scott Stuart
stuart at ll mit edu
|
|
|