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

Home » Public Forums » archive » RSI ENVI listserv
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
RSI ENVI listserv [message #37594] Thu, 08 January 2004 12:52 Go to next message
Jonathan Greenberg is currently offline  Jonathan Greenberg
Messages: 91
Registered: November 2002
Member
Please forward this to anyone who might be interested:

We have created a listserv to facilitate discussion about Research Systems
Inc.'s ENVI remote sensing analysis package (http://www.rsinc.com). All
questions/comments/discussions about the theory and application of this
software are welcome.

To subscribe, please send an email to listproc@ucdavis.edu and include in
the body of the email:

sub starserv-envi@ucdavis.edu (e.g. "sub starserv John Smith").

To post messages, send an email to starserv-envi@ucdavis.edu. Archives of
past discussions can be found at
http://listproc.ucdavis.edu/archives/starserv-envi/.

To unsubscribe from the list, simply send an email to listproc@ucdavis.edu
with the body of the email:

unsub starserv-envi@ucdavis.edu

Please make sure you send the unsubscribe request from the same email
account you used to subscribe, otherwise you won't be taken off the mailing
list.

This list is run by the Center for Spatial Technologies and Remote Sensing
(CSTARS) laboratory at the University of California, Davis. For information
on our lab, please visit http://www.cstars.ucdavis.edu. Any questions about
the listserv or our website, please direct to www@cstars.ucdavis.edu.
Re: RSI ENVI listserv [message #88711 is a reply to message #37594] Mon, 09 June 2014 11:27 Go to previous message
AliSoomro is currently offline  AliSoomro
Messages: 3
Registered: June 2014
Junior Member
PRO My_practice

compile_opt idl2
envi, /restore_base_save_files
envi_batch_init, log_file='batch.txt'

Fname='E:\Aly\LST\Night\MOD11_L2.A2013175.1620.005.201317609 2754.hdf'

ENVI_OPEN_DATA_FILE, Fname, /HDF_SD , HDFSD_DATASET=2, R_FID=fid

; Get dimensions of input image
envi_file_query, fid, ns=ns, nl=nl, nb=nb,dims=dims
pos = lindgen(nb)

;GPS points and pixel location:
pts = [[583695.9901, 7911358.9359, 720.00, 514.00], $
[582018.7661, 7914627.4129, 638.00, 365.00], $
[578079.7761, 7910047.9329, 465.00, 582.00], $
[578374.0861, 7909281.7329, 478.00, 623.00], $
[583118.377, 7911923.053, 688.00, 487.00], $
[581074.1161, 7913623.7529, 599.00, 414.00], $
[577392.7161, 7908451.1629, 433.00, 660.00]]



units = ENVI_TRANSLATE_PROJECTION_UNITS('Meters')
datum = 'WGS-84'
;
; Create the UTM projection
;
Proj = ENVI_PROJ_CREATE(/utm, zone=43, $
datum=datum, units=units)
pixel_size = [30., 30.]

; Perform the image-to-map registration.
envi_doit, 'envi_register_doit', $
w_fid=fid, w_pos=pos, w_dims=dims, $
method=7, /envi_output_to_external_format, /TIFF, out_name='E:\Aly\georeferenced by idl/test1.tif', $
pts=pts, pixel_size=pixel_size, $
proj=proj, r_fid=use_fileID

ENVI_batch_exit

END


This program perfectly works, but due to pts values geo-referencing is incorrect, pls help me?

alisoomro66@yahoo.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Simplest way to spawn multiple IDL processes from within IDL?
Next Topic: Implied print and namespace

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

Current Time: Wed Oct 08 15:10:00 PDT 2025

Total time taken to generate the page: 0.00671 seconds