On 8/31/10 10:35 PM, P Kishor wrote:
> So, now that I have my images at least being created with wpic, I am
> still facing problems with getting correct colors in with LUT.
>
> With the help of ngood(), I know that my $pdl has 6766 good values. I
> printed out the unique values, and I have 28 unique good values (btw,
> is there a PDL method that returns the unique values in a piddle?
> Kinda like ngoodover() and ngood(), but instead of the number of good
> values, returns the actual good values?).
>

It's called uniq

http://pdl.perl.org/PDLdocs/Primitive.html#uniq

I strongly suggest familiarising yourself with PDL::Primitive and 
PDL::Slice for this sort of work.

Doug


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

Reply via email to