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

Home » Public Forums » archive » SetPixelData Error
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: SetPixelData Error [message #56179 is a reply to message #56114] Thu, 04 October 2007 15:58 Go to previous message
Robbie is currently offline  Robbie
Messages: 165
Registered: February 2006
Senior Member
I'm guessing that you have specified an impossible image
representation based on the pixel data you are setting. Try using
SetPixelData without so many keywords.

oImg -> SetPixelData, reform(image[*,*,i],imsize[1],imsize[2]),
PHOTOMETRIC_INTERPRETATION = 'MONOCHROME2',
SAMPLES_PER_PIXEL = 1, PIXEL_REPRESENTATION = 0, COLUMNS =
imsize[1],
ROWS = imsize[2]

Robbie
http://www.barnett.id.au/idl/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: David's TVSCALE
Next Topic: IDL Help with Reading EOS-HDF Files

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

Current Time: Fri Oct 10 14:14:00 PDT 2025

Total time taken to generate the page: 0.16123 seconds