RegisterLogin       English (United States)  Español (España) Français (France)  Italiano (Italia) 日本語 (日本)     Search

     User Forums

 

Stay Connected

Your ENVI and IDL user communities provide a wealth of information. From industry specific threads to code suggestions and application examples, these forums will inspire ideas, answer questions, and keep you connected with the community.

Note: .Login is required to participate in a forum.

 
  Forum  ENVI  ENVI  How to Geoference Images
Previous Previous
 
Next Next
New Post 2/3/2010 1:31 PM
Unresolved
  bexica
2 posts
No Ranking


How to Geoference Images 

Okay, straight to the point: I need help georeferencing an image in ENVI. I've read in binary level one data from polarimetric data (PARASOL- http://polder.cnes.fr/en/index.htm) using IDL then imported to memory using Envi_Enter_Data. Check and done. I'm completely lost on georeferencing however. I have latitude and longitude for each image pixel but none of the background pixels. The data manual also said the data came from a sinusoidal equal area projection ( http://polder.cnes.fr/downloads/docs/POLDER2_Level-1.pdf). I've used Geo_Points of the four data corners (not image corners as they were background pixels) with Envi_Enter_Data but the image is still upside down and it says the lat/lon is "pseudo." What do I need to do?

 

 
New Post 2/4/2010 7:20 AM
  whammer
116 posts
10th Level Poster




Re: How to Geoference Images 

Entering the coordinates for the four corners in the header of the image doesn't truly georeference an image in ENVI.  If there is no other map projection information in the header, ENVI will use the corner coordinates to estimate the locations of all of the pixels on the earth, but it's a pretty approximate calculation.  So, ENVI calls this a *pseudo* projection. 

It sounds like your image is in a true projection already, though.  So you should not need to warp it to get it georeferenced.  You just need to figure out the parameters of the projection that it is already in, and enter those into ENVI, then provide the map coordinates for one pixel into the header.  Here are the steps:

1.  Set up the projection for your image in ENVI using Map > Customize Map Projections.  It looks like you will want to set the projection type to Sinusoidal.  Then you will also need to enter any false easting or northing that the projection uses, and the longitude of the central meridian for the projection.  From the URL you sent, it looks to me like the central meridian will be 0.  I didn't see any mention of false easting and northing, so those must be 0 as well.  You will also want to specify the datum, but I didn't see any datum info at the URL.  It's possible that the data don't use a datum.  Give your projection a name, and then save it.

2.  Figure out the coordinates in this projection for some pixel in your image.  Typically people use the upper left corner of the upper left image, but you can choose anywhere, as long as you know both the pixel coordinates and the map coordinates.  If you have those coordinates in lat/long but not the projection coordinates, then you can use the lat/long to calculate the map coordinates using a tool found in ENVI under Map > Map Coordinate Converter.

3.  Open your image in ENVI, and then select it in the Available Bands List, and right click then choose Edit Header.  In the Header Info dialog, click Edit Attributes > Map Info.  Click the Change Proj button to change your projection to your newly defined Sinusoidal projection.  Then enter the map coordinates for your reference pixel, and at the top, the image (pixel) coordinates for the same location.  Enter the pixel size, then click OK.

At this point, your image should be georeferenced.

Peg

 
New Post 2/4/2010 11:08 AM
  bexica
2 posts
No Ranking


Re: How to Geoference Images 

 

Thanks for your help. Your method does indeed georeference my image, but I have yet to get it correct. I found the pixel size, which gets me to the right scale. But my original image is upside down, leading to an incorrectly georefrenced result. I suppose I could just rotate the image (I haven't yet tried that...), but I wasn't sure if it will be a simple 180 or some other, specific rotation. Also, you mention that simply using the four corners leads to a "psuedo" georeference. I can see how four points wouldn't be sufficient- but if that's the case why is "map info" able to use only pixel as a reference?!

 

 
New Post 2/5/2010 10:08 AM
  whammer
116 posts
10th Level Poster




Re: How to Geoference Images 

I'm sorry, but I can't tell you what the proper rotation factor would be.  You can enter a rotation in the map info in the ENVI header.  The metadata for the image should tell you what the map rotation factor is.

Map info can use just one reference pixel to understand the location of every pixel, because you've also supplied the map projection and pixel size information.  If the complete projection is known to ENVI, along with the pixel size, then ENVI only needs one point to place the image in the world.  Then using the pixel size and the transform equations for the projection, the coordinates for every other pixel in the image can easily be calculated.

Peg

 
New Post 4/21/2010 10:31 PM
  anonymous
0 posts
No Ranking


Re: How to Geoference Images 

Hi Peg:

I have been provided stereopair of SPOT 5 image in true "pseudo projection". How can I georeference my images for mosaicing? How to georeference SPOT 5 with IGM and GLT options under Map>Georeference SPOT>Build GLT>Georeference Data.

Muhammad

 
Previous Previous
 
Next Next
  Forum  ENVI  ENVI  How to Geoference Images
 Stay Connected
 Quick Links
 Community Resources
Home  |
|   Site Map
Permissions/Legal   © 2010 ITT Visual Information Solutions