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

Home » Public Forums » archive » image cut by a shapefile
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: image cut by a shapefile [message #56362 is a reply to message #56196] Thu, 18 October 2007 02:47 Go to previous message
krastoboy is currently offline  krastoboy
Messages: 8
Registered: October 2007
Junior Member
On 17 Ott, 18:22, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca> wrote:
> krasto...@gmail.com wrote:
>> Thanks Jean.
>> I've tried and it works...but I've got a problem with the new images i
>> made: they seem to be negative (check:www.gurumeditation.it/smallimage.tiff).
>> The problems is reading the tiff: to check this idea I wrote two lines
>
>> Result = READ_TIFF( 'D:\RSI\IDL56\WORKING\image.tif',
>> GEOTIFF=variable)
>> tv, result
>
>> and it gives me the same error.
>> There's something wrong that i don't understand?
>
>> Before I opened the geotiff with envi_open_data_file, got it in a
>> variabile with ENVI_GET_DATA and wrote it with write_tiff using the
>> geotiff keyword.
>
>> lo
>
> I am not sure of what your image **should** look like... it is a byte
> one... Are you sure you are writing it properly (good data type, color
> lookup table etc)?
>
> Jean

I was writing a byte image...btu I was looking for a integer one!
The keyword, /SHORT in the WRITE_TIFF procedure solved eveything!

Thanx Jean
[Message index]
 
Read Message
Read Message
Previous Topic: making polygon on top of image in IDL
Next Topic: Geotiff coor

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

Current Time: Mon Dec 01 23:43:50 PST 2025

Total time taken to generate the page: 1.12368 seconds