Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Re: routine in ENVI to pass from EVF to ROI????
MOre info: Basically I would like to do a subset, so finally I just need the max and min X and Y coordinates. txominhermos@gmail.com ha escrito: > Hello mates, > > I am trying but I am not able to find the ENVI routine to program the > conversión from EVT to ROI (or the one to pass from SHP to EVF to > ROI). > > > Does it exit? or it is nor possible to do it by programming. > > > Thanks for your attention. > > > > > txo
To be clearer, I will say that I need to programmatically subset an image. I have found code* to create an image with the ROI information, but the problems is that it seems to be compulsory to create this image in IDL, with all the memory limitations problems that it has. I would like to use the ROI extension as parameter in the routine envi_output _to_external_format, or another similar one which allows me to make the image subset without collapse the RAM memory * http://groups.google.es/group/comp.lang.idl-pvwave/browse_th read/thread/9e5d6eb8b5bac80f/26a45d8b2ed7db26?lnk=gst&q= subset&rnum=2#26a45d8b2ed7db26 txominhermos@gmail.com ha escrito: > MOre info: > > Basically I would like to do a subset, so finally I just need the max > and min X and Y coordinates. > > > > > txominhermos@gmail.com ha escrito: > >> Hello mates, >> >> I am trying but I am not able to find the ENVI routine to program the >> conversión from EVT to ROI (or the one to pass from SHP to EVF to >> ROI). >> >> >> Does it exit? or it is nor possible to do it by programming. >> >> >> Thanks for your attention. >> >> >> >> >> txo
I'm not at all clear about exactly what you're trying to do, but if I'm guessing right, this thread may be helpful to you: http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/4b90c8f4a2c7b715/85ec7790a493555d?lnk=gst&q =Shapefile&rnum=1#85ec7790a493555d If the link doesn't work, try searching this newsgroup for "Apply a shapefile to raster images in IDL." Hope that helps, Jeff txominhermos@gmail.com wrote: > To be clearer, I will say that I need to programmatically subset an > image. > I have found code* to create an image with the ROI information, but the > problems is that it seems to be compulsory to create this image in IDL, > with all the memory limitations problems that it has. > I would like to use the ROI extension as parameter in the routine > envi_output _to_external_format, or another similar one which allows me > to make the image subset without collapse the RAM memory > > > > > * > http://groups.google.es/group/comp.lang.idl-pvwave/browse_th read/thread/9e5d6eb8b5bac80f/26a45d8b2ed7db26?lnk=gst&q= subset&rnum=2#26a45d8b2ed7db26 > > > > > > txominhermos@gmail.com ha escrito: > >> MOre info: >> >> Basically I would like to do a subset, so finally I just need the max >> and min X and Y coordinates. >> >> >> >> >> txominhermos@gmail.com ha escrito: >> >>> Hello mates, >>> >>> I am trying but I am not able to find the ENVI routine to program the >>> conversión from EVT to ROI (or the one to pass from SHP to EVF to >>> ROI). >>> >>> >>> Does it exit? or it is nor possible to do it by programming. >>> >>> >>> Thanks for your attention. >>> >>> >>> >>> >>> txo
I'm not sure whether you want to clip the image with a rectangle, or with the exact polygon in SHP/EVF/ROI file. If you just want a rectangle area that includes all the ROIs, why not just read the coordinates of vertexes and get the maximum and minumum values? If you want to subset an image with ROIs, I would say you should create a mask image based on ROIs first. Cheers, Tian txominhermos@gmail.com wrote: > To be clearer, I will say that I need to programmatically subset an > image. > I have found code* to create an image with the ROI information, but the > problems is that it seems to be compulsory to create this image in IDL, > with all the memory limitations problems that it has. > I would like to use the ROI extension as parameter in the routine > envi_output _to_external_format, or another similar one which allows me > to make the image subset without collapse the RAM memory > > > > > * > http://groups.google.es/group/comp.lang.idl-pvwave/browse_th read/thread/9e5d6eb8b5bac80f/26a45d8b2ed7db26?lnk=gst&q= subset&rnum=2#26a45d8b2ed7db26 > > > > > > txominhermos@gmail.com ha escrito: > >> MOre info: >> >> Basically I would like to do a subset, so finally I just need the max >> and min X and Y coordinates. >> >> >> >> >> txominhermos@gmail.com ha escrito: >> >>> Hello mates, >>> >>> I am trying but I am not able to find the ENVI routine to program the >>> conversión from EVT to ROI (or the one to pass from SHP to EVF to >>> ROI). >>> >>> >>> Does it exit? or it is nor possible to do it by programming. >>> >>> >>> Thanks for your attention. >>> >>> >>> >>> >>> txo