Hi MariM, thank you for your quick reply. You help was crucial in understanding this problem! Yes, as you suggest, my data is RPC projected so I will need to perform an RPC Orthorectification on the image. This is super easy in ERDAS Imagine where i can choose to orthorectify without GCP, can choose the geometric model to be QuickBird RPC, and change the coordinates to polar stereograph. The RPC Orthorectification Workflow tool in the ENVI toolbox only allows me to resample the image in geographic coordinates. What tool should I use for the orthorectification and reprojection, and is there an accompanying IDL doit? Ideally, I want an to automate the process to run the RPC orthorectification on all my images.
UPDATE: When i use the "rigorous orthorectification" toolbox, i have the option of choosing the geometric model to be QuickBird, but I do not have the option to change the reprojection from geographic to project coordinates. I also get the error message: "Unable to add DigitalGlobeFormat file. IDL_IDLBRIDGE ERROR:...Compressed image not supported: JPEG2000. " The NITF images ARE compressed by JPEG, so I must need to uncompress the images and find where the Digital Globe Format file is located?
For an attempt at automation, i tried the code written here:
http://www.exelisvis.com/...orectification.html. With some adjusting with file names, the error i get is at "DataColl.Add, Task.Output_Raster" The error is that "Required arguments are missing".
Back to the fundamental question - how to automate loading NITF images into ENVI? How do I perform an RPC Orthorectification and a reprojection into polar sterographic coordinates (and is uncompressing the JPEG and finding the DigitalGlobe Format File necessary?).
Thank you!