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

Home » Public Forums » archive » color value interpolation from colorbar
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: color value interpolation from colorbar [message #64208 is a reply to message #64128] Fri, 05 December 2008 07:50 Go to previous messageGo to previous message
j.coenia@gmail.com is currently offline  j.coenia@gmail.com
Messages: 36
Registered: December 2008
Member
I fixed the RGB plot and uploaded it to Picasa:

http://picasaweb.google.com/j.coenia/ColorInterpolation?auth key=H9iPrIqxX1c#

I will look into how the images were made. The colors were
automatically overlaid on the images by the scanning equipment. Maybe
I will have to contact the manufacturers.

Someone has given me a brute force HSV color matching function. There
is no curve fitting involved, but it seems promising. The text below
is from the header notes:

; The input colors (sampled from the colorbar) are broken into blocks
every n colors, and
; the extremes of H, S, and V are used to define a cube. All
possible HSV-tuples
; within the cube are selected that correspond to possible colors in
RGB space, which can
; optionally be reduced by a compression factor. The function
returns a 3xn array of
; rgb triples corresponding to the INTERPOLATED colors in the reduced
rgb colorspace
; (num of colors = (256/compression)^3 ).

I'll post the results from this function soon, and I'll try to
implement Peter's more elegant approach (next week?).

Thanks again.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ITTVIS code contribution site
Next Topic: independent idlhelp on Mac

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

Current Time: Wed Oct 08 17:33:25 PDT 2025

Total time taken to generate the page: 0.00519 seconds