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

Home » Public Forums » archive » Exporting rasters from ArcMap 9.1 to ENVI 4.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Exporting rasters from ArcMap 9.1 to ENVI 4.0 [message #56195] Tue, 16 October 2007 05:39 Go to next message
Nuno Vilaça is currently offline  Nuno Vilaça
Messages: 10
Registered: October 2007
Junior Member
dear all,

i need to export some raster datasets from arcmap 9.1 to envi 4.0. i
do this by exporting the raser datasets into a tiff format so that
this can be later read by envi.
when i open these tiff images in envi, there is simply a white
background and no data is visible, just plain white. i tried arcmap
9.2 and the results are the same...
can it be a prob with my data??? anyway, i'm just converting a raster
to a tiff, no big deal... my raster is no a perfect square, but it has
some "less ortodox" borders which are visible in envi, but everything
inside the boarders is white, while the outside is black...
anyone with the same prob or with an explanation for this???
i start wondering if it is not a data prob, but my data works
perfectly on arcmap...
cheers!!!
Re: Exporting rasters from ArcMap 9.1 to ENVI 4.0 [message #56337 is a reply to message #56195] Fri, 19 October 2007 05:00 Go to previous messageGo to next message
Nuno Vilaça is currently offline  Nuno Vilaça
Messages: 10
Registered: October 2007
Junior Member
No Message Body
Re: Exporting rasters from ArcMap 9.1 to ENVI 4.0 [message #56352 is a reply to message #56195] Thu, 18 October 2007 08:47 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Nuno Vila�a wrote:
> On Oct 16, 6:38 pm, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
> wrote:
>> Nuno Vila�a wrote:
>>> dear all,
>>> i need to export some raster datasets from arcmap 9.1 to envi 4.0. i
>>> do this by exporting the raser datasets into a tiff format so that
>>> this can be later read by envi.
>>> when i open these tiff images in envi, there is simply a white
>>> background and no data is visible, just plain white. i tried arcmap
>>> 9.2 and the results are the same...
>>> can it be a prob with my data??? anyway, i'm just converting a raster
>>> to a tiff, no big deal... my raster is no a perfect square, but it has
>>> some "less ortodox" borders which are visible in envi, but everything
>>> inside the boarders is white, while the outside is black...
>>> anyone with the same prob or with an explanation for this???
>>> i start wondering if it is not a data prob, but my data works
>>> perfectly on arcmap...
>>> cheers!!!
>> Nuno,
>> When you export your data, make sure the data type is set properly...
>> and it should be the same when you open it in Envi (if I remember well,
>> it asks you for this type of info, the first time you open the image in
>> Envi).
>>
>> Jean- Hide quoted text -
>>
>> - Show quoted text -
>
> hello Jean!
>
> i export my masp as tiff images, and envi recognizes them as being
> tiff, but all tha data appears on white... i did another way of
> calculating those rasters just in case my method had an influence, but
> nthg works...
> and Jean, envi only asks for the coordinate system, and well even if
> don't input a correct one he'll always display the image, but not in
> this case... it's very strange and i haven't been able to solve this
> problem... do you have any idea of what it can be?
> thank you for your answer!
> cheers!
>
> nuno

Check the data type (not the format)... is your image a byte? a float
etc. Make sure that the data type you use when you export your image is
one that can be read by Envi... and make sure Envi knows it!

Jean
Re: Exporting rasters from ArcMap 9.1 to ENVI 4.0 [message #56399 is a reply to message #56195] Tue, 23 October 2007 09:25 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> Jean,
>
> i discovered that if i multiply my images for 100 that envi displays
> them correctly... quite strange... between 0 and 1 he does not display
> them, but between 0 and 100 he does... very weird...

Hi,

then it is just a visualization problem... if you have 255 levels of
grey and ALL your values are between 0 and 1, you will not see much...
so just apply a stretching algorithm when you display it, or define some
color for each class, depending on your data.

ArcGis, by default, stretch your data when you display it (that's why,
if you display 2 DEM, they won't have the same color for the same
elevation value...). Envi does not by default, and it is up to you to do it.

Of course, this is valid only if you expected to have these values
between 0 and 1, otherwise it is another problem!

Jean
Re: Exporting rasters from ArcMap 9.1 to ENVI 4.0 [message #56405 is a reply to message #56352] Tue, 23 October 2007 00:57 Go to previous messageGo to next message
Nuno Vilaça is currently offline  Nuno Vilaça
Messages: 10
Registered: October 2007
Junior Member
No Message Body
Re: Exporting rasters from ArcMap 9.1 to ENVI 4.0 [message #56486 is a reply to message #56399] Fri, 26 October 2007 03:32 Go to previous message
Nuno Vilaça is currently offline  Nuno Vilaça
Messages: 10
Registered: October 2007
Junior Member
On Oct 23, 6:25 pm, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
>> Jean,
>
>> i discovered that if i multiply my images for 100 that envi displays
>> them correctly... quite strange... between 0 and 1 he does not display
>> them, but between 0 and 100 he does... very weird...
>
> Hi,
>
> then it is just a visualization problem... if you have 255 levels of
> grey and ALL your values are between 0 and 1, you will not see much...
> so just apply a stretching algorithm when you display it, or define some
> color for each class, depending on your data.
>
> ArcGis, by default, stretch your data when you display it (that's why,
> if you display 2 DEM, they won't have the same color for the same
> elevation value...). Envi does not by default, and it is up to you to do it.
>
> Of course, this is valid only if you expected to have these values
> between 0 and 1, otherwise it is another problem!
>
> Jean

hi Jean!

i managed to solve the prob!
with band math, i multiply my image for 100 and then i can see
everything as i told you. still, when exporting for the software where
i want to use the images it doesn't work. with these images multiplied
by 100, i use the stretch data tool, i stretch the image from 0 to 200
and save it as a byte and then it works, pretty weird ah???
anyway thankl you for your help!
cheers!

nuno
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: kriging!!!!!!!!!
Next Topic: transform a floating point into byte or integer in envi

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

Current Time: Wed Oct 08 15:56:06 PDT 2025

Total time taken to generate the page: 0.00487 seconds