X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Aug 2003 12:55 AM by  anon
color animation with IDL
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
01 Aug 2003 12:55 AM
    I have tried to make a movie from my time resolved 2D data by using the XINTERANIMATE routine. Although the colors are quite OK when creating .GIF or .PNG images from the plots, the colors are just turned weird making the movie rather useless when translated into the mpeg format. I have gone through various more obvious possibilities with the tech. help center, but nothing works. (I think it is not a windows or 24-bit problem, since .gif and .png images displayes and reproduces correctly and the same happens if I try it on a UNIX platform.) By creating one-color images, like red-tones or blue-tones, it is recognizable but not good. It seems as the mid-tones are converted to nearly uniform color and occupy more of the total color'space' than before conversion. Hence the darkest and lightest colors occupy less 'space' on the displayed colorbar. Total result is that the color is loosing the nuances and look 'flatter' than the original image. Composed colors are indescribable, making black bands in between, red backgrounds and so on.... My question: Is there ANY possible solution at all out there, or is the mpeg converter in IDL just weird and of no use? Still hopefully, Ashild

    Deleted User



    New Member


    Posts:
    New Member


    --
    01 Aug 2003 12:55 AM
    We were having similar 'washed' out problems. Realizing that IDL will just loop values that are over the 255 value (or under the 0 value), I'm not sure how the mpeg compression would handle those values. If you feed it three channels of data that have been 8-bit converted (just try a min/max histogram adjustment), does it work better?
    You are not authorized to post a reply.