X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 22 May 2013 05:13 PM by  anon
Image Registration Help
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
22 May 2013 05:13 PM
    Hi All, I'm having some difficulty with the "Image Registration Workflow" dialogue. I have 2 high-res JPEGs, and technically the images are have a spatial reference, but it is the output of a simple IDL script that took into account Lat/Long and rotation. I am pretty satisfied with the overall location of the images, but they do not line-up well enough to Mosaic -which is the end goal. I have tried a few times now to walk through the image to image dialogue and I'm encountering the following problems. Hopefully someone can enlighten me. 1. When I load both images into ENVI 5.0, the first image will display perfectly, and the second image will only display when zoomed in beyond a certain scale (inconsistent). At first I thought this was a pyramid issue, but I test by loading the images in reverse order - and it always seems to happen to the second image. I've tested in another software suite (ArcGIS) and both images load fine - so I think it could be an issue with the way ENVI handles the high res image (its roughly 2cm/pixel). Any other explanations would be appreciated. 2. I am trying to register 1 image to another so I am choosing the first image as the Base and the Second image as the warp. In the seed tie points tab, I start editing, and choose a few good tie points. I'm hoping that there may be a way to autogenerate some tie points once I have chosen some. Is this possible? I've been manually choosing between 3-5 tie points (which in my experience with these images should be enough to get a descent registration) and I am getting prompted that I don't have enough tie points. Any suggestions?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    23 May 2013 01:26 PM
    Is there spatial reference with your images? You mention lat/lon values but jpeg itself does not support map information except in an external world file. In this case, ENVI will not be aware of any georeferencing so placement in the display may not be correct. If there is also an ENVI header file with some map information or geographic corners, then ENVI will be able to provide some georeferencing or a pseudo projection. Georeferencing of at least one file is required in the Image to Image registration when automatically generating tie points. The help states that you will need at least 3 or more tie points in order for ENVI to generate additional tie points. If you provide 3-5 tie points, you should be able to use the Auto Tie point generation in the Image to Image registration workflow. The parameters for automatic tie point generation are in the 'Main' tab and after you have selected seed points, you should be able to select 'Next' in order for ENVI to automataically generate tie points.

    Deleted User



    New Member


    Posts:
    New Member


    --
    28 May 2013 11:40 AM
    MariM, Thanks for replying - I was probably over generalizing my description (my apologies). To answer your question, the .JPEG has no .JPW file (as the images are not georeferenced). Each JPEG image was converted from a raw .DNG file with an associated .NFO file (info). The .NFO file contains flight information from the sensor at the time that each image was captured. The .NFO File includes such information as the date, time, camera info (sensor type, focal length, instantaneous filed of view etc.), image width/height, GPS Lat/Long in Radian and in Degrees, GPS Altitude, and Vehicle information such as Pitch, Yaw, and Roll. As part of another process (and because ENVI doesn't read .DNG files) A converter was used to go from .DNG > .JPG. During the conversion process, an EXIF (Exchange Image File Format) format converts the information in the .NFO file and stores it in the .JPG file metadata with the appropriate Metadata tags. We have been using a 3rd party software called Pix4D that has the ability to read the metadata from the .JPEG, and georeference and mosaic a large number (thousands) of images all at once. I am trying to determine if it is possible to do something similar at a smaller scale (only a few images) in ENVI, with the same data. So my first task was to find a way to georeference the images. This is what I described in the original message, and I did this by manipulating a .pro file that I received to extract information from the original .NFO file. The information that I extracted included the GPS Latitude (in degrees), GPS Longitude (in degrees), and the Yaw - rotation (in degrees). It is my believe that the Lat/Long Coordinates are for the Lower Left corner of the image. After running the script, the images have all been placed in the approximately correct geographic space but they do not overlap well enough to run a mosaic. This is where I started to explore the capabilities of ENVI to generate tie points automatically. If I only had to do the process a few times, I don't think that it would be an issue to generate tie points manually, but if I have multiple images - the process becomes more time consuming and a less viable option. Thanks for your time, and sorry for the wall of text. Chris

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    28 May 2013 04:06 PM
    That sounds like a pretty good process. If you want to try and automatically generate tie points, I would suggest you have at least one georeferenced image of known accuracy to which you can georeference all other images. If one image is georeferenced, you should be able to generate tie points automatically. But the accuracy of the tie points will very much depend on the accuracy of the georeferenced image and the quality of the other images because the algorithm has to find areas of similarity.

    Deleted User



    New Member


    Posts:
    New Member


    --
    28 May 2013 04:31 PM
    Well, thanks for the input - the tips are much appreciated. I'll continue to work on this, and if I get a desirable product, I'll let you know what methods I used. Chris
    You are not authorized to post a reply.