{"id":1442,"date":"2015-07-19T02:33:16","date_gmt":"2015-07-19T02:33:16","guid":{"rendered":"https:\/\/grindgis.com\/?p=1442"},"modified":"2015-08-28T12:43:56","modified_gmt":"2015-08-28T12:43:56","slug":"slc-correction-landsat-7-qgis-erdas-imagine","status":"publish","type":"post","link":"https:\/\/grindgis.com\/?p=1442","title":{"rendered":"Layer Stacking and SLC correction of Landsat 7 image using QGIS and Erdas IMAGINE software"},"content":{"rendered":"<p>[vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<strong><span style=\"font-size: 30px;\">Table of Contents:<\/span><\/strong><\/p>\n<p><strong>Using ERDAS Imagine SLC Correction:<\/strong><\/p>\n<p><a href=\"#1.1\"> Process 1: \u00a0Layer stack Bands<\/a><\/p>\n<p><a href=\"#1.2\">Process 2: \u00a0SLC correction<\/a><\/p>\n<p><strong>Using QGIS 2.0\u00a0SLC Correction:<\/strong><\/p>\n<p><a href=\"#2.1\">Process 1: \u00a0Layer stack\/merge the file<\/a><\/p>\n<p><a href=\"#2.2\">Process 2: \u00a0SLC correction<\/a><\/p>\n<p><a href=\"#2.3\">Process 3: \u00a0Layer stack \/merge the SLC corrected band<\/a>[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<\/p>\n<p align=\"justify\">Landsat 7, launched on April 15<sup>th<\/sup> 1999 with Advanced Enhanced Thematic Mapper Plus (ETM+) sensor. Unfortunately on May 31<sup>st<\/sup> 2003 the SLC (Scan line corrector) in the ETM+ instrument failed which\u00a0leads to the stripping or missing of scan line in the satellite image. Various techniques are available for the\u00a0SLC correction. Most of the remote sensing\u00a0software package includes a separate module for it. On this tutorial\u00a0we are using two software,\u00a0one is an open source, QGIS and next is commercial,\u00a0ERDAS\u00a0Imagine 9.1 . Even though Landsat 8 is launched recently which is SLC error free, still Landsat 7 image is important for remote sensing analysis. The table below shows spectral characteristics of ETM+ sensor.<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<\/p>\n<div class=\"WordSection1\">\n<table class=\"MsoNormalTable\" style=\"width: 315.0pt; margin-left: -.75pt; border-collapse: collapse; border: none;\" border=\"1\" width=\"420\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"height: 15.75pt;\">\n<td style=\"width: 65.0pt; border: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 15.75pt;\" rowspan=\"10\" width=\"87\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: center; line-height: normal;\" align=\"center\"><strong><span lang=\"EN-US\" style=\"color: black;\">Enhanced<\/span><\/strong><\/p>\n<p><strong>Thematic<\/strong><\/p>\n<p><strong>Mapper<\/strong><\/p>\n<p><strong>Plus<\/strong><\/p>\n<p><strong>(ETM+)<\/strong><\/td>\n<td style=\"width: 43.0pt; border: solid #00B050 1.5pt; border-left: none; padding: 0cm 5.4pt 0cm 5.4pt; height: 15.75pt;\" rowspan=\"2\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: center; line-height: normal;\" align=\"center\"><b><span lang=\"EN-US\" style=\"color: black;\">Landsat\u00a07<\/span><\/b><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border: solid #00B050 1.5pt; border-left: none; padding: 0cm 5.4pt 0cm 5.4pt; height: 15.75pt;\" rowspan=\"2\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: center; line-height: normal;\" align=\"center\"><b><span lang=\"EN-US\" style=\"color: black;\">Wavelength<br \/>\n(micrometers)<\/span><\/b><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border: solid #00B050 1.5pt; border-left: none; padding: 0cm 5.4pt 0cm 5.4pt; height: 15.75pt;\" rowspan=\"2\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: center; line-height: normal;\" align=\"center\"><b><span lang=\"EN-US\" style=\"color: black;\">Resolution<br \/>\n(meters)<\/span><\/b><\/p>\n<\/td>\n<td style=\"height: 15.75pt; border: none;\" width=\"0\" height=\"21\"><\/td>\n<\/tr>\n<tr style=\"height: 15.75pt;\">\n<td style=\"height: 15.75pt; border: none;\" width=\"0\" height=\"21\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 1<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">0.45-0.52<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: right; line-height: normal;\" align=\"right\"><span lang=\"EN-US\" style=\"color: black;\">30<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 2<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">0.52-0.60<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: right; line-height: normal;\" align=\"right\"><span lang=\"EN-US\" style=\"color: black;\">30<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 3<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">0.63-0.69<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: right; line-height: normal;\" align=\"right\"><span lang=\"EN-US\" style=\"color: black;\">30<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 4<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">0.77-0.90<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: right; line-height: normal;\" align=\"right\"><span lang=\"EN-US\" style=\"color: black;\">30<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 5<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">1.55-1.75<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: right; line-height: normal;\" align=\"right\"><span lang=\"EN-US\" style=\"color: black;\">30<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 6<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">10.40-12.50<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">60 * (30)<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 7<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">2.09-2.35<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: right; line-height: normal;\" align=\"right\"><span lang=\"EN-US\" style=\"color: black;\">30<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<tr style=\"height: 16.5pt;\">\n<td style=\"width: 43.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"57\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">Band 8<\/span><\/p>\n<\/td>\n<td style=\"width: 94.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"125\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; line-height: normal;\"><span lang=\"EN-US\" style=\"color: black;\">.52-.90<\/span><\/p>\n<\/td>\n<td style=\"width: 113.0pt; border-top: none; border-left: none; border-bottom: solid #00B050 1.5pt; border-right: solid #00B050 1.5pt; padding: 0cm 5.4pt 0cm 5.4pt; height: 16.5pt;\" width=\"151\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt; text-align: right; line-height: normal;\" align=\"right\"><span lang=\"EN-US\" style=\"color: black;\">15<\/span><\/p>\n<\/td>\n<td style=\"height: 16.5pt; border: none;\" width=\"0\" height=\"22\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>(USGS website)<\/p>\n<\/div>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<\/p>\n<p align=\"justify\">Here we are using the Landsat 7 ETM+ image downloaded from GLCF website (<a href=\"http:\/\/glcf.umd.edu\/data\/landsat\/\" target=\"_blank\">http:\/\/glcf.umd.edu\/data\/landsat\/<\/a>). The data is\u00a0in .zip format, unzip the folder using any zip software. It\u00a0has 2 folders, one with all\u00a0the bands (from 1 to 8) and next is\u00a0gap masking files for each\u00a0band (We will use this files later for the gap filling).<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<a name=\"1.1\"><\/a><\/p>\n<h2><strong>SLC correction Using Erdas Imagine 9.1<\/strong><\/h2>\n<p><strong><span style=\"color: #00b050; font-size: 20px;\">Process 1:<\/span> Layer stack for Bands<\/strong><\/p>\n<p>Open the Erdas Imagine Software- click on <strong>\u201cImage Interpreter\u201d<\/strong> from the main toolset\u00a0&gt;Select \u201cUtilities\u201d<br \/>\nAnd \u00a0then Click on <strong>\u201cLayer stack\u201d<\/strong> tool<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/f97017fb86e028ee352c4dd88fcd108f.png\" alt=\"Layer stack\" width=\"600\" height=\"319\" \/><\/p>\n<p>When you select the <strong>\u201clayer stack\u201d<\/strong> tool a separate small window will open<\/p>\n<blockquote><p><strong>a.<\/strong> Select <strong>\u201cInput file\u201d<\/strong> and navigate to\u00a0the downloaded folder with Landsat 7\u00a0data and select the first\u00a0band and click on <strong>\u201cADD\u201d<\/strong> button in the Layer stack window.(Change the file type to <strong>\u201cTiff\u201d <\/strong>format because the satellite image will be in Tiff format).<\/p>\n<p><strong>b.<\/strong> Simultaneously add all the bands (bands that\u00a0you want for your application) and click \u201cADD\u201d button, you will notice\u00a0all added bands<\/p>\n<p><strong>c.<\/strong> Change the <strong>\u201cLayer\u201d<\/strong> 1 into all<\/p>\n<p><strong>d.<\/strong> Set the Output folder and file name<\/p>\n<p><strong>e.<\/strong> Select <strong>\u201cIgnore Zero in stats\u201d<\/strong><\/p>\n<p><strong>f.<\/strong> Press <strong>\u201cOK\u201d<\/strong><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/aef21011ad1ae639905963aa28376ecf.png\" alt=\"Layer Selection and Stacking\" width=\"464\" height=\"486\" \/><br \/>\nLayer stacking window<\/p>\n<p><strong>Open the layer stacked image in the Viewer<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/5b428a15b2b5219f7841c0be5a9748f7.png\" alt=\"Viewer\" width=\"624\" height=\"563\" \/><br \/>\nLandsat 7 layer stacked with non SLC correction[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<a name=\"1.2\"><\/a><br \/>\n<strong><span style=\"color: #00b050; font-size: 20px;\">Process 2:<\/span> <strong>SLC correction through focal analysis <\/strong><\/strong><\/p>\n<blockquote><p><strong>a.<\/strong> Select <strong>\u201cSpatial enhancement\u201d<\/strong>\u00a0 from the \u201c Interpreter tool\u201d in main tool set<\/p>\n<p><strong>b.<\/strong> From the <strong>\u201cSpatial enhancement\u201d<\/strong> select <strong>\u201cFocal analysis\u201d<\/strong> tool<\/p>\n<p><strong>c.<\/strong> Separate Focal analysis window will open<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/1ccf2f8b7bd3c9ee2bd62246197f7a71.png\" alt=\"SLC correction through focal analysis\" width=\"600\" height=\"316\" \/><\/p>\n<blockquote><p><strong>a.<\/strong> In focal analysis window Set the <strong>\u201coutput folder and file\u201d<\/strong> (Give layer stacked image as input)<\/p>\n<p><strong>b.<\/strong> Set <strong>\u201coutput folder and name\u201d<\/strong><\/p>\n<p><strong>c.<\/strong> Set <strong>\u201coutput data type\u201d<\/strong> as <em>unsigned 8 bit<\/em><\/p>\n<p><strong>d.<\/strong> Tick on<strong> \u201c<em>ignore Zero in stats<\/em>\u201d<\/strong><\/p>\n<p><strong>e.<\/strong> From the drop down menu Set \u201c<em>Ignore Specified values and <strong>\u201cApply only Specified values<\/strong><\/em><strong>\u201d<\/strong><\/p>\n<p><strong>f.<\/strong> Leave the values as Zero<\/p>\n<p><strong>g.<\/strong> Press <strong>\u201cOK\u201d<\/strong><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/5f6de7097f29131bcc569bd2613bf998.png\" alt=\"focal analysis\" width=\"600\" height=\"484\" \/><br \/>\nFocal analysis window to perform SLC correction<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/b5e5a05afc59fe7beb2b5f94f2df58f4.png\" alt=\"LC correction through focal analysis\" width=\"600\" height=\"284\" \/><br \/>\n<strong>Modeler will start to run<\/strong><\/p>\n<blockquote><p><strong>h.<\/strong> After completing this process. Repeat the same process at least 6 or 7 times.<\/p>\n<p><strong>i.<\/strong> Each time the previous output should be the input for the next time.<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/7cc87effd0b9a115129a1243c6bd825a.png\" alt=\"viewer\" width=\"600\" height=\"593\" \/><br \/>\nFirst output<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/dbec74914c8f764d9110be9ab78145cb.png\" alt=\"viewer\" width=\"600\" height=\"559\" \/><br \/>\nThird output<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/c85df0b7c658b7600a5f3490b8001437.png\" alt=\"output ERDAS viewer\" width=\"600\" height=\"541\" \/><br \/>\nPre SLC correction<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/bd054e677e02dbe16476a66269543336.png\" alt=\"output ERDAS viewer\" width=\"600\" height=\"523\" \/><br \/>\nPost SLC correction (final the output)[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<a name=\"2.1\"><\/a><\/p>\n<h2><strong>SLC correction Using\u00a0QGIS 2.0<\/strong><\/h2>\n<p><strong><span style=\"color: #00b050; font-size: 20px;\">Process 1:<\/span> Layer stack \/ merge the file<\/strong><\/p>\n<blockquote><p><strong>a.<\/strong> Open QGIS Desktop<\/p>\n<p><strong>b.<\/strong> Click on \u201craster\u201d-\u201cMiscellaneous\u201d- select <strong>\u201cmerge tool\u201d<\/strong><\/p>\n<p><strong>c.<\/strong> Separate window for merge will open<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/6d7cac360c6be4602a85e8a2f7bc8e3a.png\" alt=\"QGIS Layer stack \/ merge the file\" width=\"600\" height=\"302\" \/><\/p>\n<blockquote><p><strong>a.<\/strong> Set the <strong>\u201cinput files\u201d<\/strong> (Give the Landsat 7 bands)<\/p>\n<p><strong>b.<\/strong> Set the <strong>\u201cOutput file and folder\u201d<\/strong><\/p>\n<p><strong>c.<\/strong> Tick on <strong>\u201cLayer stack\u201d<\/strong><\/p>\n<p><strong>d.<\/strong> Click <strong>\u201cOK\u201d<\/strong><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/05b986064b003c59c0c9ffe6cbb1242d.png\" alt=\"QGIS merge the file\" width=\"600\" height=\"599\" \/><br \/>\nMerge window to perform Layer stacking<\/p>\n<blockquote><p><strong>a.<\/strong> Open the layer stacked\/merged image in QGIS<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/ae0f6180102e55a64f8da7eb3c85e632.png\" alt=\"QGIS Layer stack \/ merge the file\" width=\"600\" height=\"385\" \/><br \/>\nLayer stacked image with SLC failure[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_message color=&#8221;warning&#8221;]<\/p>\n<p><strong><span style=\"color: red; font-size: 30px;\">Unlike Erdas Imagine here we have to do SLC correction for each bands using Gap masking file.<\/span><\/strong><\/p>\n<p>[\/vc_message][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<a name=\"2.2\"><\/a><br \/>\n<strong><span style=\"color: #00b050; font-size: 20px;\">Process 2:<\/span>\u00a0SLC Correction<\/strong><\/p>\n<blockquote><p><strong>a.<\/strong> Select <strong>\u201canalysis\u201d<\/strong> from the <strong>\u201cRaster\u201d<\/strong>-and click on <strong>\u201cFill Nodata\u201d<\/strong> tool<\/p>\n<p><strong>b.<\/strong> Separate Window for <strong>\u201cFill Nodata\u201d<\/strong> will open<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/2c6f9d52d52c235dc8dd3f9ff9ce5d64.png\" alt=\"SLC Correction\" width=\"600\" height=\"348\" \/><br \/>\nFrom the Fill Nodata window<\/p>\n<blockquote><p><strong>a.<\/strong> Set <strong>\u201cInput folder and file\u201d <\/strong>\u00a0(Layer stacked image)<\/p>\n<p><strong>b.<\/strong> Set <strong>\u201cOutput file and folder\u201d<\/strong><\/p>\n<p><strong>c.<\/strong> Tick on <strong>\u201c Search distance and set it 100\u201d<\/strong><\/p>\n<p><strong>d.<\/strong> Tick on <strong>\u201cBand to Operate\u201d<\/strong> and set the band number as 1 (Later change it to 2,3,4,5 for other bands).<\/p>\n<p><strong>e.<\/strong> Tick on <strong>\u201cValidity mask\u201d<\/strong> and browse\u00a0the appropriate mask file for each band (Mask files for each band should be included\u00a0with the downloaded Landsat 7 image folder .)<\/p>\n<p><strong>f.<\/strong> Tick on <strong>do not use the default validity mask<\/strong><\/p>\n<p><strong>g.\u00a0<\/strong>Press <strong>\u201cOK\u201d<\/strong><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/ae60c7e97f2f2eb95dd0dccffee38c7a.png\" alt=\"fill nodata\" width=\"361\" height=\"439\" \/><br \/>\nFill No data window to perform SLC correction<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/d2b4fa620f0a76330253b237db42a121.png\" alt=\"SLC correction\" width=\"600\" height=\"320\" \/><br \/>\nSLC corrected Image of Band 1<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/c57a6dd7bd4e228776eaf90dbe15d1b7.png\" alt=\"SLC corrected Image of Band 3\" width=\"600\" height=\"350\" \/><br \/>\nSLC corrected Image of Band 3<br \/>\n<strong>Correct all bands using the same tool and method.<\/strong>[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]<a name=\"2.3\"><\/a><br \/>\n<strong><span style=\"color: #00b050; font-size: 20px;\">Process 3:<\/span>\u00a0Layer Stack \/ merge the SLC corrected band<\/strong><\/p>\n<blockquote><p><strong>a.<\/strong> Layer stack the SLC corrected Landsat 7 bands using the method mentioned in <strong>Process 1<\/strong><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2015\/07\/ad6d3a59cf110378087ee1d81ce03041.png\" alt=\"SLC corrected and Layer stacked image.\" width=\"624\" height=\"362\" \/><br \/>\nSLC corrected and Layer stacked image.[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_separator style=&#8221;solid&#8221; padding_top=&#8221;0&#8243; padding_bottom=&#8221;0&#8243;][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]References:<\/p>\n<p><em><a href=\"http:\/\/landsat.usgs.gov\/\">http:\/\/landsat.usgs.gov\/<\/a><\/em><\/p>\n<p><em><a href=\"http:\/\/www.hexagongeospatial.com\/\">http:\/\/www.hexagongeospatial.com\/<\/a><\/em><\/p>\n<p><em><a href=\"http:\/\/www.qgis.org\/en\/site\/\">http:\/\/www.qgis.org\/en\/site\/<\/a><\/em><\/p>\n<p><em><a href=\"http:\/\/gis.stackexchange.com\/\">http:\/\/gis.stackexchange.com\/<\/a><\/em>[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][tagline_box action_box_style=&#8221;style1&#8243; call_text=&#8221;NOW READ:&#8221; call_text_small=&#8221;Calculating the Vegetation Indices from Landsat 8 image Using ArcGis 10.1&#8243; title=&#8221;READ&#8221; target=&#8221;_self&#8221; color=&#8221;blue&#8221; size=&#8221;small&#8221; margin=&#8221;0&#8243; href=&#8221;https:\/\/grindgis.com\/blog\/vegetation-indices-arcgis&#8221;][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; paddingbottom=&#8221;0&#8243; bg_color=&#8221;#ffffff&#8221; bg_repeat=&#8221;repeat&#8221; bg_stretch=&#8221;no&#8221; en_border=&#8221;no&#8221; border_color=&#8221;#e8e8e8&#8243;][vc_column width=&#8221;1\/1&#8243;][vc_column_text]Table of Contents: Using ERDAS Imagine SLC Correction: Process 1: \u00a0Layer stack Bands Process 2: \u00a0SLC correction Using QGIS 2.0\u00a0SLC Correction: Process 1: \u00a0Layer stack\/merge the file Process 2: \u00a0SLC correction Process 3: \u00a0Layer stack \/merge the SLC corrected band[\/vc_column_text][\/vc_column][\/vc_row][vc_row layout=&#8221;normal&#8221; margintop=&#8221;0&#8243; marginbottom=&#8221;15&#8243; paddingtop=&#8221;0&#8243; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1462,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,288],"tags":[313,308,307,301,312,309,315,311,310,314],"class_list":["post-1442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-remote-sensing","tag-detail-tutorial","tag-erdas-imagine","tag-landsat-7","tag-landsat-8","tag-layer-stack-bands","tag-qgis","tag-scan-line-corrector","tag-slc-correction","tag-slc-error","tag-slc-problem-tutorial","entry","has-media"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts\/1442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1442"}],"version-history":[{"count":0,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts\/1442\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/media\/1462"}],"wp:attachment":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}