| Re: image cut by a shapefile [message #56362 is a reply to message #56196] |
Thu, 18 October 2007 02:47  |
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
|
|
|
|