scieee AI-readable full text Open interactive document viewer

Techniques for the extraction of spatial and spectral information in the supervised classification of hyperspectral imagery for land-cover applications

Acción Montes, Álvaro

Abstract

The objective of this PhD thesis is the development of spatialspectral information extraction techniques for supervised classification tasks, both by means of classical models and those based on deep learning, to be used in the classification of land use or land cover (LULC) multi- and hyper-spectral images obtained by remote sensing. The main goal is the efficient application of these techniques, so that they are able to obtain satisfactory classification results with a low use of computational resources and low execution time.

Full text

INTERNATIONAL DOCTORAL SCHOOL OF THE USC Álvaro Acción Montes PhD Thesis Techniques for the extraction of spatial and spectral information in the supervised classification of hyperspectral imagery for land-cover applications Santiago de Compostela, 2022 Doctoral Programme in Information Technology Research TESE DE DOUTORAMENTO TECHNIQUES FOR THE EXTRACTION OF SPATIAL AND SPECTRAL INFORMATION IN THE SUPERVISED CLASSIFICATION OF HYPERSPECTRAL IMAGERY FOR LAND-COVER APPLICATIONS ´ Alvaro Acci´ on Montes ESCOLA DE DOUTORAMENTO INTERNACIONAL DA UNIVERSIDADE DE SANTIAGO DE COMPOSTELA PROGRAMA DE DOUTORAMENTO EN INVESTIGACI ´ ON EN TECNOLOX´ IAS DA INFORMACI ´ ON SANTIAGO DE COMPOSTELA 2023 Declaraci ´ on do autor da tese Don ´ Alvaro Acci´ on Montes T´ ıtulo da tese: Techniques for the extraction of spatial and spectral information in the supervised classification of hyperspectral imagery for land-cover applications Presento a mi˜ na tese, seguindo o procedemento adecuado ao Regulamento, e declaro que: 1. A tese abarca os resultados da elaboraci´ on do meu traballo. 2. De ser o caso, na tese faise referencia ´ as colaboraci´ ons que tivo este traballo. 3. Confirmo que a tese non incorre en ning´un tipo de plaxio doutros autores nin de traballos presentados por min para a obtenci´ on doutros t´ ıtulos. 4. A tese ´ e a versi´ on definitiva presentada para a s´ua defensa e coincide a versi´ on impresa coa presentada en formato electr´ onico. E comprom´ etome a presentar o Compromiso Documental de Supervisi´ on no caso de que o orixinal non estea na Escola. En Manila, 21 de decembro de 2022 Asdo. ´ Alvaro Acci´ on Montes Autorizaci ´ on do director/titor da tese Techniques for the extraction of spatial and spectral information in the supervised classification of hyperspectral imagery for land-cover applications Dona Dora Blanco Heras, Profesor Titular da ´ Area de Arquitectura e Tecnolox´ ıa de Computadores da Universidade de Santiago de Compostela Don Francisco Santiago Arg¨uello Pedreira, Profesor Titular da ´ Area de Arquitectura e Tecnolox´ ıa de Computadores da Universidade de Santiago de Compostela INFORMAN: Que a presente tese corresp´ ondese co traballo realizado por Don ´ Alvaro Acci´ on Montes, baixo a nosa direcci´ on/titorizaci´ on, e autorizamos a s´ua presentaci´ on, considerando que re´une os requisitos esixidos no Regulamento de Estudos de Doutoramento da USC, e que como directores/titores desta non incorre nas causas de abstenci´ on establecidas na Lei 40/2015. De acordo co indicado no Regulamento de Estudos de Doutoramento, declaramos tam´ en que a presente tese de doutoramento ´ e id´ onea para ser defendida en base ´ a modalidade de COMPENDIO DE PUBLICACI ´ ONS, nos que a participaci´ on do/a doutorando/a foi decisiva para a s´ua elaboraci´ on e as publicaci´ ons se axustan ao Plan de Investigaci´ on. En Santiago de Compostela, 21 de decembro de 2022 Asdo. Dora Blanco Heras Directora tese Asdo. Francisco Santiago Arg¨uello Pedreira Director tese To my family and friends Thank you very much for your support and understanding. I would also like to extend my gratitude to my supervisors and colleagues, whose help has made this thesis possible. Resumo O obxectivo desta tese de doutoramento ´ e o desenvolvemento de t´ ecnicas de extracci´ on de informaci´ on espacial-espectral para tarefas de clasificaci´ on supervisada, tanto mediante modelos cl´ asicos como baseados na aprendizaxe profunda, destinadas ao seu uso na clasificaci´ on de imaxes multi e hiperespectrais de uso do solo ou cobertura terrestre (LULC ou Land Use/Land Cover) obtidas mediante teledetecci´ on. A finalidade principal que se persegue ´ e a aplicaci´ on eficiente destas t´ ecnicas, de forma que sexan capaces de obter resultados de clasificaci´ on satisfactorios cun baixo uso de recursos computacionais e baixo tempo de execuci´ on. Nesta tese desenv´ olvense d´uas li˜ nas de investigaci´ on principais: Unha primeira li˜ na orientada ao desenvolvemento de t´ ecnicas de extracci´ on de informaci´ on dese˜ nadas para o seu uso con modelos cl´ asicos, xunto coa s´ua adaptaci´ on a arquitecturas multin´ucleo e GPU (Graphics Processing Unit) de consumo. Unha segunda li˜ na orientada ao desenvolvemento de t´ ecnicas de extracci´ on de informaci´ on destinadas a aumentar os datos para modelos baseados na aprendizaxe profunda. A teledetecci´ on pode definirse como a adquisici´ on de informaci´ on dun determinado obxec- to ou, m´ ais xenericamente, escena, sen un contacto f´ ısico directo. Esta tarefa ´ e com´unmente realizada por unha variedade de sensores especializados que capturan informaci´ on do espectro electromagn´ etico. Dependendo da s´ua finalidade, estes sensores difer´ encianse, entre outras cousas, no rango do espectro electromagn´ etico sobre o que operan e a informaci´ on que son capaces de adquirir. Os avances tecnol´ oxicos na captura de imaxes multidimensionais melloraron a capacidade de adquisici´ on de datos dos sensores utilizados tanto en sat´ elites como, m´ ais recentemente, en veh´ ıculos a´ ereos non tripulados (UAVs ou Unmanned Aerial Vehicles). As imaxes hiperespectrais e multiespectrais v´ e˜ nense empregando con ´ exito para realizar diversas tarefas como estudos de biodiversidade [158], xesti´ on de inventarios de vexetaci´ on [124], etc., de xeito semiautomatizado ou para aumentar a eficiencia dos procesos de produci´ on ´ Alvaro Acci´ on Montes en campos como a agricultura de precisi´ on [75, 146]. A principal caracter´ ıstica distintiva deste tipo de imaxes reside no rango electromagn´ etico e no n´umero de frecuencias nas que se capta a informaci´ on. A informaci´ on captada pode inclu´ ır partes do espectro infravermello e ultravioleta mentres que o n´umero de bandas pode ir de tres a algo m´ ais de dez, no caso das imaxes multiespectrais, ata decenas ou centos de bandas no caso de imaxes hiperespectrais. Esta gran cantidade de informaci´ on permite unha maior separabilidade [67] entre os distintos materiais presentes nunha escena en comparaci´ on coas imaxes RGB, o que fixo que este tipo de imaxes se empreguen habitualmente en tarefas de clasificaci´ on no campo da teledetecci´ on. As imaxes multiespectrais e hiperespectrais son an´ alogas a un cubo de datos tridimensional, con d´uas dimensi´ ons espaciais correspondentes ´ a anchura e ´ a altura, e unha dimensi´ on espectral formada polas diferentes bandas espectrais. Dependendo da composici´ on qu´ ımica dunha substancia, esta presenta interacci´ ons espec´ ıficas co espectro electromagn´ etico. Na espectroscop´ ıa de imaxes, cada p´ ıxel dunha imaxe est´ a composto por un vector de bandas no que cada un dos seus elementos representa un valor de intensidade para unha determinada lonxitude de onda [56]. Esta intensidade est´ a relacionada coas caracter´ ısticas do material [59], onde diferentes materiais presentan distintos perf´ ıs de emisi´ on, absorci´ on, reflectancia, fluorescencia, etc. para diferentes frecuencias. Grazas a este principio, cada un dos materiais presentes nunha escena pode caracterizarse polo conxunto de valores de intensidade en cada unha das bandas para os p´ ıxeles onde se sit´ua. Esta caracter´ ıstica, tam´ en chamada sinatura espectral [104], ´ e espec´ ıfica de cada material e permite a s´ua identificaci´ on estudando a s´ua semellanza con outras sinaturas de materiais co˜ necidas. Na pr´ actica, o proceso de identificaci´ on de materiais mediante a s´ua sinatura espectral vese afectado polo fen´ omeno da variabilidade espectral [31], onde factores como a iluminaci´ on, os efectos atmosf´ ericos ou o ru´ ıdo nas medici´ ons [123, 21] modifican as sinaturas espectrais. A clasificaci´ on de imaxes de alta dimensionalidade ´ e un dos campos cient´ ıficos m´ ais activos das ´ultimas d´ ecadas [138, 168, 157, 127, 45]. Este proceso de clasificaci´ on consiste en asignar etiquetas de clase aos p´ ıxeles presentes nunha imaxe nun proceso que pode ser non supervisado ou supervisado [6]: •Nun proceso de clasificaci´ on non supervisado, os p´ ıxeles agr´upanse en conxuntos similares sen o uso de informaci´ on previa. Neste proceso non supervisado, a imaxe de teledetecci´ on div´ ıdese en varios grupos de p´ ıxeles mediante a aplicaci´ on de algoritmos de clustering. xvi RESUMO •No proceso de clasificaci´ on supervisada empr´ egase un subconxunto de datos que se considera representativo do conxunto orixinal, no cal existen pares de valores compostos por unha mostra e a etiqueta de clase ´ a que esta pertence, para adestrar un modelo de aprendizaxe autom´ atica (para a aprendizaxe baseada en modelos) ou para a comparaci´ on de mostras cruzadas (para a aprendizaxe baseada en instancias). Esta informaci´ on empregarase de seguido para predicir a clase do resto do conxunto orixinal. A aprendizaxe autom´ atica tivo un papel fundamental no avance das aplicaci´ ons para as imaxes de alta dimensionalidade como ferramenta no ´ ambito civil. Os avances en este campo est´ an relacionados coas melloras tecnol´ oxicas que permitiron o incremento nas prestaci´ ons dos sensores empregados para a captura de datos e os sistemas de computaci´ on requiridos para o seu procesamento. Un esquema de clasificaci´ on tradicional para esta tarefa est´ a composto de catro etapas fundamentalmente, que son: preprocesado, onde un grupo de transformaci´ ons iniciais se aplica aos datos de entrada para mellorar os datos ou preparalo para a clasificaci´ on; extracci´ on de caracter´ ısticas, onde os datos son transformados para extraer as caracter´ ısticas relevantes; clasificaci´ on, onde os datos de adestramento son enviados ao modelo seleccionado para a extracci´ on de informaci´ on que permita asignar as etiquetas de clase ´ as mostras e, finalmente, postprocesado, onde a sa´ ıda do modelo ´ e mellorada. Son moitas as t´ ecnicas propostas para a clasificaci´ on supervisada deste tipo de imaxes. Ditas t´ ecnicas foron evolucionando dende o uso da informaci´ on espectral, exclusivamente, ´ o uso combinado de informaci´ on espacial-espectral a trav´ es de modelos tradicionais de aprendizaxe autom´ atica, ata finalmente chegar ´ a aplicaci´ on de aprendizaxe mediante redes neuronais profundas. Distinguiremos tres grupos, principalmente: •T´ ecnicas baseadas na informaci´ on espectral, onde a imaxe ´ e considerada como un conxunto unidimensional de vectores espectrais. Este tipo de t´ ecnicas realizan a clasificaci´ on exclusivamente mediante o uso de informaci´ on espectral sen ning´un tipo de estrutura espacial. Exemplos disto poden ser o uso de clasificadores como Random Forest (RF) [63, 73, 17] ou m´ aquinas de soporte vectorial (SVM ou Support Vector Machines) [61, 48, 30, 132], que non fan uso da informaci´ on de contexto. Existen m´ultiples limitaci´ ons relacionadas co uso de informaci´ on s´ o espectral, entre as que destaca que en determinadas circunstancias a separabilidade entre clases pode ser baixa debido ´ a variabilidade espectral para cada material e a similitude entre as sinaturas dos diferentes materiais. Esta situaci´ on pode darse, por exemplo, no caso da clasificaci´ on de varias xvii ´ Alvaro Acci´ on Montes especies de vexetaci´ on, onde a informaci´ on das texturas e as s´uas m´ etricas pode ser crucial para a separabilidade entre as clases [15]. Ademais disto, para resoluci´ ons espaciais baixas, un s´ o p´ ıxel pode conter unha combinaci´ on de informaci´ on dos espectros de varias clases. Para corrixir este problema, l´ evase a cabo un proceso de hyperespectral unmixing [109] no que se identifican as achegas dos distintos materiais para cada p´ ıxel da escena. As´ ı mesmo, o gran n´umero de bandas altamente correlacionadas xunto cun n´umero relativamente baixo de mostras e a variabilidade espectral poden provocar a aparici´ on do denominado fen´ omeno Hughes [78] ou maldici´ on da dimensionalidade. Para evitalo, o uso de t´ ecnicas de reduci´ on da dimensionalidade como PCA [89] ou ICA [144] permiten extraer un n´umero reducido de bandas m´ ais relevantes para a s´ua posterior an´ alise. •T´ ecnicas baseadas na informaci´ on espacial-espectral, nas que a clasificaci´ on fai uso das interdependencias ou relaci´ ons estruturais dos p´ ıxeles dunha imaxe. As formas e texturas xeradas polos p´ ıxeles que forman a imaxe poden permitir un aumento da precisi´ on obtida polos clasificadores [50]. Dentro deste grupo at´ opanse t´ ecnicas como a regularizaci´ on espacial [165], os diferentes perf´ ıs morfol´ oxicos [19, 18, 44, 57] ou a aprendizaxe conxunta (JL ou Joint Learning). [114]. A regularizaci´ on espacial bas´ ease na aplicaci´ on dun modelo con informaci´ on espacial aos resultados da clasificaci´ on de datos espectrais. Hai varias formas de conseguilo, xa sexa aplicando m´ etodos non supervisados como a segmentaci´ on [91], ou ben m´ etodos supervisados como [155] campos de Markov ou campos aleatorios condicionais (CRF ou Conditional Random Fields). ) [169]. Os Perf´ ıs Morfol´ oxicos (MP ou Morphological Profiles), dos que existen numerosas variantes, fan uso da morfolox´ ıa matem´ atica e, en particular, das operaci´ ons de apertura e peche para crear varias versi´ ons da imaxe orixinal con diferente granularidade que se agrupan no que se denomina perfil morfol´ oxico e despois son procesados por un clasificador. Entre as variantes m´ ais populares dos perf´ ıs morfol´ oxicos podemos atopar perf´ ıs de atributos (APs ou Attribute Profiles) [44] ou perf´ ıs de extinci´ on (EPs ou Extinction Profiles) [57]. Finalmente, a aprendizaxe conxunta consiste na aprendizaxe simult´ anea de caracter´ ısticas espaciais e espectrais mediante o uso de kernels espec´ ıficos. Isto p´ odese ver, por exemplo, no uso de tales kernels en combinaci´ on con SVM para a an´ alise de veci˜ nanza de p´ ıxeles en tarefas de clasificaci´ on de [49]. •T´ ecnicas baseadas na aprendizaxe profunda, que foron introducidas m´ ais recentemente para a clasificaci´ on de datos de teledetecci´ on e, en particular, para imaxes multi e hiperxviii RESUMO espectrais [33, 159, 12, 85, 108]. Os resultados obtidos polos m´ etodos de deep learning foron superiores aos obtidos polos clasificadores tradicionais e permitiron avanzar en diversas frontes, como a extracci´ on de caracter´ ısticas (FE ou Feature Extraction) ao incorporar autoencorders ou xeraci´ on de datos sint´ eticos procedentes do uso de redes xerativas adversarias (GANs ou Generative Adversarial Networks) [164, 147]. As redes neuronais convolucionais (CNN ou Convolutional Neural Networks) [80] utiliz´ aronse amplamente para a clasificaci´ on supervisada de imaxes de alta dimensionalidade [81]. Outras arquitecturas frecuentes incl´uen Deep Belief Networks (DBN) [33], Autoencoders (AE) [156], ou redes residuais espectrais-espaciais (SSRN ou Spectral-Spatial Residual Networks) [170]. En xeral, un maior rango electromagn´ etico e unha maior resoluci´ on, tanto espectral (n´umero de bandas separables contiguas) como espacial (densidade de p´ ıxeles por unidade de ´ area), dan como resultado unha identificaci´ on m´ ais precisa dos materiais nunha escena. O uso de imaxes de alta dimensionalidade presenta uns retos [120, 94, 20] que te˜ nen que ver co enorme volume de datos xerados e o custo computacional do seu procesamento, o que fai que a creaci´ on de algoritmos e t´ ecnicas eficientes aplicables aos esquemas de clasificaci´ on adquira especial importancia ante o uso de unha cantidade de datos cada vez maior. O uso da informaci´ on espacial-espectral, xunto con t´ ecnicas baseadas na aprendizaxe profunda, presentan mellores resultados a costa dun maior uso dos recursos computacionais [29]. No caso destes ´ultimos, as enormes necesidades de datos necesarias para conseguir unha boa xeneralizaci´ on do modelo supo˜ nen un problema nun ´ ambito no que a obtenci´ on de conxuntos de datos etiquetados pode resultar custosa debido ´ a necesidade de intervenci´ on humana no proceso de etiquetado. Xunto a isto, a tendencia actual ao aumento da complexidade dos modelos xera unha explosi´ on no n´umero de par´ ametros que entrou no campo dos rendementos decrecentes [134]. Co obxectivo de democratizar o acceso ao procesamento das imaxes multi e hiperespectrais e, potencialmente nun futuro, levar a cabo a transici´ on ´ a computaci´ on m´ obil, resulta de especial relevancia a obtenci´ on de algoritmos que permitan a realizaci´ on destas tarefas en hardware de prop´ osito xeral. O anteriormente exposto implica a necesidade de t´ ecnicas de extracci´ on de informaci´ on espacial-espectral que sexan eficientes e capaces de obter resultados de clasificaci´ on satisfactorios nun hardware con recursos m´ ais reducidos. Por este motivo, def´ ınense como parte desta tese as seguintes hip´ oteses: xix ´ Alvaro Acci´ on Montes •H1. A aplicaci´ on de t´ ecnicas de preprocesado baseadas na extracci´ on de informaci´ on espacial-espectral, como a segmentaci´ on ou a construci´ on de perf´ ıs baseados en operaci´ ons morfol´ oxicas, atributos ou difusi´ on, permiten unha mellora na precisi´ on da clasificaci´ on de imaxes multi e hiperespectrais de cobertura do solo. Esto ´ e v´ alido tanto para t´ ecnicas consideradas cl´ asicas como para as baseadas en redes de aprendizaxe profunda. •H2. O desenvolvemento de algoritmos para arquitecturas altamente paralelas como GPUs pode xerar ganancias significativas nos tempos de execuci´ on sobre as s´uas contrapartidas para CPU no procesamento de imaxes multi e hiperespectrais. •H3. O preprocesado baseado na segmentaci´ on multidimensional das imaxes permite reducir a complexidade do adestramento dos modelos baseados na aprendizaxe profunda, conseguindo melloras significativas nos tempos de execuci´ on en escenas de gran tama˜ no. •H4. As t´ ecnicas de aumentado de datos aplicadas ´ a aprendizaxe profunda permiten un aumento da precisi´ on de clasificaci´ on en situaci´ ons con escaso n´umero de mostras de adestramento. Das hip´ oteses anteriores extra´ eronse os seguintes obxectivos espec´ ıficos: •O1. Desenvolvemento de t´ ecnicas de extracci´ on de informaci´ on espacial-espectral para modelos de clasificaci´ on cl´ asicos. An´ alise do estado da arte da clasificaci´ on de imaxes multi e hiperespectrais de cobertura do terrestre e desenvolvemento de novas t´ ecnicas eficientes para a extracci´ on de informaci´ on espacial-espectral. •O2. Desenvolvemento de t´ ecnicas de extracci´ on de informaci´ on espacial-espectral para modelos baseados na aprendizaxe profunda. Creaci´ on de esquemas de clasificaci´ on eficientes orientados a imaxes multi e hiperespectrais de cobertura do solo de alta e moi alta resoluci´ on. •O3. Proxecci´ on dos m´ etodos desenvolvidos en arquitecturas paralelas. Consideraranse arquitecturas multin´ucleo e GPU. Dado o requirimento da obtenci´ on de algoritmos eficientes orientados a hardware de consumo, as propostas desenvolvidas foron implementadas sobre C++, empregando OpenMP e CUDA para as versi´ ons CPU e GPU, respectivamente. Numerosas optimizaci´ ons espec´ ıficas xx RESUMO foron aplicadas orientadas a maximizar o rendemento en GPU, entre as que destacan optimizaci´ ons dedicadas ao acceso ´ a memoria, optimizaci´ ons relativas ´ as instruci´ ons para determinadas operaci´ ons, e optimizaci´ ons orientadas ao aumento do uso de recursos dispo˜ nibles na GPU mediante a selecci´ on de tama˜ nos de bloque. O c´ odigo para as propostas de m´ etodos de aumentado de datos foi escrito en Python, empregando a biblioteca de c´ odigo aberto Tensorflow, debido ao total dominio que esta linguaxe ten no campo das redes neuronais e machine learning en xeral. A validaci´ on experimental for realizada empregando tres conxuntos de datos con caracter´ ısticas moi diferentes entre eles. Un primeiro conxunto de datos hiperespectral con imaxes comunmente empregadas para benchmarking, de baixa resoluci´ on espacial capturadas polos sensores ROSIS-03 e AVIRIS con escenas de vexetaci´ on e urbanas. Un segundo conxunto de datos, denominado Galicia dataset, formado imaxes multiespectrais de vexetaci´ on pr´ oxima a cuncas de r´ ıos, capturadas en varias rexi´ ons de Galicia mediante un sensor montado en un UAV. Estas imaxes presentan un tama˜ no considerablemente superior ´ as do primeiro conxunto e te˜ nen unha gran resoluci´ on espacial, o que fai especialmente custoso o seu procesamento. Por ´ultimo, un conxunto de datos multiespectral composto por 18 imaxes obtido polo sat´ elite Gaofen-2 con escenas de diferentes rexi´ ons de China. A validaci´ on das hip´ oteses como parte do traballo desta tese para acadar os obxectivos anteriormente descritos deu lugar ´ as seguintes achegas: 1. Proposta dun m´ etodo de extracci´ on de informaci´ on espacial-espectral baseado na aplicaci´ on da difusi´ on non lineal. Esta proposta deu lugar aos chamados perf´ ıs de difusi´ on anisotr´ opica estendida (EADP ou Extended Anisotropic Diffusion Profiles, inspirados en perf´ ıs morfol´ oxicos. O EADP constr´uese mediante a concatenaci´ on dunha serie de instancias de difusi´ on non lineal aplicadas sobre os compo˜ nentes principais extra´ ıdos dunha imaxe hiperespectral, o que xera novas compo˜ nentes con un nivel de detalle decrecente. A introduci´ on destas compo˜ nentes permite unha reduci´ on da variabilidade espectral das sinaturas dos diferentes materiais, o que redunda nun incremento no rendemento na clasificaci´ on. Propux´ eronse implementaci´ ons optimizadas para CPU multin´ucleo desenvolvidas mediante OpenMP e para GPU, mediante CUDA, orientadas a hardware de consumo. As capacidades de procesamento paralelo en GPU permitiron acadar unha mellora en tempos de procesamento de arredor de 10×grazas ao emprego de algoritmos eficientes adaptados a estas arquitecturas. Finalmente, det´ allase unha caracterizaci´ on dos perf´ ıs de difusi´ on e o seu rendemento de clasificaci´ on mediante xxi ´ Alvaro Acci´ on Montes un modelo SVM con outros m´ etodos existentes na literatura como perf´ ıs morfol´ oxicos estendidos (EMP ou Extended Morphological Profiles), perf´ ıs de atributos estendidos (EAP ou Extended Attribute Profiles), perf´ ıs de extinci´ on estendidos (EEP ou Extended Extinction Profiles), etc. 2. Proposta para un m´ etodo de aumentado de datos baseado na composici´ on de transformaci´ ons xeom´ etricas denominadas aumentado de datos de superp´ ıxeles de dobre xanela (DWS ou Dual-Window Superpixel). Esta t´ ecnica de aumento, orientada a esquemas de clasificaci´ on de aprendizaxe profunda baseados en redes neuronais convolucionais, bas´ ease en particionar os parches de datos de entrada ´ a rede en d´uas zonas independentes nas que se aplican diferentes transformaci´ ons xeom´ etricas convencionais. O m´ etodo parte da hip´ otese de que a zona central cont´ en os datos m´ ais relevantes para a clasificaci´ on. Os parches de entrada p´ odense obter mediante unha xanela deslizante, procesando p´ ıxel a p´ ıxel a imaxe e extraendo un subconxunto de p´ ıxeles coas dimensi´ ons da xanela ou, a diferencia destos, tomarse arredor dun p´ ıxel central para rexi´ ons independentes da imaxe. Estas rexi´ ons independentes corresponderanse cos superp´ ıxeles obtidos polo algoritmo SLIC (Simple Linear Iterative Clustering) [4] e a etiqueta deste p´ ıxel central ser´ a asignada a todos os seus p´ ıxeles. A t´ ecnica est´ a dividida en tres etapas diferentes: extracci´ on de p´ ıxeles baseada en superp´ ıxeles, subdivisi´ on de parches de entrada, e transformaci´ on dos parches. Usar esta t´ ecnica de aumento xunto coa segmentaci´ on de superp´ ıxeles reduce significativamente os custos de procesamento de imaxes, permitindo que se use en imaxes grandes con tempos de execuci´ on razoables. Esta proposta obt´ en unha maior precisi´ on global que as transformaci´ ons de espello e rotaci´ on cando estas se aplican ´ a rexi´ on interior en lugar de a todo o parche. Ademais, a aplicaci´ on das transformaci´ ons sobre ambas rexi´ ons permite a xeraci´ on dunha maior cantidade de datos, o que mellora o rendemento da clasificaci´ on. O m´ etodo proposto foi empregado xunto cunha arquitectura CNN, onde consegue obter rendementos superiores a m´ etodos de aumentado de datos comparables presentes na literatura. 3. Proposta para un m´ etodo de aumentado de datos [125] baseado na imputaci´ on de datos [141]. A premisa consiste na substituci´ on de determinados datos da zona exterior dos parches de entrada obtidos mediante o uso dun algoritmo de segmentaci´ on de superp´ ıxeles. Estes datos, en zonas de bordes irregulares nas estruturas da escena, poden pertencer a clases diferentes da clase real do parche e a s´ua eliminaci´ on permite mellorar a precisi´ on da clasificaci´ on en esquemas de aprendizaxe profunda baseados en redes xxii RESUMO neuronais convolucionais. Para xerar estes datos sint´ eticos util´ ızanse diversas t´ ecnicas de imputaci´ on de datos, dando lugar a un novo parche aumentado que se env´ ıa ´ a rede neuronal xunto co parche orixinal. O uso da segmentaci´ on en superp´ ıxeles permite reducir os custos de procesamento de imaxes, como suced´ ıa con DWS. A novidade introducida neste traballo est´ a na eliminaci´ on e o reemprazo dos p´ ıxeles dos parches de entrada mediante o uso dunha combinaci´ on da informaci´ on da segmentaci´ on e imputaci´ on de datos, o que redunda en parches de entrada m´ ais homox´ eneos e permite a mellora da precisi´ on da clasificaci´ on. Os resultados da proposta obtiveron a maior precisi´ on en 16 das 17 escenas do conxunto de datos Gaofen-2 e constit´ue o primeiro exemplo do uso de imputaci´ on para o aumentado de datos en imaxes multi e hiperespectrais. Para a avaliaci´ on dos resultados, empreg´ aronse diversas m´ etricas comunmente presentes na literatura, como a precisi´ on total, precisi´ on media, ou Kappa. O custo computacional dos algoritmos foi medido en termos do tempo de execuci´ on, ou tempo de reloxo requirido entre a primeira etapa dun algoritmo e a etapa final. Dita avaliaci´ on dos resultados obtidos polas diferentes propostas apoiou as hip´ oteses expostas e permitiu determinar o cumprimento satisfactorio dos obxectivos marcados ao comezo da tese. Os m´ etodos de extracci´ on de informaci´ on que se presentan son aplicables a unha variedade de problemas relevantes no ´ ambito da clasificaci´ on de imaxes multi e hiperespectrais. Como traballo futuro, cont´ emplase a posibilidade de aplicar os EADP a outros problemas, como poden ser aqueles relacionados co rexistrado, a detecci´ on de cambios ou a detecci´ on de anomal´ ıas. Do mesmo xeito, as propostas de aumentado de datos non est´ an limitadas a unha arquitectura concreta de rede e poder´ ıa estudarse o seu uso con outras arquitecturas diferentes. Adicionalmente, a inclusi´ on de t´ ecnicas para a mitigaci´ on do desbalanceo de clases poder´ ıa demostrar ser de interese para a mellora dos resultados de clasificaci´ on. xxiii RESUMEN orientados a im´ agenes multi e hiperespectrales de cobertura terrestre de alta y muy alta resoluci´ on. •O3. Proyecci´ on de los m´ etodos desarrollados en arquitecturas paralelas. Se considerar´ an las arquitecturas multi-n´ucleo y GPU. Dado el requerimiento de la obtenci´ on de algoritmos eficientes orientados a hardware de consumo, las propuestas desarrolladas fueron implementadas sobre C++, empleando OpenMP y CUDA para las versiones CPU y GPU, respectivamente. Numerosas optimizaciones espec´ ıficas fueron aplicadas orientadas a maximizar el rendimiento en GPU, entre las que destacan optimizaciones dedicadas al acceso a la memoria, optimizaciones relativas a las instrucciones para determinadas operaciones, y optimizaciones orientadas al aumento del uso de recursos disponibles en la GPU mediante la selecci´ on de tama˜ nos de bloque. El c´ odigo para las propuestas de m´ etodos de aumentado de datos fue escrito en Python, empleando la biblioteca de c´ odigo abierto Tensorflow, debido al total dominio que este lenguaje tiene en el campo de las redes neuronales y machine learning en general. La validaci´ on experimental fue realizada usando tres conjuntos de datos con caracter´ ısticas muy diferentes entre ellos. Un primer conjunto de datos hiperespectral con im´ agenes com´unmente empleadas para benchmarking, de baja resoluci´ on espacial capturadas por los sensores ROSIS-03 y AVIRIS con escenas de vegetaci´ on y urbanas. Un segundo conjunto de datos, denominado Galicia dataset, formado im´ agenes multiespectrales de vegetaci´ on pr´ oxima a cuencas de r´ ıos, capturadas en varias regiones de Galicia mediante un sensor montado en un UAV. Estas im´ agenes presentan un tama˜ no considerablemente superior a las del primer conjunto y tienen una gran resoluci´ on espacial, lo que hace especialmente costoso su procesamiento. Por ´ultimo, un conjunto de datos multiespectral compuesto por 18 im´ agenes obtenido por el sat´ elite Gaofen-2 con escenas de diferentes regiones de China. La validaci´ on de las hip´ otesis como parte del trabajo de esta tesis para alcanzar los objetivos anteriormente descritos dio lugar a las siguientes aportaciones: 1. Propuesta de un m´ etodo de extracci´ on de informaci´ on espacial-espectral basada en la aplicaci´ on de difusi´ on no lineal. Dicha propuesta dio lugar a los denominados perfiles extendidos de difusi´ on anisotr´ opica (EADP, Extended Anisotropic Diffusion Profiles), inspirados en los perfiles morfol´ ogicos. El EADP se construye mediante la concatenaci´ on de una serie de instancias de difusi´ on no lineal aplicadas sobre las componentes principales extra´ ıdas de una imagen hiperespectral, lo que genera nuevas componentes xxxi ´ Alvaro Acci´ on Montes con niveles de detalle decrecientes. La introducci´ on de estas componentes permite una reducci´ on de la variabilidad espectral de las firmas de los diferentes materiales, lo que redunda en un incremento en el rendimiento en la clasificaci´ on. Se han propuesto implementaciones optimizadas para CPU multin´ucleo desarrolladas mediante OpenMP y para GPU, utilizando CUDA, orientadas a hardware de consumo. Las capacidades de procesamiento paralelo en GPU permitieron alcanzar una mejora en tiempos de procesamiento de alrededor de 10×gracias al empleo de algoritmos eficientes adaptados a estas arquitecturas. Para finalizar, se detalla una caracterizaci´ on de los perfiles de difusi´ on y su rendimiento en la clasificaci´ on mediante un modelo SVM, compar´ andolo con otros m´ etodos existentes en la literatura tales como perfiles morfol´ ogicos extendidos (EMP oExtended Morphological Profiles), perfiles de atributos extendidos (EAP o Extended Attribute Profiles), perfiles de extinci´ on extendidos (EEP o Extended Extinction Profiles, etc. 2. Propuesta de m´ etodo de aumentado de datos basado en la composici´ on de transformaciones geom´ etricas denominado aumentado de datos de superp´ ıxeles de doble ventana (DWS o Dual-Window Superpixel). Esta t´ ecnica de aumentado, orientada a esquemas de clasificaci´ on de aprendizaje profundo basados en redes neuronales convolucionales se basa en un particionado de los parches de datos de entrada a la red en dos zonas independientes sobre las que se aplican diferentes transformaciones geom´ etricas convencionales. El m´ etodo parte de la hip´ otesis de que la zona central contiene los datos m´ as relevantes para la clasificaci´ on. Los parches de entrada se pueden obtener mediante una ventana deslizante, procesando la imagen p´ ıxel a p´ ıxel y extrayendo un subconjunto de p´ ıxeles con las dimensiones de la ventana o, a diferencia del m´ etodo anterior, tomarse alrededor de un p´ ıxel central para regiones independientes de la imagen. Estas regiones independientes se corresponden con los superp´ ıxeles obtenidos mediante el algoritmo SLIC (Simple Linear Iterative Clustering) [4] y la etiqueta del p´ ıxel central ser´ a asignada a todos sus p´ ıxeles. El uso de esta t´ ecnica de aumentado junto a la segmentaci´ on en superp´ ıxeles reduce de forma significativa los costes de procesamiento de las im´ agenes, lo que permite su uso en im´ agenes de gran tama˜ no con tiempos de ejecuci´ on razonables. Esta propuesta obtiene una mayor precisi´ on global que las transformaciones de espejo y rotaci´ on cuando ´ estas se aplican a la regi´ on interior en lugar de a todo el parche. Adem´ as, la aplicaci´ on de las transformaciones sobre ambas regiones de forma independiente permite generar una mayor cantidad de datos, lo que mejora el rendimiento de xxxii RESUMEN la clasificaci´ on. El m´ etodo propuesto fue empleado junto con una arquitectura CNN, donde consigue obtener rendimientos superiores a m´ etodos de aumentado de datos comparables presentes en la literatura. 3. Propuesta de m´ etodo de aumentado de datos [125] basado en la imputaci´ on de datos [141]. La premisa consiste en el reemplazo de ciertos datos de la zona exterior de los parches de entrada obtenida mediante el uso de un algoritmo de segmentaci´ on en superp´ ıxeles. Estos datos, en zonas de fronteras irregulares en las estructuras de la escena, pueden pertenecer a clases diferentes a la clase real del parche y su eliminaci´ on permite una mejor´ ıa de las precisiones de clasificaci´ on en esquemas de aprendizaje profundo basados en redes neuronales convolucionales. Diversas t´ ecnicas de imputaci´ on de datos son utilizadas para la generaci´ on de estos datos sint´ eticos, dando lugar a un nuevo parche aumentado que es enviado a la red neuronal junto con el parche original. El uso de la segmentaci´ on en superp´ ıxeles permite reducir los costes de procesamiento de las im´ agenes, al igual que suced´ ıa con DWS. La novedad introducida en este trabajo est´ a en la eliminaci´ on y el reemplazo de los p´ ıxeles de los parches de entrada mediante el uso de una combinaci´ on de la informaci´ on de la segmentaci´ on y la imputaci´ on de datos, lo que redunda en parches de entrada m´ as homog´ eneos y permite una mejora en la precisi´ on de la clasificaci´ on. Los resultados de la propuesta obtuvieron la mayor precisi´ on en 16 de las 17 escenas del conjunto de datos Gaofen-2 y constituyen el primer ejemplo del uso de imputaci´ on para el aumentado de datos en im´ agenes multi e hiperespectrales. Para la evaluaci´ on de los resultados, se emplearon diversas m´ etricas com´unmente presentes en la literatura, como la precisi´ on total, precisi´ on media, o Kappa. El coste computacional de los algoritmos fue medido en t´ erminos del tiempo de ejecuci´ on, o tiempo de reloj requerido entre la primera etapa de un algoritmo y la etapa final. Dicha evaluaci´ on de los resultados obtenidos por las diferentes propuestas apoy´ o las hip´ otesis expuestas y permiti´ o determinar el cumplimiento satisfactorio de los objetivos marcados al inicio de la tesis. Los m´ etodos de extracci´ on de informaci´ on que se presentan son aplicables la una variedad de problemas relevantes en el ´ ambito de la clasificaci´ on de im´ agenes multi e hiperespectrales. Como trabajo futuro, se contempla la posibilidad de aplicar los EADP la otros problemas, como pueden ser aquellos relacionados con el registrado, la detecci´ on de cambios o la detecci´ on de anomal´ ıas. Del mismo modo, las propuestas de aumentado de datos no est´ an limitadas a xxxiii ´ Alvaro Acci´ on Montes una arquitectura concreta de red y podr´ ıa estudiarse su uso con otras arquitecturas diferentes. Adicionalmente, la inclusi´ on de t´ ecnicas para la mitigaci´ on del desbalanceo de clases podr´ ıa demostrar ser de inter´ es para la mejora de los resultados de clasificaci´ on. xxxiv Summary The objective of this doctoral thesis is the development of spatial-spectral information extraction techniques for supervised classification tasks, using both classical and deep learning-based models, intended for the classification of remotely sensed multi and hyperspectral, land use, and land cover (LULC) images. The main objective is to apply these techniques in an efficient way so that they are able to obtain satisfactory classification results with low use of computational resources and execution time. Two research lines are developed as part of this thesis: A first research line oriented towards the development of information extraction techniques designed to be used with classical models, as well as their adaptation to multi-core architectures and consumer GPUs (Graphics Processing Unit). A second research line oriented to the development of information extraction techniques aimed at data augmentation for models based on deep learning. Remote sensing can be defined as the acquisition of information from a given object or, more generically, scene, without direct physical contact. This task is commonly performed by a variety of specialized sensors that capture information from the electromagnetic spectrum. Depending on their purpose, these sensors differ, among other things, in the range of the electromagnetic spectrum over which they operate and the information they are capable of acquiring. Technological advances in multidimensional imaging have improved the data acquisition capabilities of sensors used in both satellites and, more recently, unmanned aerial vehicles (UAVs). Hyperspectral and multispectral images have been successfully used to perform various tasks such as biodiversity studies [158], and vegetation inventory management [124], among others. in a semi-automated way or to increase the efficiency of production processes in fields such as precision agriculture [75, 146]. The main distinguishing feature of this type of imaging lies in the electromagnetic range and the number of frequencies at which the information is captured. The information captured can include parts of the infrared and ´ Alvaro Acci´ on Montes ultraviolet spectrum, while the number of bands can range from three to just over ten, in the case of multispectral images, to tens or hundreds of bands in the case of hyperspectral images. This large amount of information allows for a greater separability [67] between the different materials present in a scene compared to RGB images, which has led to this type of images being commonly used in classification tasks in the field of remote sensing. Multispectral and hyperspectral images are analogous to a three-dimensional data cube, with two spatial dimensions corresponding to width and height and a spectral dimension consisting of the different spectral bands. Depending on the chemical composition of a substance, it has specific interactions with the electromagnetic spectrum. In imaging spectroscopy, each pixel of an image is composed of a vector of bands in which each of its elements represents an intensity value for a given wavelength [56]. This intensity is related to the characteristics of the material [59] since different materials have different emission, absorption, reflectance, fluorescence, etc. profiles for different frequencies. Thanks to this principle, each of the materials present in a scene can be characterized by the set of intensity values of the bands for the pixels where it is located. This characteristic, also called spectral signature [104], is specific to each material and makes it possible to identify it by studying its similarity to other known material signatures. In practice, the process of identifying materials by their spectral signature is affected by the phenomenon of spectral variability [31], where factors such as illumination, atmospheric effects, or noise in the measurements [123, 21] alter the spectral signatures. High-dimensional image classification is one of the most scientifically active fields in recent decades [138, 168, 157, 127, 45]. This classification process consists of assigning class labels to the pixels present in an image in a process that can be either unsupervised or supervised [6]: •In an unsupervised classification process, pixels are grouped into similar sets without the use of prior information. In this unsupervised process, the remote sensing image is partitioned into several pixel groups by applying clustering algorithms. •In the supervised classification process, a subset of data that is considered representative of the original set is used for training a machine learning model (for model-based learning) or for inter-sample comparison (for instance-based learning). The elements of this subset are pairs of values composed of a sample and its corresponding class label. This information will then be used to predict the classes of the rest of the original set. xxxvi SUMMARY Machine learning has played a fundamental role in the evolution of applications for highdimensional images as a tool in the civil sector. Advances in this field are related to the technological improvements that allowed the increase in the performance of the sensors used for data capture and the computer systems required for their processing. A traditional classification scheme for this task is composed of four fundamental stages, which are: preprocessing, where a set of initial transformations is applied to the input data to improve the data or prepare it for classification; feature extraction, where the data is transformed to extract the relevant features; classification, where the training data is sent to the selected model for the extraction of information to assign class labels to the samples and, finally, postprocessing, where the model output is enhanced. There is a multitude of techniques proposed for the supervised classification of this type of image. These have have evolved from the use of spectral information, exclusively, to the combined use of spatial-spectral information by means of traditional machine learning models, and finally by the application of deep learning and sophisticated neural networks. We will distinguish three main groups: •Techniques based on spectral information, where the image is considered as a onedimensional set of spectral vectors. In this type of technique, the classification is performed by using spectral information exclusively, without any spatial structure. Examples of this can be the use of classifiers such as Random Forest (RF) [63, 73, 17] or Support Vector Machines (SVM) [61, 48, 30, 132], which do not use context information. There are multiple limitations regarding the use of only spectral information, among which is that in certain circumstances the separability between classes may be low due to spectral variability for each material and similarity among different material signatures. This situation can occur, for example, in the case of the classification of various vegetation species, where texture information and its metrics can be crucial for the separability between classes [15]. Along with this, for low spatial resolutions, a single pixel may contain a combination of information from the spectra of multiple classes. To correct this problem, a process called hyperspectral unmixing [109], in which the contributions of the different materials are identified for each pixel in the scene, is performed. Likewise, the large number of highly correlated bands together with a relatively low number of samples and spectral variability can cause the occurrence of the so-called Hughes’ phenomenon [78] or the curse of dimensionality. To avoid this, the use of dimensionality reduction techniques such as PCA [89] or ICA [144] allow the xxxvii ´ Alvaro Acci´ on Montes extraction of a reduced number of the most relevant bands for further analysis. •Techniques based on spatial-spectral information, in which classification makes use of the inter-dependencies or structural relationships of the pixels in an image. The shapes and textures generated by the pixels that make up the image can allow an increase in the accuracy obtained by the classifiers [50]. This group includes techniques such as spatial regularization [165], different morphological profiles [19, 18, 44, 57] or Joint Learning (JL). [114]. Spatial regularization is based on the application of a model with spatial information to the classification results of spectral data. There are multiple ways to achieve this, either by applying unsupervised methods such as segmentation [91], or supervised methods such as Markov fields [155] or Conditional Random Fields (CRFs) [169]. Morphological Profiles (MPs), of which there are numerous variants, make use of mathematical morphology and, in particular, open and close operations to clear multiple versions with a different granularity of the original image that are grouped into what is called a morphological profile and then processed by a classifier. Among the most popular variants of morphological profiles we can find Attribute Profiles (APs) [44] or Extinction Profiles (EPs) [57]. Finally, ensemble learning consists of simultaneous learning of spatial and spectral features by using specific kernels. This can be seen, for example, in the use of such kernels in combination with SVM for pixel neighborhood analysis in classification tasks [49]. •Deep learning-based techniques, which have been introduced more recently for classification of remotely sensed data and, in particular, for multi- and hyperspectral imaging [33, 159, 12, 85, 108]. The results obtained by deep learning methods have been superior to those obtained by traditional classifiers and have allowed progress on several fronts, such as feature extraction (FE) by incorporating autoencoders or synthetic data generated from the use of generative adversarial networks (GANs). Convolutional Neural Networks (CNNs) [80] have been used extensively for supervised high-dimensional image classification [81]. Other common network architectures include Deep Belief Networks (DBN) [33], Autoencoders (AE) [156], or Spectral-Spatial Residual Networks (SSRN) [170]. Generally, a broader electromagnetic range and higher resolution, both spectrally (number of contiguous separable bands) and spatially (pixel density per unit area), result in more accurate identification of materials in a scene. The use of high-dimensional images presents some xxxviii SUMMARY challenges [120, 94, 20] related to the sheer volume of data generated and the computational cost of processing them, which makes the development of efficient algorithms and techniques applicable to classification schemes particularly important for the use of increasing amounts of data. The use of spatial-spectral information, together with techniques based on deep learning, presents better results at the cost of greater use of computational resources [29]. In the case of the latter, the huge data requirements necessary to achieve good model generalization pose a problem in a domain where obtaining labeled datasets can be costly due to the need for human intervention in the labeling process. Alongside this, the current trend toward increased model complexity generates an explosion in the number of parameters that has entered the realm of diminishing returns [134]. In order to democratize access to the processing of multi and hyperspectral images and, potentially in the future, to make the transition to mobile computing, it is of particular relevance to obtain algorithms that allow performing these tasks on general-purpose hardware. The previous explanation highlights the need for efficient spatial-spectral information extraction techniques capable of obtaining satisfactory classification results on hardware with reduced resources. For this reason, the following hypotheses are defined as part of this thesis: •H1. The application of preprocessing methods based on the extraction of spatial-spectral information, such as segmentation or the construction of profiles based on morphological operations, attributes, or diffusion, yields an improvement in the classification accuracy of multi and hyperspectral land cover images. This is true for both traditional methods, and those based on deep learning networks. •H2. Efficient algorithms developed for highly parallel architectures such as GPUs can provide significant speedups over their CPU counterparts for multi and hyperspectral image processing. •H3. The preprocessing based on multidimensional segmentation of the images reduces the complexity of training models based on deep learning, achieving significant improvements in execution times on large scenes. •H4. Data augmentation techniques applied to deep learning increase the classification accuracy in situations with a low number of training samples. From the above hypotheses, the following specific objectives were extracted: xxxix ´ Alvaro Acci´ on Montes •O1. Development of spatial-spectral information extraction techniques for classical classification models. Analysis of the state of the art of multi and hyperspectral LULC image classification and development of new efficient spatial-spectral information extraction techniques. •O2. Development of spatial-spectral information extraction techniques for deep learningbased models. Creation of efficient classification schemes oriented to multi and hyperspectral LULC images of high and very high resolution. •O3. Projection of the developed methods on parallel architectures. Multi-core and GPU architectures will be considered. Given the requirement of obtaining efficient algorithms oriented to consumer hardware, the proposals developed were implemented in C++, using OpenMP and CUDA for the CPU and GPU versions, respectively. Numerous specific optimizations were applied aimed at maximizing GPU performance, including optimizations dedicated to memory access, optimizations related to the instructions for certain operations, and optimizations aimed at increasing the use of available resources on the GPU through the selection of block sizes. The code for the proposed data augmentation methods was written in Python, using the open source library Tensorflow, due to the dominance of this language in the field of neural networks and machine learning in general. Experimental validation was performed using three datasets with very different characteristics. A first set of hyperspectral data with images commonly used for benchmarking, of low spatial resolution captured by ROSIS-03 and AVIRIS sensors with vegetation and urban scenes. A second dataset, called Galicia dataset, consists of multispectral images of vegetation in the vicinity of river basins, captured in several regions of Galicia using a sensor mounted on a UAV. These images are considerably larger than the first set and have a high spatial resolution, which makes their processing particularly costly. Finally, a multispectral dataset composed of 18 images obtained by the Gaofen-2 satellite with scenes from different regions of China. The validation of the hypotheses as part of the work of this thesis to achieve the objectives described above resulted in the following contributions: 1. Proposal of a spatial-spectral information extraction method based on the application of nonlinear diffusion. This proposal gave rise to the so-called Extended Anisotropic Diffusion Profiles (EADP), inspired by morphological profiles. The EADP is constructed by xl Contents 5 Data augmentation based on data imputation 53 6 Conclusions 55 Conclusions 55 Bibliography 61 List of Figures 81 List of Tables 83 xlvii CHAPTER 1 INTRODUCTION With the advent of new technological advances, the development of specific tools made the process of information capture go from requiring physical contact with the object of interest to not being bound by that restriction and being achievable at a distance. These advances led to what is currently referred to as remote sensing [43]. Remote sensing can be defined as the acquisition of information about an object through the electromagnetic spectrum without requiring physical contact. In this thesis, we are going to refer to remote sensing as the observation of the Earth’s surface by means of the reflected or emitted electromagnetic energy [26]. This process is usually performed by specialized sensors mounted on a variety of platforms, including satellites, airplanes, or certain other types of aircraft. The first satellites that mounted sensors capable of obtaining images from the Earth’s surface were launched during the decade of 1960. The decade of 1970 saw a tremendous development of a multitude of different sensors and associated data processing capabilities. In 1972, Landsat I [154], or Earth Resources Technology Satellite (ERTS), was launched and became the first Earth-orbiting satellite created with the specific intent of studying the planet’s landmasses, as well as the first multispectral satellite. During the 1980s, the first hyperspectral sensors were developed by NASA’s Jet Propulsion Laboratory. Remote sensing reached a global scale in the decade of 1990 and it has been gaining an increasing number of uses in civil applications ever since. Nowadays, a plethora of satellite constellations from different missions provide a wide range of different sensors and capabilities, among which we can find panchromatic sensors (GeoEye-1, Landsat-8, Landsat-9, etc.), multispectral ´ Alvaro Acci´ on Montes sensors (Sentinel-2A, Gaofen-1, Gaofen-2, etc.), hyperspectral sensors (PRISMA, Gaofen-5), and other microwave sensors such as SAR (Sentinel-1A, RADARSAT-2). The information captured by these sensors is useful for a wide rage of applications, including atmospheric studies [133], forestry and agriculture [62, 54], natural hazard studies [121, 82], or resource exploration [13], among others. 1.1 Spectral imaging Numerous different sensors have been developed in the field of remote sensing [136], each of those aimed at capturing data from different regions of the electromagnetic spectrum and with different uses in mind. In this thesis, the focus will be placed on highly dimensional images and, more precisely, multispectral and hyperspectral images. The differentiating characteristics between sensors created with the purpose of acquiring high dimensional images that set them apart from other remote sensing instruments are their high spectral and spatial resolutions. These images have their origin in image spectroscopy [110], which can be defined as the science that studies or examines the spectrum of energy arriving at a sensor in a detailed manner. This energy will depend on the chemical composition of a substance and its interactions with the electromagnetic spectrum. Spectroscopy can be traced back to the experiments performed by Isaac Newton and his analysis of light. Newton showed that light could be decomposed into a continuous spectrum of colors. Later on, W Herschel and J.W. Ritter proved that the sun’s radiation extended beyond the visible range, showing observations that went into the infrared and ultraviolet, respectively. Joseph von Fraunhofer noticed that the light, when sufficiently dispersed, had a large number of black lines, or absorption spectra [105], crossing it. It would be Neils Bohr, however, the scientist responsible for identifying that the origin of the lines was related to the atomic structure of gases. These pioneering works set the basis for the modern quantitative analysis of the electromagnetic spectrum. Similarly to the experiments carried out by these scientists, modern hyperspectral sensors work by leveraging a set of lenses meant to disperse the light into spectral regions for its analysis. In imaging spectroscopy, each pixel of an image is composed of a vector of bands in which each of its elements represents an intensity value for a given wavelength [56]. This intensity is related to the characteristics of the material [59], with different materials presenting different profiles of emission, absorption, reflectance, fluorescence, etc. for different frequencies. 2 CHAPTER 1. INTRODUCTION Figure 1.1: Sample spectral signatures of several artificial materials, as provided by [74] Thanks to this principle, the materials present in a scene can be characterized by the set of intensity values in each of the bands for the pixels where it is located. This characteristic, also called spectral signature, is specific to each material and makes it possible to identify it by studying its similarity to other known material signatures. Figure 1.1 shows example spectral signatures of several artificial materials. In practice, the process of identifying materials by means of their spectral signature is affected by the phenomenon of spectral variability [31], where factors such as illumination, atmospheric effects, or noise in the measurements [123, 21] alter the spectral signatures. Unlike traditional photography, information captured by multispectral and hyperspectral sensors can include parts of the infrared and ultraviolet spectrum, typically between 0.4µm and 2.45 µm [26], while the number of bands can range from three to just over ten in the case of multispectral images, to tens or hundreds of bands in the case of hyperspectral images. This is also referred to as spectral resolution and is given by the minimum distance between two wavelengths required to distinguish two different lines of the spectrum [99]. Multispectral and hyperspectral images are analogous to a three-dimensional data cube, with two spatial dimensions corresponding to width and height and a spectral dimension consisting of the different spectral bands. Figure 1.2 displays an example of a hyperspectral cube and its major components. The introduction of multispectral and hyperspectral sensors greatly advanced the field of remote sensing, with new concepts and methods that lead to numerous applications stemming from the large amount of information acquired. Among these, the fine-grained spectral information has led to these types of images becoming commonly used in 3 ´ Alvaro Acci´ on Montes classification tasks in the field of remote sensing due to the greater separability [67] between the different materials present in a scene when compared to RGB images. There are numerous sources for hyperspectral images, among which satellite-mounted sensors are the most significant contributors to data acquisition. Examples of these sensors are Hyperion [53], CHRIS (Compact High-Resolution Imaging Spectrometer) [14], PRISMA (PRecursore IperSpettrale Della Missione Applicativa) [92], or Hyperspectral and Multispectral Imager (HISUI) [72]. These sensors have specific technical capabilities that determine parameters such as the spectral range they are able to capture, spatial and spectral resolution, or other low-level parameters. Additionally, in the last years, a multitude of airborne hyperspectral platforms have been developed for commercial use, democratizing access to the technology and greatly boosting its potential applications. 1.2 Land use and land cover classification During most of the 20th-century urban expansion, agriculture, and other changes caused by human activities have significantly altered the landscape around the world. These phenomena can affect the environment and its natural processes in significant ways. Knowing more about these changes and their impact is paramount to better manage the available resources for human development. Land use and land cover (LULC) maps are two of the most common tools used to characterize the Earth’s surface and they are extensively used in many areas such as urban management and planning, monitoring biodiversity, etc. Even though these concepts are related, and often used interchangeably [51], their purpose is different. Land use usually refers to the socioeconomic uses land has, whereas land cover refers to the composition of the Earth’s surface when observed directly. With the launch of Landsat in 1972, the availability of remotely sensed data expanded dramatically thanks to an instrument that allowed researchers to obtain images consistently at predictable intervals [42]. These multispectral images accelerated the development of new research areas related to LULC maps, such as data fusion or change detection [52, 95, 35, 115]. Hyperspectral data suffered from a late adoption due to the computational requirements and sensor manufacturing costs associated with it but it has recently acquired a much more prominent role in the Earth Observation community [58]. We can define the classification of images, generically, as a process that tries to assign each pixel or region of the image a precise nominal class label out of a group of mutually exclusive, available labels. This classification process can be performed in several ways. On top of the 4 CHAPTER 1. INTRODUCTION Spatial resolution Spectral resolution Spectral band Pixel-vector Figure 1.2: Hyperspectral data cube traditional supervised and unsupervised approaches, semisupervised [150] training has gained traction in recent years associated with Deep Learning (DL) models [93]. In the supervised classification process, pairs of values composed of a sample and a corresponding, manually annotated class label belonging to a subset of data that is considered representative of the original set, are used for training a machine learning (ML) model (for model-based learning) or for inter-sample comparison (for instance-based learning). This information will then be used to predict the class of the rest of the original set. In the unsupervised classification process, pixels are grouped into similar sets without the use of prior information. In this unsupervised process, the remote sensing image is usually partitioned into a number of pixel groups by applying clustering algorithms. In the semisupervised classification process, both 5 ´ Alvaro Acci´ on Montes approaches are mixed and information extracted in an unsupervised way is then used to enhance a supervised classification process. 1.2.1 Machine learning in LULC With the launch of the first satellite-mounted sensors, the possibility of obtaining images from anywhere in the world in a continuous fashion with no costs associated with the displacement to the area of interest made remote sensing truly global. It was at this point that the need to increase the efficiency of the analysis of the gathered data became more evident. ML has had a major role in the advances of remotely sensed data applications geared towards civil uses as a means to automate this task with reduced human intervention. As such, the research interest in the field made it to become one of the most popular topics in the literature [96]. The most basic ML classification pipeline for LULC classification was traditionally comprised of four different stages [140]. These were preprocessing, feature engineering, classification, and post-processing. The preprocessing stage encompasses the initial set of transformations applied to a dataset in order to enhance it. Denoising, data fusion, and the removal of outliers or inconsistent values are performed during this stage. Segmentation is often used as a preprocessing technique in computer vision. It is capable of simplifying images, reducing them to meaningful, independent regions of pixels called segments. These properties make it useful to reduce the complexity of subsequent processing tasks. The feature engineering step takes care of transforming the data to extract the most relevant features present in it. Feature extraction (FE) is one of the most common feature engineering operations that became increasingly relevant with the expansion in the dimensionality of the spectral information of HSIs and the large number of highly correlated bands in these images. With more available information the number of separable classes that could be classified grew accordingly but also did the requirements regarding the amount of data needed to establish the statistical integrity during classification, causing the algorithms previously applied to multispectral images to start to exhibit the so-called Hughes phenomenon [78]. Also called the curse of dimensionality, this behavior can be observed during hyperspectral image classification in the form of a slow increase in accuracy as the number of bands in an image increases, followed by a sharp fall as the number of bands reaches a certain threshold. Feature extraction algorithms such as Principal Component Analysis (PCA) [89], Independent Component Analysis (ICA) [144] or Singular Spectrum Analysis (SSA) [162] have been successfully applied to HSIs to solve this problem. During the training phase, the machine 6 CHAPTER 1. INTRODUCTION learning model of our choice is fed the training data in order to learn to identify the set of class labels from the available features in the data. This model will be later used to predict the class labels for the remaining samples. Lastly, the postprocessing stage is used to enhance the outputs of our model. This is typically done by applying context information such as spatial boundaries resulting from a segmentation algorithm. One of the most widely used postprocessing methods is the majority voting [77], an approach that is used to determine the class label for a pixel or group of pixels based on the most frequent result obtained from several predictions. This is done to, for example, unify the labels from a segmented region, or to reduce the salt and pepper effect after predicting the labels of a scene. The simplest classification method would correspond to per-pixel, or spectral-based classification, where the characteristics of the neighborhood around the pixel to be classified are not taken into account. Classification is performed exclusively by relying on the spectral information of the image. Examples of this are classifiers such as random forests (RF) [63, 73, 17] or support vector machines (SVM) [61, 48, 30, 132], where no context information is exploited. There are obvious limitations to this method that may cause the models to yield poor results, such as low separability between classes due to the similarity and variability of the spectral signatures. This is one of the common problems that arise when classifying different vegetation classes [15]. In these situations, information related to vegetation textures can prove critical and provide an important boost to classification accuracy. Another common pitfall affecting classification tasks for low-resolution images is mixed pixels, or pixels with a mixture of spectral information from several different materials. Hyperspectral unmixing [109] is the process that tries to decompose the mixed pixels into constituents and measure their contributions. A common approach used to increase classification accuracy is to also exploit the spatial information contained in HSIs. Spatial-spectral methods, in which the classification makes use of the inter-dependencies or structural relationships of the pixels in an image, have routinely proved to have many advantages over traditional spectral-based methods and obtain better accuracy [50]. This group includes algorithms such as spatial regularization [165], different morphological profiles [19, 18, 44, 57] or joint learning (JL) [114]. Spatial regularization is based on the application of a model with spatial information to the classification results of spectral data. There are multiple ways to achieve this, either by applying unsupervised methods such as segmentation [91], supervised methods such as Markov fields [155], or conditional 7 ´ Alvaro Acci´ on Montes random fields (CRFs) [169]. Mathematical morphology [112] became one of the most common approaches used to extract spatial-spectral information from HSIs. Morphological profiles (MPs), of which there are numerous variants, make use of mathematical morphology and, in particular, opening and closing operations to create multiple versions of the original image with different granularity that are grouped into what is called a morphological profile and then processed by a classifier. Among the most popular variants of morphological profiles we can find attribute profiles (APs) [44], and extinction profiles (EPs) [57]. Finally, joint learning consists of simultaneous learning of spatial and spectral features by using specific kernels. This can be seen, for example, in the use of such kernels in combination with SVM for pixel neighborhood analysis in [49] classification tasks. Artificial Neural Networks (ANNs) [5] try to mimic the behavior of the biological systems in the animal brain and they have become widely sought after as an information processing paradigm due to their learning and generalization capabilities. They have gained huge popularity in recent years, especially in the computer vision field, due to their ability to handle non-structured data. Convolutional Neural Networks (CNNs) [80], in particular, have been successfully used to solve problems requiring multi-class, multi-label classification involving Feature Extraction (FE) [32] from images. Deep Learning (DL) is a broad concept that can be described as a set of approaches using multiple layers of ANNs to automate the FE process. The adjective ”deep” refers to the number of layers that form a model and can perform transformations over the input data, albeit there is no universally accepted definition of a frontier that determines if a network is deemed shallow or deep. CNNs operate over small cubes of data called patches and can exploit both spatial and spectral information. The patches are centered around a pixel of the image and extracted from a sliding window of a certain size. Usually, one patch is extracted for every pixel of the image using this procedure. Regardless of the model being used, three goals have to be considered to achieve a successful classification. The model complexity, associated computational cost of training, and classification performance need to be carefully balanced. In general, more complex models can perform better than simple models, at the cost of reduced training efficiency and, thus, higher computational cost. Excessively complex models may exhibit worse performance on unseen data compared to training data in a phenomenon called overfitting. In order to reduce overfitting, an alternative would be to reduce model complexity, which may not be ideal as it can also sacrifice classification performance. A bigger training dataset is usually the desired solution but this may not be feasible in every domain due to the lack of acquired or labeled data. 8 CHAPTER 1. INTRODUCTION code is used compared to the total execution time. Additionally, a certain level of overhead exists when using parallel constructs. This overhead includes the creation of new threads, synchronization features, or data access. A careful understanding of the code and the correct use of these features will increase the speedup obtained by OpenMP. 1.4.2 GPU parallel programming General purpose GPU (GPGPU) has emerged as one of the strongest trends of the modern era in computing. This paradigm, where GPU devices are used as general-purpose coprocessors to perform massively parallel work, is not something new. Even though GPUs have traditionally been hardware specialized in graphics processing, barring some exceptions, early works [69, 79] from some researchers already highlighted the possibilities for GPUS from the late 90s to perform general computations, albeit with a very restricted programming model. This changed with the introduction of Compute Unified Device Architecture (CUDA) [36] in 2007, simplifying the programmer’s work and greatly reducing the entry barrier to GPGPU programming. GPUs constitute an example of a manycore architecture [23], or architecture with a very high number of cores. Although GPUs contain a much higher number of cores than even the most recent CPUs, these are significantly different and also have different purposes. CPU cores are large and contain many complex circuits tuned to achieve high throughput in sequential programs. GPU cores are relatively lightweight, with little logic, and geared towards achieving high throughput in parallel programs. The domain-specific trade-offs from GPU design made these more suited for exploiting massive data parallelism compared to traditional CPUs, more focused on performance for serial workloads. This property has made GPUs popular in highperformance computing applications. Since the last decade, computers have progressively switched to using other processing elements, with GPU being the most prevalent co-processor. These systems are built to exploit each co-processor to perform the task they are the most suited to. The flexibility, cost, and throughput for parallel workloads have made GPUs the computing platform of choice for a wide range of tasks in the remote sensing field, including hyperspectral image processing [34, 161]. The literature contains several examples of the use of GPUs for classification [152], registration [106], segmentation [118], etc. 15 ´ Alvaro Acci´ on Montes + A B C ++++++ ... ... ... ... ... Figure 1.4: Basic vector addition implementation in a GPGPU platform. Each thread operates on a different element of the vector. CUDA CUDA is a parallel computing platform and programming model developed by NVIDIA and available through a variety of programming languages, including C, C++, and Fortran. CUDA provides specific tools to allow developers to perform general computing on GPUs. GPU architectures are geared towards a set of specific tasks that have very specific characteristics. Among those, we can list the large computational requirements, with thousands of operations that must be performed over several millions of elements before an image can be rendered; high data parallelism and the greater importance of throughput over latency [107]. GPUs use the single-program multiple-data (SPMD) programming model, a subcategory of multiple-instruction multiple-data (MIMD) where tasks are split in a way that causes multiple elements to be processed in parallel by the same code running in multiple processing elements simultaneously. GPGPU programs are usually divided into blocks of threads, where grids of threads of arbitrary sizes operate. Inside those grids, blocks of threads execute the same SPMD program and compute an individual result each, as shown in Figure 1.4. This result is obtained by reading data from global memory, performing a set of computations using a relatively rich set of instructions, and storing the value back into global memory. CUDA’s architecture also follows this model, mapped to CUDA-specific terminology. The Streaming Multiprocessor (SM) constitutes the basic building block of the CUDA architecture. These are small processors composed of a certain number of execution cores, different caches, thread schedulers, and registers. Figure 1.5 shows the elements inside a SM from a NVIDIA GTX 1080. SMs can execute groups of threads in parallel, called thread blocks, which are, in turn, organized in grids. This is illustrated in Figure 1.6. Thread block sizes have to be defined by the programmer and tuning them based on the hardware’s 16 CHAPTER 1. INTRODUCTION Table 1.1: CPU hardware specification CPU model # of cores # of cores Core clock (MHz) RAM (GB) L1 (KB) L2 (KB) L3 (KB) Intel Core i5 8400 6 6 2800 32/48 384 1536 9216 characteristics and compute capability is required to maximize its utilization. Thread blocks are scheduled into SMs by the hardware, and threads from the same block must reside in the same SM. Thread blocks are isolated from each other and can only communicate using the device memory, or global memory. All the threads inside a block run the same program, called a kernel. Thread blocks are split into groups of 32 threads called warps at the hardware level, with all of them being issued an instruction simultaneously in a programming model denominated single-instruction multiple-thread (SIMT). Warps are assigned to warp schedulers inside the SMs, capable of stopping and swapping between different warps based on their execution state. When a warp is not ready, a different warp is scheduled and run in a strategy aimed at hiding hardware latency. 1.4.3 Hardware The algorithms detailed in this thesis were developed using several consumer-grade computing platforms. With the increase in the capabilities of modern CPUs and GPUs, tasks that were previously relegated to supercomputers are now manageable in commodity hardware. The algorithms developed targeted mid-range devices and can run efficiently in the platforms developed in this section. These, however, should still perform adequately in similar devices as long as the required feature set is supported. The test system used for this thesis was a custom-built computer with an Intel Core i5 8400 CPU at its core. Two GPGPU devices were used in the chosen build, the GeForce GTX 1060 6GB (Pascal [37]), and GeForce GTX 3070 Ti (Turing [40]). Tables 1.1, and 1.2 show the hardware specifications for the aforementioned CPU and GPUs, respectively. 1.4.4 Software The algorithms developed as part of this thesis were developed in C++ and Python [142]. All experiments were run under a 64-bit Ubuntu Linux distribution. 17 ´ Alvaro Acci´ on Montes Figure 1.5: GP104 SM diagram [38] 18 CHAPTER 1. INTRODUCTION Block grid (0,0) (1,0) (2,0) (3,0) (3,1) (2,1)(1,1) (0,1) Thread block (0,0) (0,1) (0,2) (0,3) (1,0) (1,1) (1,2) (1,3) (2,0) (2,1) (2,2) (2,3) (3,0) (3,1) (3,2) (3,3) Figure 1.6: Illustration of a thread grid and one of its thread blocks in CUDA Table 1.2: GPU hardware specification GeForce GTX 1060 6GB GeForce GTX 3070 Ti Architecture Pascal Turing Compute Capability 6.1 8.6 Core clock 1506 MHz 1575 Memory clock 2002 MHz 1188 Streaming Multiprocessors (SMs) 10 48 CUDA cores per SM 128 128 Tensor cores per SM - 4 RT cores per SM - 1 Device memory 6 GB 8 GB Shared memory 96 KB 100 KB L1 cache 48 KB 128 KB L2 cache 1536 KB 4096 KB Threads per warp 32 32 Maximum thread block size 1024 1024 Maximum threads per SM 2048 1536 Maximum blocks per SM 32 16 Max warps per SM 64 48 19 ´ Alvaro Acci´ on Montes C++ codes were built using GNU GCC [1] using the highest optimization level available -O3. This also applies to the CUDA code, built using NVCC. The code targeting CUDA relies on several high-performance libraries that are part of the official CUDA Toolkit [41]. Classification schemes based on DL were written mostly in Python, with some wrappers around C++ code in specific cases. The neural network models were implemented using Google’s TensorFlow [2]. The official Tensorflow Docker images with GPU support were used to perform the training and prediction, of the neural networks. 1.4.5 Datasets The schemes developed as part of this thesis were tested in three image datasets comprising both hyperspectral and multispectral images, and vastly different spatial and spectral resolutions. The first dataset is composed of widely available hyperspectral benchmarking images obtained by the ROSIS-03 and AVIRIS sensors. Figures 1.7 and 1.8 display the false-color composite and reference data for the scenes. 1. Houston University (Houston) [3]: The aerial view of Houston University was obtained by the CASI sensor. The image has a spatial resolution of 2.5 meters/pixel and it covers a spectral range from 380 to 1050 nm. The size of the image is 1905 x 349 pixels and 144 spectral bands. The reference information classification contains fifteen classes. 2. Indian Pines (IndianP) [70]: The mixed vegetation area of IndianP was obtained by NASA’s AVIRIS sensor over the Indian Pines test site in North-western Indiana. The spatial resolution is 20 meters/pixel and it covers a spectral range from 400 to 2500 nm. IndianP dataset consists of 145 x 145 pixels and 220 spectral bands. The ground truth is divided into sixteen classes. 3. Salinas valley (Salinas): Mixed vegetation scene in California. It was obtained by the NASA AVIRIS sensor with a spatial resolution of 3.7 m/pixel, covering a spectral range from 400 to 2500 nm. The image is 512 ×217 pixels and has 220 spectral bands. The reference information for classification contains sixteen classes. 4. Pavia University (PaviaU) [71]: acquired by the ROSIS-03 sensor over the city of Pavia, Italy. Its spatial resolution is 2.6 meters/pixel and covers the spectral range from 430 to 860 nm. PaviaU consists of 610 x 340 pixels and 103 spectral bands. The ground truth contains nine classes. 20 CHAPTER 1. INTRODUCTION 500 m (a) 200 m (b) 200 m (c) 500 m (d) 1000 m (e) Figure 1.7: False color composite for the selected images from the stardard dataset: (a) IndianP, (b) Salinas, (c) PaviaU, (d) PaviaC, and (e) Houston. 5. Pavia University (PaviaU) [71]: Urban scene acquired by the ROSIS-03 sensor over the city of Pavia, Italy. Its spatial resolution is 2.6 m/pixel and covers a spectral range from 430 to 860 nm. The image is 610 ×340 pixels and has 103 spectral bands. The ground truth contains nine classes. 6. Pavia Centre (PaviaC): Urban scene acquired by the ROSIS-03 sensor over the city of Pavia, Italy. Its spatial resolution is 2.6 m/pixel and covers a spectral range from 430 to 860 nm. The image is 1096 ×715 pixels and has 103 spectral bands. The reference information for classification contains nine classes. The second dataset, also referred to as Galicia dataset [15] has four scenes from river basins captured at an altitude of 120 m by a UAV mounting a MicaSense RedEdge multispectral camera [101]. The sensor resolution is 8.2 cm/pixel and it covers a spectral range from 475 to 840 nm, with blue (475 nm), green (560 nm), red (668 nm), red-edge (717 nm), and NIR (840 nm) channels available. The flights were conducted during the summer months of 2018, 21 ´ Alvaro Acci´ on Montes (a) (b) (c) (d) (e) Figure 1.8: Reference data for the selected images from the stardard dataset: (a) Salinas, (b) PaviaU and (c) PaviaC. 2019, and 2020. Registration, geometric and light corrections were performed using the Pix4D software suite. Figures 1.9 and 1.10 display the false-color composite and reference data for the scenes. 1. River Oitav´ en (Oitaven): Multispectral vegetation scene of the Oitaven river from Pontevedra, Spain. The image is 6689 ×6722 pixels and has 5 spectral bands. The ground truth contains eleven classes. 2. Creek Ermidas (Ermidas): Multispectral vegetation scene showing the point where Creek Ermidas and River Oitav´ en meet, from Pontevedra, Spain. The image is 11,924 ×18,972 pixels and has 5 spectral bands. The ground truth contains ten classes. 3. Eiras Dam (Eiras): Multispectral vegetation scene showing the reservoir that supplies running water to the town of Vigo from Pontevedra, Spain. The scene is 5176 ×18,224 pixels and has 5 spectral bands. The ground truth contains ten classes. 22 CHAPTER 1. INTRODUCTION 100 m (a) 200 m (b) 200 m (c) 100 m (d) Figure 1.9: False color composite for images from the Galicia dataset: (a) Oitaven, (b) Eiras, (c) Ermidas and (d) Mestas. 4. River Mestas (Mestas): Multispectral vegetation scene showing the River Mestas from Pontevedra, Spain. The image is 4915 ×9040 pixels and has 5 spectral bands. The ground truth contains four classes. The last dataset contains 17 images from the GID [135]. These images were obtained by the Gaofen-2 (GF-2) satellite of the China National Space Administration. The GF-2 multispectral sensor has a resolution of 4 m per pixel and covers a spectral range from 450 to 890 nm. divided into two groups. The first group contains the first seven images from the 5-class large-scale classification set. The second group contains ten images from the 15-class large-scale classification set. For simplicity’s sake, we will refer to the images in the first group as GF2-5A to GF2-5G, and the images of the second group as GF2-15A to GF2-15J. Figures 1.13 and 1.14 display the false color composite and reference data for the images of the first group. Figures 1.11 and 1.12 display the false-color composite and reference data for the scenes of the second group. 23 ´ Alvaro Acci´ on Montes (a) (b) (c) (d) Figure 1.10: Ground truth for images from the Galicia dataset: (a) Oitaven, (b) Eiras, (c) Ermidas and (d) Mestas. 1.4.6 Performance measures The present section describes the performance measures used in this thesis to characterize the performance of the different proposals in terms of classification performance and computational cost. The supervised classification process, as previously defined, attempts to assign each pixel or region of the image a precise nominal class label out of a group of mutually exclusive, available labels. These predicted pixels then have to be compared against the original set of labels assigned to them in the reference data to determine the classification performance. This is done through the application of different metrics, each of which tries to quantify the achieved results under a specific set of constraints: •Overall Accuracy (OA) [65]: Percentage of overall pixels correctly predicted. 𝑂𝐴 =Í𝑘 𝑖=1𝑃𝑖,𝑖 Í𝑘 𝑖=1𝑇𝑖 ,(1.1) 24 CHAPTER 1. INTRODUCTION Acci´ on, ´ Alvaro, Francisco Arg¨uello, and Dora B. Heras. ”A new multispectral data augmentation technique based on data imputation.” Remote Sensing 13, no. 23 (2021): 4875. •Impact factor (JCR 2020): 4.848. Q1. •Category: –Remote Sensing. Rank 12/32. The author of the thesis is the main contributor to the article. This includes the scientific research related to the potential use of data imputation as a data augmentation mechanism to increase the homogeneity of input patches, the writing and adaptation of existing software in order to apply this method to a CNN classification pipeline, experimentation with different data imputation algorithms and pipeline variations, and writing of the final article. 1.5.2 International conferences Montes, ´ Alvaro Acci´ on, Dora B. Heras, and Francisco Arg¨uello. ”A new data augmentation technique for the CNN-based classification of hyperspectral imagery.” Image and Signal Processing for Remote Sensing XXVII. Vol. 11862. SPIE, 2021. 1.5.3 National conferences Montes, ´ Alvaro Acci´ on, Dora B. Heras, and Francisco Arg¨uello. ”Una nueva t´ ecnica de aumentado de datos para la clasificaci´ on de im´ agenes hiperespectrales mediante CNN”. Actas de las jornadas SARTECO 20/21, 49–55. Montes, ´ Alvaro Acci´ on, Dora B. Heras, and Francisco Arg¨uello. ”Computaci´ on eficiente de perfiles de difusi´ on para la extracci´ on de informaci´ on espectral-espacial”. Actas de las jornadas SARTECO 2019, 6–11. 31 CHAPTER 2 DISCUSSION The literature on multi and hyperspectral classification is relatively mature and dates back to the launch of the first widely available spectral, satellite-mounted sensors. The approaches used to perform this task have varied with time, with recent advances focusing on the extraction of spatial-spectral information using traditional shallow models, and, more recently, deep learning [7]. These two advances have been, arguably, the most important breakthroughs of the last two decades. The first pixel-based classification methods developed rely on the application of shallow classifiers to the spectral information of the scenes [61, 100]. This information has certain characteristics that pose several challenges during the training of the classifiers. First, pixels are processed as isolated entities, with no information about their surroundings. The information contained in a single pixel may belong to several different materials, increasing the spectral variability of the materials and reducing their separability. Different acquisition conditions may also cause an additional issue, given that the light captured by the sensor may come from several sources and originate from the reflection and scattering from the surroundings [76], or be affected by sensor noise [163]. A second limitation of spectral classifiers is given by the high requirements in terms of training samples due to the high-dimensional spectra and the large number of free parameters of the models, resulting in overfitting and reduced generalization capability. This made the classification of pixels based exclusively on spectral information to be limited in terms of performance, which manifested itself strongly in certain scenes, such as those involving different vegetation species. Class unbalances [84], a fundamental problem in these scenes, further compound this issue due to the large difference between the most ´ Alvaro Acci´ on Montes common class labels and the least common ones. Given the nature of multi and hyperspectral images, the spatial dependencies generated by the structures present in a scene can also be used as part of the classification process [65]. This spatial dependency can be one of two kinds. The first one is related to the neighboring relationship between different pixels and the structures generated by these [129]. Pixels from these structures, often clustered in homogeneous regions, tend to belong to the same material. The second one is given by the correlation in the class labels assigned to neighboring pixels in the image, making it more likely for labels that are together to belong to the same class. The inclusion of spatial features during the classification process has been proven to increase the performance of the models in several studies [27, 113]. Typically, spatial-spectral classification schemes are split into three main categories. The first group is comprised of different spatial regularization algorithms [165], usually applied as a post-processing step to refine the classification maps obtained by the pixel-based classifiers. Numerous proposals have made use of watershed segmentation [68], expectation-maximization segmentation [55], hierarchical segmentation [130], or superpixel segmentation [66] to divide an image in a set of homogeneous, non-overlapping regions. This step can either be done by taking a dimensionally-reduced image as the input to the segmentation algorithm or by applying adapted algorithms that can make use of both the spectral and spatial information of the original image [131, 118]. The class labels from those regions, previously predicted by a pixel-wise classifier, are replaced by new labels determined by majority voting in an attempt to reduce miss-classified pixels. It has been observed that higher-quality segmentation algorithms usually yield better classification accuracy, which is related to the desired properties of intra-class dissimilarity, inter-class similarity, and boundary adherence. A second category is comprised of algorithms that exploit the spatial dependency to refine the values of the pixels of the scene with the application of spatial filters. This includes proposals such as 2D Gabor filters [87], morphological profiles [19], etc. The third and last category is comprised of models, also called joint learning, that try to simultaneously learn both spatial and spectral characteristics [49]. This chapter discusses the different spatial-spectral information extraction methods developed in this thesis. The work focuses on the first two groups, with spatial regularization used along geometric transforms and imputation as a means to perform data augmentation in DL classification schemes, and the use of spatial filters through the application of anisotropic diffusion to extract spatial-spectral information. Additionally, and as described in Section 34 CHAPTER 2. DISCUSSION 1.2.1, special care is dedicated to the development of efficient algorithms for consumer-grade hardware. 2.1 Extended Anisotropic Diffusion Profiles A scale-space is an image representation at a continuum of scales, embedding gradually simplified versions of the image, provided that it fulfills certain requirements [148]. Its first known application dates to 1959 in a Japanese paper written by Taizo Iijima. Witkin [149] proposed, in 1983, a similar concept based on the application of a Gaussian kernel to create progressively smoother versions of an image. Convolving an image with a Gaussian kernel is the equivalent of solving the heat diffusion Partial Differential Equation (PDE) with a constant diffusion coefficient 𝑐with the image as its initial condition: 𝛿𝐿 𝛿𝑡 =div(𝑐(𝑥, 𝑦, 𝑡) · ∇𝐿).(2.1) This application, although successful in reducing the variability of the pixels of the image, carries the drawback of blurring the edges of the objects present on it as well. To prevent this, Perona and Malik [111] formulated a nonlinear diffusion coefficient based on the image gradient, capable of preserving the natural boundaries occurring in the image: 𝑐(𝑥, 𝑦, 𝑡)=𝑔(|∇𝐿𝜎(𝑥, 𝑦, 𝑡)|),(2.2) The difference between both approaches can be seen in Fig. 2.1. The diffusion equation is one of the possibilities to build a linear scale-space [8] from an image, a concept that has been successfully applied to hyperspectral image classification in the past. Examples of this can be seen in [24, 46, 143]. Anisotropic diffusion, in particular, has been used for the generation of extended profiles for hyperspectral image classification [102]. The working principle of this proposal is related to the reduction in the variability of the spectral signatures of the pixels in an image, which in turn can increase the accuracy of the applied classification models. In this work, the extended profile for the different hyperspectral scenes is generated by applying a diffusion equation a certain number of times to each of the principal components of the image. For each of the iterations over a principal component, 35 ´ Alvaro Acci´ on Montes (a) (b) (c) Figure 2.1: Anisotropic diffusion vs Gaussian filtering: (a) Lena image, (b) Anisotropic diffusion applied, and (c) Gaussian filtering applied. the diffusion equation will generate a new image with a decreasing level of detail as one of the input parameters, called process time, is progressively increased. Once all the instances of diffusion are applied to a principal component, the output constitutes an ADP (Anisotropic Diffusion Profile). The ADPs for all the principal components are, then, stacked on top of each other, along with the principal component itself, and generate the so-called EADP (Extended Anisotropic Diffusion Profile). The proposal described in this thesis is comprised of eight different stages, summarized below: •Setup: The initial stage, where the memory is allocated and all memory transfers required to start the computation of the EADP are performed. This includes copying the memory contents from the host memory to the device memory. •Gaussian: An initial convolution with a Gaussian kernel is performed to smooth the noise present in the principal component and avoid affecting the calculation of the gradient in the next step. •Scharr: The horizontal and vertical derivatives of the principal component are obtained using the Scharr operator [83]. What this effectively does is perform edge detection on the smoothed principal component in a similar fashion to the well-known Sobel operator. The main difference, however, lies in the fact that the Scharr operator matrix is anisotropic, unlike Sobel’s. Afterward, these derivatives will be used as part of the computation of the diffusivity coefficients. 36 CHAPTER 2. DISCUSSION •Contrast: The contrast parameter is calculated from the smoothed image and used as part of the nonlinear diffusivity matrix. •Diffusivity: The diffusivity coefficients are obtained, taking the shape of a matrix with the dimensions of the principal component. These will control how the diffusion process operates over each of the regions of the image and are responsible for preserving the borders of the image while performing the intra-region smoothing. •FED 𝜏: This stage obtains the number of inner step sizes (also denoted by 𝜏) for the iterations required to apply the diffusion equation using the FED method. These step sizes are obtained from the initial parameters passed to the diffusion algorithm. •FED: At this stage, the FED process is run iteratively, updating the image on each step. After all the iterations are completed, the diffused principal component will become one of the components of the Anisotropic Diffusion Profile. •Cleanup: During the cleanup stage, the resulting EADP is copied to memory and all the allocated memory is freed. The parameters of the profile have been selected in a way that obtains the highest possible accuracy with the smallest number of components. A study on this topic is detailed in Chapter 3. 2.1.1 GPU implementation GPUs have been extensively used in the scientific community to perform data-intensive computations efficiently for nearly two decades. GPU-accelerated algorithms for hyperspectral image classification are commonly found in the relevant literature, including extraction of spatial-spectral information [117, 16], classifiers [128, 151, 153], and others. As part of the work developed for this thesis, an efficient GPU implementation of the EADP algorithm using CUDA has been proposed in Chapter 3. During the development process of the GPU implementation, a series of optimizations focused on different areas were applied based on the recommendations found in [39], and the information obtained during the profiling of the different kernels that take part in the computations. The following is a list of the optimization techniques used to improve the performance of the CUDA code: 37 ´ Alvaro Acci´ on Montes Memory optimizations 1. Minimization of memory allocations and deallocations, given their high cost. Allocated memory should be reused whenever possible to reduce the impact of these operations on the performance of the algorithm. 2. Minimization of memory usage by performing some computations in place, thus lowering the required memory, and reducing the access to memory, which has a relatively low performance. As a rule of thumb, the higher the arithmetic load of a kernel, the greater the speedup of the GPU implementation compared to a CPU implementation. 3. Minimization of data transfers between host and device. Memory transfers are limited by the bandwidth of the PCIe bus and these should be avoided. Careful consideration must be exercised to determine if moving data between devices must be carried out in the event certain steps in an algorithm run faster on the CPU compared to the CPU. 4. Ensuring memory access coherence by adjacent threads in order to allow access to several memory items to be coalesced into a single operation. When the memory access pattern does not allow coalescing of memory accesses or the data locality is too low, performance will be degraded due to the higher cost of read/write operations 5. Use of pinned memory for data transfers between CPU and GPU to achieve the highest possible bandwidth. Pinned memory is the denomination given to virtual memory pages that have been page-locked and can make use of Direct Memory Access (DMA) to perform the data transfer. 6. Data packing in order to reuse memory elements over multiple operations. Choosing the right data representation can have a significant impact on the performance of a kernel. This is, however, completely dependent on the specific computations performed by the kernel. Instruction optimizations 1. Using vectorial instructions to maximize instruction parallelism and optimize memory bandwidth. This is especially important in kernels that are bandwidth-bound but has some drawbacks such as an increased register pressure and reduced parallelism. 38 CHAPTER 2. DISCUSSION 2. Reduction operations using warp-level primitives to avoid shared memory latency. CUDA 9.0 introduced new primitives to exchange data between the threads of a warp, thus reducing the need to access shared memory. This offers better performance compared to the load and store instructions required in the latter case. 3. Use of shared memory atomics vs global memory ones due to specific hardware support since Maxwell given the faster nature of this memory. Other optimizations 1. Manual tuning of kernel block sizes to ensure optimal hardware occupancy and resource usage. This includes maximizing instruction parallelism per thread to achieve higher performance at lower occupancy based on data dependencies [145]. Additionally, GPU-optimized libraries were used whenever possible. These libraries have been extensively optimized and support the capabilities of several CUDA hardware versions for the best possible performance. 2.1.2 Experimental results The GPU implementation was compared to an OpenMP-accelerated CPU implementation that acted as our baseline. These implementations rely on Fast Explicit Diffusion (FED) schemes [60], more computationally efficient than the previously proposed Additive Operator Splitting (AOS) schemes, and well suited for parallelization using GPUs. The classification performance achieved by both methods showed no statistical differences, with identical diffusion outputs in all tests. The GPU implementation is capable of outperforming the CPU counterpart on every stage but the Setup and Cleanup ones. These two stages are responsible for the initial memory allocation and copy of the data into the temporary buffers where it will be processed. It is a well-known fact that GPU memory allocation and data transfers between the host memory and device memory are slow. The execution results display the entire dimension of this difference between both implementations, with the CPU being several orders of magnitude faster. The highest speedups are achieved in the Contrast and Scharr stages, with values that reach over 100×and 30×, respectively, in the Houston scene for an EADP with 63 components. The results obtained for IndianP and PaviaU also show a similar dynamic, with slight differences given by the dimensions and aspect ratio differences across scenes. 39 ´ Alvaro Acci´ on Montes The overall speedup across all the scenes is slightly above 10×. It’s worth noting that the achieved speedup was obtained on a consumer-grade GPU with an artificially low cap to double precision arithmetic, with a performance that is 1/32th that of single precision compared to the expected 1/2. A comparison against other methods from the literature, namely EMP, EAPa,EEAa, EMAP, and EMEP shows that the obtained performance of an EADP of 63 components is comparable in terms of overall accuracy for the Houston, IndianP, and PaviaU scenes. The performance increase obtained by EADP is especially notable for the scenes of Houston and PaviaU. The contributions from this section have been published in an article detailed on Chapter 3. 2.2 Dual-Window Superpixel Data Augmentation (DWS) Since its inception, Deep Learning has become the most prominent family of learning algorithms applied to a multitude of machine learning problems due to its superior performance. This can also be observed in the hyperspectral image classification literature, where DL methods have overcome the popularity of traditional classifiers such as SVM or RF [85]. Despite the interest received by the scientific community, Deep Learning has some shortcomings that may not make it adequate for all problem types. Some of these problems are the lack of sufficient labeled data and the high computational cost of the models, which become especially relevant in the multispectral and hyperspectral LULC classification tasks. To overcome these limitations, multiple proposals have been made related to data augmentation [126, 166, 160, 64], and superpixel segmentation [66, 47, 116]. Data augmentation is commonly used as a means to increase the capability of a model to generalize, while superpixel segmentation can be used as a means to reduce the computational cost associated with DL models [90, 28]. Despite this, the majority of the data augmentation algorithms in the multispectral and hyperspectral literature are based on per-pixel or pixel-based classification schemes. In contrast to this, the proposal described in Chapter 4 presents a data augmentation method that can be used with both pixel and segment-based DL classification schemes. As part of this thesis, two DL classification schemes were proposed for the application of the proposed data augmentation method. The first one is a traditional pixel-based schema, where three-dimensional regions or patches are extracted from the original hyperspectral image 40 CHAPTER 2. DISCUSSION 2.3.2 Experimental results The classification scheme in combination with the data augmentation method developed as part of this work was able to achieve an increase in the classification performance for all datasets regardless of the nature of the image. KNNimpute achieves the highest OA for two out of the four scenes of the Galicia dataset, while Dual-Flip 2×does the same for the remaining two. The increase in accuracy obtained by the augmentation methods was relatively modest, with the largest increase being observed in the Oitaven scene, at 2.14%, for Dual-Flip 2×. When it comes to the large-scale multispectral scenes from the GID, MICE consistently obtains the highest OA across 16 out of the 17 images. The remaining image has a baseline performance of over 99.5%, which makes it exceedingly hard to obtain performance improvements from data augmentation methods. The results achieved for the 5-class large scene classification set tend to be lower than those of the 15-class set due to the higher baseline OA of the former. The scenes from the 5-class large scene classification set have more irregular structures distributed across the image, making it a better fit for the proposed data augmentation method. The OA increase achieved in the 5-class large scene classification set reaches up to 2.57% for the GF2-5G scene. The OA increase achieved in the 15-class large scene classification set reaches up to 5.61% for the GF2-15I scene. The execution times obtained for the 15-class large-scale classification set of the GID show the computational cost of the prediction stage stays almost unchanged, as expected as data augmentation is applied only during the training stage. The small differences that can be observed are caused by the overhead of the pipeline setup used for data augmentation. The runtime of the prediction stage is affected by the chosen imputation algorithm and is related to its computational complexity. Constant imputation offers the fastest execution times, as we would expect from its linear complexity. MICE is, by a significant margin, the slowest data imputation algorithm. In general terms, the complexity of the data augmentation method introduced during the training stage causes an increase of roughly 2×to 5×in the execution time. Dual-Flip 2×has a lower execution time than the proposed data augmentation methods based on data imputation due to the simplicity of the geometric transformations it’s built upon. In spite of this advantage, the results for the scenes from the GID lag behind even the simple Constant imputation in many cases. The contributions from this section have been published in an article detailed in Chapter 5. 47 CHAPTER 3 EXTENDED ANISOTROPIC DIFFUSION PROFILES The current chapter is a verbatim reproduction of the following article: International journal Acci´ on, ´ Alvaro, Francisco Arg¨uello, and Dora B. Heras. ”Extended anisotropic diffusion profiles in GPU for hyperspectral imagery.” IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing 12, no. 12 (2019): 4964-4976. DOI: 10.1109/JSTARS.2019.2939857 CHAPTER 4 DUAL-WINDOW SUPERPIXEL DATA AUGMENTATION The current chapter is a verbatim reproduction of the following article: International journal Acci´ on, ´ Alvaro, Francisco Arg¨uello, and Dora B. Heras. ”Dual-window superpixel data augmentation for hyperspectral image classification.” Applied Sciences 10, no. 24 (2020): 8833. DOI: 10.3390/app10248833 CHAPTER 5 DATA AUGMENTATION BASED ON DATA IMPUTATION The current chapter is a verbatim reproduction of the following article: International journal Acci´ on, ´ Alvaro, Francisco Arg¨uello, and Dora B. Heras. ”A new multispectral data augmentation technique based on data imputation.” Remote Sensing 13, no. 23 (2021): 4875. DOI: 10.3390/rs13234875 CHAPTER 6 CONCLUSIONS This thesis addresses the application of efficient spatial-spectral information extraction methods as a means to improve the classification accuracy of multi and hyperspectral images. Classification, defined as the assignation of a class label to each of the pixels of a scene, of multispectral and hyperspectral remote sensing images is a complex problem. One of the reasons is the small amount of labeled information that can be used to train supervised classifiers, such as the ones this research is focused on. Different techniques allow us to tackle this problem, such as different machine learning approaches, both classical and those based on deep learning. These rely on extracting as much spatial and spectral information as possible from the bands captured by the sensors, exploiting the spatial and spectral resolution of the images. More specifically, in this thesis, spatial and spectral information extraction methods based on the extraction of profiles using anisotropic diffusion and data augmentation have been proposed. Two data augmentation methods have been detailed. The first one uses a composition of geometric transforms over the input patches. These are 3D cubes of data of dimensions 𝑤𝑖𝑑𝑡ℎ ×ℎ𝑒𝑖𝑔ℎ𝑡 ×𝑏𝑎𝑛𝑑𝑠, extracted from the superpixels of the image. These patches are subdivided into two regions where these transforms can be applied independently. The second one uses a combination of superpixel segmentation and data imputation to replace information on the input patches that belongs to a superpixel other than the one which the patch was extracted from. These information extraction methods were validated with a variety of multispectral and hyperspectral images captured from sensors mounted on satellites and unmanned aerial vehicles. The methods developed generate new synthetic information that can be used during ´ Alvaro Acci´ on Montes the training of several supervised classification models. The increase in the amount of data to be processed made it essential to devote special attention to ensure the efficiency in terms of computational requirements. The following list summarizes the contributions of this thesis: 1. An efficient spatial-spectral information extraction method denominated EADP has been proposed. This approach, named extended anisotropic diffusion profiles, or EADP, uses similar foundations as morphological profiles. The construction of morphological profiles is performed by applying a series of opening and closing operations with a structuring element of increasing size over the components of an image. This generates a new, larger image that can be several times the size of the original one. Several different types of profiles have been proposed in the literature, including attribute profiles, extinction profiles, etc. The construction of profiles increases the size of the original data, as the profiles are usually stacked on top of the original image information in order to be processed. As a result, it is particularly important to carefully consider the profile creation algorithms and make sure to extract as much parallelism as possible from them. In this thesis, we propose the application of the nonlinear diffusion equation for the creation of profiles from hyperspectral images. The process begins by applying a principal component analysis algorithm is applied to the original hyperspectral image. The EADP is constructed by concatenating a series of nonlinear diffusion instances applied to the principal components, generating new components with decreasing levels of detail. The introduction of these components reduces the spectral variability of the spectral signatures of the materials in the scene, increasing the classification performance. The nonlinear diffusion equation is implemented using a FED scheme, which makes it a good candidate for its implementation in parallel architectures since each pixel in the image can be processed independently, generating significant data parallelism. An efficient GPU implementation capable of achieving a speedup of nearly 10×was developed for commodity hardware using CUDA. The proposed method achieves a significant increase in the classification performance for several benchmarking datasets, most notably in the hyperspectral Houston scene with a 98.82% overall accuracy, improving the results from comparable methods from the bibliography. 2. Different data augmentation methods based on subdividing an input patch into multiple regions and applying geometric operations, and data replacement using data imputation 56 Bibliography [17] Mariana Belgiu and Lucian Dr˘ agut¸. Random forest in remote sensing: A review of applications and future directions. ISPRS journal of photogrammetry and remote sensing, 114:24–31, 2016. [18] J´ on Atli Benediktsson, J´ on Aevar Palmason, and Johannes R Sveinsson. Classification of hyperspectral data from urban areas based on extended morphological profiles. IEEE Transactions on Geoscience and Remote Sensing, 43(3):480–491, 2005. [19] Jon Atli Benediktsson, Martino Pesaresi, and Kolbeinn Amason. Classification and feature extraction for remote sensing images from urban areas based on morphological transformations. IEEE Transactions on Geoscience and Remote Sensing, 41(9):1940– 1949, 2003. [20] Ujwala Bhangale, Surya Durbha, Abhishek Potnis, and Rajat Shinde. Rapid earthquake damage detection using deep learning from vhr remote sensing images. In IGARSS 2019-2019 IEEE International Geoscience and Remote Sensing Symposium, pages 2654–2657. IEEE, 2019. [21] Jos´ e M Bioucas-Dias, Antonio Plaza, Gustavo Camps-Valls, Paul Scheunders, Nasser Nasrabadi, and Jocelyn Chanussot. Hyperspectral remote sensing data analysis and future challenges. IEEE Geoscience and remote sensing magazine, 1(2):6–36, 2013. [22] OpenMP Architecture Review Board. OpenMP application programming interface. https://www.openmp.org/wp-content/uploads/ OpenMP-API-Specification-5-2.pdf, 2021. Last accessed on 20/05/2022. [23] Michael Boyer, David Tarjan, Scott T Acton, and Kevin Skadron. Accelerating leukocyte tracking using CUDA: A case study in leveraging manycore coprocessors. In 2009 IEEE international symposium on parallel & distributed processing, pages 1–12. IEEE, 2009. [24] Lori Mann Bruce and Jiang Li. Wavelets for computationally efficient hyperspectral derivative analysis. IEEE Transactions on Geoscience and Remote Sensing, 39(7):1540– 1546, 2001. [25] S van Buuren and Karin Groothuis-Oudshoorn. mice: Multivariate imputation by chained equations in r. Journal of statistical software, pages 1–68, 2010. 63 ´ Alvaro Acci´ on Montes [26] James B Campbell and Randolph H Wynne. Introduction to remote sensing. Guilford Press, 2011. [27] Gustavo Camps-Valls, Devis Tuia, Lorenzo Bruzzone, and Jon Atli Benediktsson. Advances in hyperspectral image classification: Earth monitoring with statistical learning methods. IEEE signal processing magazine, 31(1):45–54, 2013. [28] Jiayan Cao, Zhao Chen, and Bin Wang. Deep convolutional networks with superpixel segmentation for hyperspectral image classification. In 2016 IEEE International Geoscience and Remote Sensing Symposium (IGARSS), pages 3310–3313. IEEE, 2016. [29] Gabriele Cavallaro, Dora B Heras, Zebin Wu, Manil Maskey, Sebastian Lopez, Piotr Gawron, Mihai Coca, and Mihai Datcu. High-performance and disruptive computing in remote sensing: HDCRS-A new working group of the GRSS earth science informatics technical committee. IEEE Geoscience and Remote Sensing Magazine, 2022. [30] Xavier Ceamanos, Bj¨ orn Waske, Jon Atli Benediktsson, Jocelyn Chanussot, Mathieu Fauvel, and Johannes R Sveinsson. A classifier ensemble based on fusion of support vector machines for classifying hyperspectral data. International Journal of Image and Data Fusion, 1(4):293–307, 2010. [31] Chein-I Chang. An information-theoretic approach to spectral variability, similarity, and discrimination for hyperspectral image analysis. IEEE Transactions on information theory, 46(5):1927–1932, 2000. [32] Yushi Chen, Hanlu Jiang, Chunyang Li, Xiuping Jia, and Pedram Ghamisi. Deep feature extraction and classification of hyperspectral images based on convolutional neural networks. IEEE Trans. Geosci. Remote Sens., 54(10):6232–6251, 2016. [33] Yushi Chen, Xing Zhao, and Xiuping Jia. Spectral–spatial classification of hyperspectral data based on deep belief network. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens., 8(6):2381–2392, 2015. [34] Emmanuel Christophe, Julien Michel, and Jordi Inglada. Remote sensing processing: From multicore to GPU. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 4(3):643–652, 2011. 64 Bibliography [35] Russell G Congalton. A review of assessing the accuracy of classifications of remotely sensed data. Remote sensing of environment, 37(1):35–46, 1991. [36] NVIDIA Corporation. NVIDIA developer. https://developer.nvidia. com/, 2007. Last accessed on 20/05/2022. [37] NVIDIA Corporation. NVIDIA tesla p100 whitepaper. https: //images.nvidia.com/content/pdf/tesla/whitepaper/ pascal-architecture-whitepaper.pdf, 2016. Last accessed on 20/05/2022. [38] NVIDIA Corporation. Whitepaper NVIDIA geforce GTX 1080. http://international.download.nvidia.com/geforce-com/ international/pdfs/GeForce_GTX_1080_Whitepaper_FINAL.pdf, 2016. Last accessed on 20/05/2022. [39] NVIDIA Corporation. CUDA C best practices guide. https://docs.nvidia. com/cuda/pdf/CUDA_C_Best_Practices_Guide.pdf, 2018. Last accessed on 20/05/2022. [40] NVIDIA Corporation. NVIDIA TURING GPU ARCHITECTURE. https://images.nvidia.com/aem-dam/en-zz/Solutions/ design-visualization/technologies/turing-architecture/ NVIDIA-Turing-Architecture-Whitepaper.pdf, 2018. Last accessed on 20/05/2022. [41] NVIDIA Corporation. CUDA TOOLKIT. https://developer.nvidia.com/ cuda-toolkit, 2022. Last accessed on 20/05/2022. [42] Lewis M Cowardin. Classification of wetlands and deepwater habitats of the United States. Fish and Wildlife Service, US Department of the Interior, 1979. [43] Arthur P Cracknell. Introduction to remote sensing. CRC press, 2007. [44] Mauro Dalla Mura, J´ on Atli Benediktsson, Bj¨ orn Waske, and Lorenzo Bruzzone. Morphological attribute profiles for the analysis of very high resolution images. IEEE Transactions on Geoscience and Remote Sensing, 48(10):3747–3762, 2010. 65 ´ Alvaro Acci´ on Montes [45] Bharath Bhushan Damodaran and Rama Rao Nidamanuri. Dynamic linear classifier system for hyperspectral image classification for land cover mapping. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 7(6):2080–2093, 2014. [46] Julio M Duarte-Carvajalino, Paul E Castillo, and Miguel Velez-Reyes. Comparative study of semi-implicit schemes for nonlinear diffusion in hyperspectral imagery. IEEE Transactions on Image Processing, 16(5):1303–1314, 2007. [47] Leyuan Fang, Shutao Li, Wuhui Duan, Jinchang Ren, and J´ on Atli Benediktsson. Classification of hyperspectral images by exploiting spectral–spatial information of superpixel via multiple kernels. IEEE Trans. Geosci. Remote Sens., 53(12):6663–6674, 2015. [48] Mathieu Fauvel, J´ on Atli Benediktsson, Jocelyn Chanussot, and Johannes R Sveinsson. Spectral and spatial classification of hyperspectral data using SVMs and morphological profiles. IEEE Transactions on Geoscience and Remote Sensing, 46(11):3804–3814, 2008. [49] Mathieu Fauvel, Jocelyn Chanussot, and Jon Atli Benediktsson. A spatial–spectral kernel-based approach for the classification of remote-sensing images. Pattern Recognition, 45(1):381–392, 2012. [50] Mathieu Fauvel, Yuliya Tarabalka, Jon Atli Benediktsson, Jocelyn Chanussot, and James C Tilton. Advances in spectral-spatial classification of hyperspectral images. Proceedings of the IEEE, 101(3):652–675, 2013. [51] Peter Fisher, Alexis J Comber, and Richard Wadsworth. Land use and land cover: contradiction or complement. Re-presenting GIS, pages 85–98, 2005. [52] Michael D Fleming, JS Berkebile, and RM Hoffer. Computer-aided analysis of landsat-1 MSS data: A comparison of three approaches. 1975. [53] Mark A Folkman, Jay Pearlman, Lushalan B Liao, and Peter J Jarecke. EO-1/hyperion hyperspectral imager design, development, characterization, and calibration. Hyperspectral Remote Sensing of the Land and Atmosphere, 4151:40–51, 2001. 66 Bibliography [54] Max Gerhards, Martin Schlerf, Kaniska Mallick, and Thomas Udelhoven. Challenges and future perspectives of multi-/hyperspectral thermal infrared remote sensing for crop water-stress detection: A review. Remote Sensing, 11(10):1240, 2019. [55] Pedram Ghamisi, Jon Atli Benediktsson, and Magnus O Ulfarsson. The spectralspatial classification of hyperspectral images based on hidden markov random field and its expectation-maximization. In 2013 IEEE International Geoscience and Remote Sensing Symposium-IGARSS, pages 1107–1110. IEEE, 2013. [56] Pedram Ghamisi, Javier Plaza, Yushi Chen, Jun Li, and Antonio J Plaza. Advanced spectral classifiers for hyperspectral images: A review. IEEE Geoscience and Remote Sensing Magazine, 5(1):8–32, 2017. [57] Pedram Ghamisi, Roberto Souza, Jon Atli Benediktsson, Xiao Xiang Zhu, Leticia Rittner, and Roberto A Lotufo. Extinction profiles for the classification of remote sensing data. IEEE Transactions on Geoscience and Remote Sensing, 54(10):5631– 5645, 2016. [58] Pedram Ghamisi, Naoto Yokoya, Jun Li, Wenzhi Liao, Sicong Liu, Javier Plaza, Behnood Rasti, and Antonio Plaza. Advances in hyperspectral image and signal processing: A comprehensive overview of the state of the art. IEEE Geoscience and Remote Sensing Magazine, 5(4):37–78, 2017. [59] Alexander FH Goetz, Gregg Vane, Jerry E Solomon, and Barrett N Rock. Imaging spectrometry for earth remote sensing. science, 228(4704):1147–1153, 1985. [60] Sven Grewenig, Joachim Weickert, and Andr´ es Bruhn. From box filtering to fast explicit diffusion. In Joint Pattern Recognition Symposium, pages 533–542. Springer, 2010. [61] JA Gualtieri and S Chettri. Support vector machines for classification of hyperspectral data. In IGARSS 2000. IEEE 2000 International Geoscience and Remote Sensing Symposium. Taking the Pulse of the Planet: The Role of Remote Sensing in Managing the Environment. Proceedings (Cat. No. 00CH37120), volume 2, pages 813–815. IEEE, 2000. [62] Driss Haboudane, John R Miller, Elizabeth Pattey, Pablo J Zarco-Tejada, and Ian B Strachan. Hyperspectral vegetation indices and novel algorithms for predicting green 67 ´ Alvaro Acci´ on Montes LAI of crop canopies: Modeling and validation in the context of precision agriculture. Remote sensing of environment, 90(3):337–352, 2004. [63] Jisoo Ham, Yangchi Chen, Melba M Crawford, and Joydeep Ghosh. Investigation of the random forest framework for classification of hyperspectral data. IEEE Transactions on Geoscience and Remote Sensing, 43(3):492–501, 2005. [64] Juan Mario Haut, Mercedes E Paoletti, Javier Plaza, Antonio Plaza, and Jun Li. Hyperspectral image classification using random occlusion data augmentation. IEEE Geosci. Remote Sens. Lett., 16(11):1751–1755, 2019. [65] Lin He, Jun Li, Chenying Liu, and Shutao Li. Recent advances on spectral–spatial hyperspectral image classification: An overview and new guidelines. IEEE Trans. Geosci. Remote Sens., 56(3):1579–1597, 2017. [66] Zhi He, Yue Shen, Miao Zhang, Qiang Wang, Yan Wang, and Renlong Yu. Spectralspatial hyperspectral image classification via SVM and superpixel segmentation. In 2014 IEEE International Instrumentation and Measurement Technology Conference (I2MTC) Proceedings, pages 422–427. IEEE, 2014. [67] Uta Heiden, Karl Segl, Sigrid Roessner, and Hermann Kaufmann. Determination of robust spectral features for identification of urban surface materials in hyperspectral remote sensing data. Remote Sensing of Environment, 111(4):537–552, 2007. [68] Dora B Heras, Francisco Arg¨uello, and Pablo Quesada-Barriuso. Exploring ELM-based spatial–spectral classification of hyperspectral images. International Journal of Remote Sensing, 35(2):401–423, 2014. [69] Kenneth E Hoff III, John Keyser, Ming Lin, Dinesh Manocha, and Tim Culver. Fast computation of generalized voronoi diagrams using graphics hardware. In Proceedings of the 26th annual conference on Computer graphics and interactive techniques, pages 277–286, 1999. [70] Hyperspectral images. https://engineering.purdue.edu/˜biehl/ MultiSpec/hyperspectral.html. Last accessed on 20/11/2022. [71] Hyperspectral remote sensing scenes. https://www.ehu.eus/ccwintco/ index.php/Hyperspectral_Remote_Sensing_Scenes#Pavia_ Centre_and_University. Last accessed on 20/11/2022. 68 Bibliography [72] Akira Iwasaki, Nagamitsu Ohgi, Jun Tanii, Takahiro Kawashima, and Hitomi Inada. Hyperspectral imager suite (HISUI)-japanese hyper-multi spectral radiometer. In 2011 IEEE International Geoscience and Remote Sensing Symposium, pages 1025–1028. IEEE, 2011. [73] Sveinn R Joelsson, Jon Atli Benediktsson, and Johannes R Sveinsson. Random forest classifiers for hyperspectral data. In Proceedings. 2005 IEEE International Geoscience and Remote Sensing Symposium, 2005. IGARSS’05., volume 1, pages 4–pp. IEEE, 2005. [74] RF Kokaly, RN Clark, GA Swayze, KE Livo, TM Hoefen, NC Pearson, RA Wise, WM Benzel, HA Lowers, RL Driscoll, et al. Usgs spectral library version 7 data: Us geological survey data release. United States Geological Survey (USGS): Reston, VA, USA, 2017. [75] Marek Kovar, Marian Brestic, Oksana Sytar, Viliam Barek, Pavol Hauptvogel, and Marek Zivcak. Evaluation of hyperspectral reflectance parameters to assess the leaf water content in soybean. Water, 11(3):443, 2019. [76] VV Kozoderov, TV Kondranin, and EV Dmitriev. Recognition of natural and man-made objects in airborne hyperspectral images. Izvestiya, Atmospheric and Oceanic Physics, 50(9):878–886, 2014. [77] Louisa Lam and SY Suen. Application of majority voting to pattern recognition: an analysis of its behavior and performance. IEEE Transactions on Systems, Man, and Cybernetics-Part A: Systems and Humans, 27(5):553–568, 1997. [78] David A Landgrebe. Signal theory methods in multispectral remote sensing, volume 24. John Wiley & Sons, 2003. [79] E Scott Larsen and David McAllister. Fast matrix multiplies using graphics hardware. In Proceedings of the 2001 ACM/IEEE Conference on Supercomputing, pages 55–55, 2001. [80] Steve Lawrence, C Lee Giles, Ah Chung Tsoi, and Andrew D Back. Face recognition: A convolutional neural-network approach. IEEE Trans. Neural Netw., 8(1):98–113, 1997. 69 ´ Alvaro Acci´ on Montes [81] Hyungtae Lee and Heesung Kwon. Going deeper with contextual CNN for hyperspectral image classification. IEEE Trans. Image Process., 26(10):4843–4855, 2017. [82] Leigh B Lentile, Zachary A Holden, Alistair MS Smith, Michael J Falkowski, Andrew T Hudak, Penelope Morgan, Sarah A Lewis, Paul E Gessler, and Nate C Benson. Remote sensing techniques to assess active fire characteristics and post-fire effects. International Journal of Wildland Fire, 15(3):319–345, 2006. [83] G Levkine. Prewitt, sobel and scharr gradient 5x5 convolution matrices. Image Process. Articles, Second Draft, 2012. [84] Jiaojiao Li, Qian Du, Yunsong Li, and Wei Li. Hyperspectral image classification with imbalanced data based on orthogonal complement subspace projection. IEEE Transactions on Geoscience and Remote Sensing, 56(7):3838–3851, 2018. [85] Shutao Li, Weiwei Song, Leyuan Fang, Yushi Chen, Pedram Ghamisi, and Jon Atli Benediktsson. Deep learning for hyperspectral image classification: An overview. IEEE Transactions on Geoscience and Remote Sensing, 57(9):6690–6709, 2019. [86] Wei Li, Chen Chen, Mengmeng Zhang, Hengchao Li, and Qian Du. Data augmentation for hyperspectral image classification with deep CNN. IEEE Geosci. Remote Sens. Lett., 16(4):593–597, 2018. [87] Wei Li and Qian Du. Gabor-filtering-based nearest regularized subspace for hyperspectral image classification. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 7(4):1012–1022, 2014. [88] Wei Li, Guodong Wu, Fan Zhang, and Qian Du. Hyperspectral image classification using deep pixel-pair features. IEEE Trans. Geosci. Remote Sens., 55(2):844–853, 2016. [89] Giorgio Licciardi, Prashanth Reddy Marpu, Jocelyn Chanussot, and Jon Atli Benediktsson. Linear versus nonlinear PCA for the classification of hyperspectral data based on the extended morphological profiles. IEEE Geoscience and Remote Sensing Letters, 9(3):447–451, 2012. [90] Yazhou Liu, Guo Cao, Quansen Sun, and Mel Siegel. Hyperspectral classification via deep networks and superpixel segmentation. Int. J. Remote Sens., 36(13):3459–3482, 2015. 70 Bibliography [91] Javier L´ opez-Fandi˜ no, Pablo Quesada-Barriuso, Dora B Heras, and Francisco Arg¨uello. Efficient ELM-based techniques for the classification of hyperspectral remote sensing images on commodity GPUs. IEEE Journal of Selected topics in applied earth observations and remote sensing, 8(6):2884–2893, 2015. [92] Ettore Lopinto and Cristina Ananasso. The prisma hyperspectral mission. In Proceedings of the 33rd EARSeL Symposium, Towards Horizon, 2020. [93] Wenjing Lv and Xiaofei Wang. Overview of hyperspectral image classification. Journal of Sensors, 2020, 2020. [94] Javier Marcello, Dionisio Rodriguez-Esparragon, and Daniel Moreno. Comparison of land cover maps using high resolution multispectral and hyperspectral imagery. In IGARSS 2018-2018 IEEE International Geoscience and Remote Sensing Symposium, pages 7312–7315. IEEE, 2018. [95] George A Maul and Howard R Gordon. On the use of the earth resources technology satellite (LANDSAT-1) in optical oceanography. Remote Sensing of Environment, 4:95–128, 1975. [96] Aaron E Maxwell, Timothy A Warner, and Fang Fang. Implementation of machinelearning classification in remote sensing: An applied review. International Journal of Remote Sensing, 39(9):2784–2817, 2018. [97] Rahul Mazumder, Trevor Hastie, and Robert Tibshirani. Spectral regularization algorithms for learning large incomplete matrices. The Journal of Machine Learning Research, 11:2287–2322, 2010. [98] Michael McCool, James Reinders, and Arch Robison. Structured parallel programming: patterns for efficient computation. Elsevier, 2012. [99] Alan D McNaught, Andrew Wilkinson, et al. Compendium of chemical terminology, volume 1669. Blackwell Science Oxford, 1997. [100] Gr´ egoire Mercier and Marc Lennon. Support vector machines for hyperspectral image classification with spectral-based kernels. In IGARSS 2003. 2003 IEEE International Geoscience and Remote Sensing Symposium. Proceedings (IEEE Cat. No. 03CH37477), volume 1, pages 288–290. IEEE, 2003. 71 ´ Alvaro Acci´ on Montes [101] Micasense rededge mx multispectral camera. https://micasense.com/ rededge-mx/. Last accessed on 13/10/2020. [102] Fardin Mirzapour and Hassan Ghassemian. Hyperspectral image classification using profiles based on partial differential equations. In Electrical Engineering (ICEE), 2015 23rd Iranian Conference on, pages 288–292. IEEE, 2015. [103] Jakub Nalepa, Michal Myller, and Michal Kawulok. Training-and test-time data augmentation for hyperspectral image segmentation. IEEE Geosci. Remote Sens. Lett., 2019. [104] Nasser M Nasrabadi. Hyperspectral target detection: An overview of current and future challenges. IEEE Signal Processing Magazine, 31(1):34–44, 2013. [105] Gerald R North, John A Pyle, and Fuqing Zhang. Encyclopedia of atmospheric sciences, volume 1. Elsevier, 2014. [106] ´ Alvaro Ord´ o˜ nez, Francisco Arg¨uello, and Dora B Heras. GPU accelerated FFT-based registration of hyperspectral scenes. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 10(11):4869–4878, 2017. [107] John D Owens, Mike Houston, David Luebke, Simon Green, John E Stone, and James C Phillips. GPU computing. Proceedings of the IEEE, 96(5):879–899, 2008. [108] ME Paoletti, JM Haut, J Plaza, and A Plaza. Deep learning classifiers for hyperspectral imaging: A review. ISPRS J. Photogramm. Remote Sens., 158:279–317, 2019. [109] Lucas Parra, Clay Spence, Paul Sajda, Andreas Ziehe, and Klaus-Robert M¨uller. Unmixing hyperspectral data. Advances in neural information processing systems, 12, 1999. [110] Donald L Pavia, Gary M Lampman, George S Kriz, and James A Vyvyan. Introduction to spectroscopy. Cengage learning, 2014. [111] Pietro Perona and Jitendra Malik. Scale-space and edge detection using anisotropic diffusion. IEEE Transactions on Pattern Analysis and Machine Intelligence, 12(7):629– 639, 1990. 72 Bibliography [170] Zilong Zhong, Jonathan Li, Zhiming Luo, and Michael Chapman. Spectral–spatial residual network for hyperspectral image classification: A 3-d deep learning framework. IEEE Transactions on Geoscience and Remote Sensing, 56(2):847–858, 2017. [171] Lin Zhu, Yushi Chen, Pedram Ghamisi, and J´ on Atli Benediktsson. Generative adversarial networks for hyperspectral image classification. IEEE Trans. Geosci. Remote Sens., 56(9):5046–5063, 2018. 79 List of Figures Fig. 1.1 Sample spectral signatures of several artificial materials, as provided by [74] 3 Fig. 1.2 Hyperspectral data cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Fig. 1.3 OpenMP’s fork-join model . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Fig. 1.4 Basic vector addition implementation in a GPGPU platform. Each thread operates on a different element of the vector. . . . . . . . . . . . . . . . . . 16 Fig. 1.5 GP104 SM diagram [38] . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Fig. 1.6 Illustration of a thread grid and one of its thread blocks in CUDA . . . . . . 19 Fig. 1.7 False color composite for the selected images from the stardard dataset: (a) IndianP, (b) Salinas, (c) PaviaU, (d) PaviaC, and (e) Houston. . . . . . . . . 21 Fig. 1.8 Reference data for the selected images from the stardard dataset: (a) Salinas, (b) PaviaU and (c)PaviaC............................ 22 Fig. 1.9 False color composite for images from the Galicia dataset: (a) Oitaven, (b) Eiras, (c) Ermidas and (d)Mestas........................ 23 Fig. 1.10 Ground truth for images from the Galicia dataset: (a) Oitaven, (b) Eiras, (c) Ermidas and (d)Mestas............................. 24 Fig. 1.11 False color composite for scenes from the GID: (a) GF2-15A, (b) GF2-15B, (c) GF2-15C, (d) GF2-15D, (e) GF2-15E, (f) GF2-15F, (g) GF2-15G, (h) GF2-15H, (i) GF2-15I, and (j)GF2-15J. ................... 25 ´ Alvaro Acci´ on Montes Fig. 1.12 Ground truth for scenes from the GID: (a) GF2-15A, (b) GF2-15B, (c) GF2- 15C, (d) GF2-15D, (e) GF2-15E, (f) GF2-15F, (g) GF2-15G, (h) GF2-15H, (i) GF2-15I, and (j)GF2-15J. ......................... 26 Fig. 1.13 False color composite for scenes from the GID: (a) GF2-5A, (b) GF2-5B, (c) GF2-5C, (d) GF2-5D, (e) GF2-5E, (f) GF2-5F, and (g) GF2-5G. . . . . . . 27 Fig. 1.14 Ground truth for scenes from the GID: (a) GF2-5A, (b) GF2-5B, (c) GF2-5C, (d) GF2-5D, (e) GF2-5E, (f) GF2-5F, and (g) GF2-5G. . . . . . . . . . . . . 28 Fig. 2.1 Anisotropic diffusion vs Gaussian filtering: (a) Lena image, (b) Anisotropic diffusion applied, and (c) Gaussian filtering applied. . . . . . . . . . . . . . 36 82 List of Tables Tab. 1.1 CPU hardware specification . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Tab. 1.2 GPU hardware specification . . . . . . . . . . . . . . . . . . . . . . . . . . 19 The objective of this PhD thesis is the development of spatialspectral information extraction techniques for supervised classification tasks, both by means of classical models and those based on deep learning, to be used in the classification of land use or land cover (LULC) multi- and hyper-spectral images obtained by remote sensing. The main goal is the efficient application of these techniques, so that they are able to obtain satisfactory classification results with a low use of computational resources and low execution time.