P Kishor wrote:
>
> Ok. I filed it in the sf bug tracker, but
> basically it is the same info as noted above.
> Nothing more.
> ..

Oh, I see.  I thought the problem was in PDL.  It looks
like it is an issue with search.cpan.org indexing and auto
display for module documentation.

> >> 4. Finally, my question re. using PDL::IO::GD. I
> >>    have a PDL constructed out of a query from a db. It
> >>    looks like so $a = [[$var,$x,$y],[$var,$x,$y] ..];
> >>    I want to create a lookup table based on the
> >>    values of $var...
> >
> > There was a previous discussion on pdl-porters
> > about making a LUT for image display. See the
> > thread at
> > 
> > http://mailman.jach.hawaii.edu/pipermail/pdl-porters/2006-December/000643.html
>
> Thanks for that link. It is very useful, but it is
> further down the road for me. I am still at the "how
> do I make an image from a collection of x,y values"
> stage.

So basically, you have something like a set of function
values at a set of points:

  { $var($x($i),$y($i)) for all $i }
  
so you need to interpolate the $var values into a dense
set of pixels.  I did a quick ??interp from the perldl
shell and got a bunch of candidate interpolation methods.
The PDL::Func stuff seemed particularly apropos for this
application.

When I try to solve a problem like this, I find that
it helps to do a small ("paper and pencil") implementation
in the perldl shell.  Once I get that working, then I edit
a copy of the .perldl_hist commands used to produce the
desired routine.

Good luck,
Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to