Arhanghelul Posted May 6, 2013 Report Share Posted May 6, 2013 Hello ! I would like to make some spatial analysis regarding regressions and correlation coeficients between 2 rasters. I have 2 rasters: Land use/ Land cover extracted from aerial images Land Surface Temperature (LST) derived from LANDSAT thermal band. Both raster images are co-registered, in the same projection, having a RMSE error <=0.5 m. Now I would like to see if there are some spatial correlations between these 2 images. What software can I use for this task ? I know that there are some specialised softwares like R and SPSS. But how to import and use rasters ? Where can I find some tutorials, lab exercises or web-links about this ? Thank you, my friends. Arhanghelul 1 Quote Link to comment Share on other sites More sharing options...
3dbu Posted May 6, 2013 Report Share Posted May 6, 2013 did you check all toolbox of spatial analyst ...regards Quote Link to comment Share on other sites More sharing options...
SIGIS Posted May 6, 2013 Report Share Posted May 6, 2013 ENVI is the software for raster tasks as long as those two images have the same dimensions (row/line). But it need some practice to handling it. You can also check IDRISI a good tool Quote Link to comment Share on other sites More sharing options...
yousef2233 Posted May 6, 2013 Report Share Posted May 6, 2013 here is the the code for spatial cross-correlation (Matlab) there are 2 surfaces we are going to compare or find correlations maybe you should convert them to raster first A = imread ('...'/firstraster.jpg'); B = imread ('.../secondraster.jpg'); Result = normxcorr2(B,A); size if B should be equal or lesser than size of A the result is an arrey of correlation as kernel ( B moves across the Image A ) max(max(Result)) % the max xross corr found by kernel imshow (Result) % xross surface using ArcGIS can be very easy and helpful ArcToolbox > Spatial Analyst > Multivariate > Band Collection Statistics 1 Quote Link to comment Share on other sites More sharing options...
Arhanghelul Posted May 7, 2013 Author Report Share Posted May 7, 2013 here is the the code for spatial cross-correlation (Matlab) there are 2 surfaces we are going to compare or find correlations maybe you should convert them to raster first A = imread ('...'/firstraster.jpg'); B = imread ('.../secondraster.jpg'); Result = normxcorr2(B,A); size if B should be equal or lesser than size of A the result is an arrey of correlation as kernel ( B moves across the Image A ) max(max(Result)) % the max xross corr found by kernel imshow (Result) % xross surface using ArcGIS can be very easy and helpful ArcToolbox > Spatial Analyst > Multivariate > Band Collection Statistics Thank you ! Quote Link to comment Share on other sites More sharing options...
thelostking Posted June 9, 2013 Report Share Posted June 9, 2013 Hi guys .. it might be late to answer this but I will explain the best way (as I can see) first, u should use (extract by mask) which is one of the tool in ArcGIS where u can mask the first layer (i.e.LULC) using (LST) or vise versa After finishing the masking, u can check in the properties that both layers have the same number of row and columns. Second, use (raster to ASCII) tool which also available in ArcGIS to convert both layers into text format then open both of them using notepad or any other alternative program (I prefer Editpad Lite) and delete the header of them Note: the header file can also show u the number of rows and columns of the resulted image. Third, from file menu in SPSS, click on read text file and just click next until the part where u should define the number of columns where u should choose 1 do this process to the both layers then apply LR or any other algorithm u like to use. 1 Quote Link to comment Share on other sites More sharing options...
Arhanghelul Posted June 9, 2013 Author Report Share Posted June 9, 2013 Hi guys .. it might be late to answer this but I will explain the best way (as I can see) first, u should use (extract by mask) which is one of the tool in ArcGIS where u can mask the first layer (i.e.LULC) using (LST) or vise versa After finishing the masking, u can check in the properties that both layers have the same number of row and columns. Second, use (raster to ASCII) tool which also available in ArcGIS to convert both layers into text format then open both of them using notepad or any other alternative program (I prefer Editpad Lite) and delete the header of them Note: the header file can also show u the number of rows and columns of the resulted image. Third, from file menu in SPSS, click on read text file and just click next until the part where u should define the number of columns where u should choose 1 do this process to the both layers then apply LR or any other algorithm u like to use. Thank you for your reply ! Where can I find some tutorials, lab exercises for using SPSS ? (about importing and creating new projects, how to create regressions and graphics ? ) Quote Link to comment Share on other sites More sharing options...
HTC Posted June 9, 2013 Report Share Posted June 9, 2013 Regressions in SPSS is Normal. We can choose: Linear, Logistics, Curbic (Non - Linear) for simulating correlation between 2 raster. step1: You make sample (than 30 sample) from Land use and Land Surface Temperature. step2: You extract value of point from sample. Step3: You use: SPSS or Statistic software (R software, statgraphics, spss....) to make correlation. Step4: You use Gis software for compute raster (Multiply, split, add, subtract follow equation in step3). Good luck! 1 Quote Link to comment Share on other sites More sharing options...
yousef2233 Posted June 9, 2013 Report Share Posted June 9, 2013 SPSS Statistics Essential Training http://s6.p30download.com/users/606/tutorial/office/spss-statistics/Lynda.SPSS.Statistics.Essential.Training.Full_p30download.com.part1.rar http://s6.p30download.com/users/606/tutorial/office/spss-statistics/Lynda.SPSS.Statistics.Essential.Training.Full_p30download.com.part2.rar pass = www.p30download.com disable your antivirus, there are nothing wrong with the files. 1 Quote Link to comment Share on other sites More sharing options...
Arhanghelul Posted June 9, 2013 Author Report Share Posted June 9, 2013 SPSS Statistics Essential Training http://s6.p30download.com/users/606/tutorial/office/spss-statistics/Lynda.SPSS.Statistics.Essential.Training.Full_p30download.com.part1.rar http://s6.p30download.com/users/606/tutorial/office/spss-statistics/Lynda.SPSS.Statistics.Essential.Training.Full_p30download.com.part2.rar pass = www.p30download.comdisable your antivirus, there are nothing wrong with the files. The links are not working I dont understand arabic language. Quote Link to comment Share on other sites More sharing options...
yousef2233 Posted June 10, 2013 Report Share Posted June 10, 2013 works for me http://irs6.p30download.com/users/606/tutorial/office/spss-statistics/Lynda.SPSS.Statistics.Essential.Training.Full_p30download.com.part1.rar http://irs6.p30download.com/users/606/tutorial/office/spss-statistics/Lynda.SPSS.Statistics.Essential.Training.Full_p30download.com.part2.rar 1 Quote Link to comment Share on other sites More sharing options...
HTC Posted June 10, 2013 Report Share Posted June 10, 2013 Yes, the file is live. We can disable virus before downloading it! Quote Link to comment Share on other sites More sharing options...
rahmansunbeam Posted June 10, 2013 Report Share Posted June 10, 2013 http://thepiratebay.sx/torrent/6688193/LYNDA.COM_-_SPSS_STATISTICS_ESSENTIAL_TRAINING_[thethingy] torrent is power ! 1 Quote Link to comment Share on other sites More sharing options...
w1malik Posted September 9, 2014 Report Share Posted September 9, 2014 thanks for your guide. I have apply the same procedure but i have some problem with my ascii file. I exported my LST raster to ascii file but i contain -9999 values. i wonder if you could guide me to fix my file and second this does it matter if this file contain multiple rows and multiple columns please comment. Quote Link to comment Share on other sites More sharing options...
Eddison Posted July 30, 2016 Report Share Posted July 30, 2016 Hola, un gusto saludarles, si tengo un mapa de temperatura y otro raster de NDVI, como puedo realizar el proceso de correlacion y regresión usando software libre por ejemplo QGIS? Gracias! Quote Link to comment Share on other sites More sharing options...
GeoTechnology Posted August 13, 2016 Report Share Posted August 13, 2016 Anyone have spatial and network analyst training document with video and materials ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.