• Aucun résultat trouvé

Geographical Information System (GIS) and opensource signal processing tools

N/A
N/A
Protected

Academic year: 2022

Partager "Geographical Information System (GIS) and opensource signal processing tools"

Copied!
15
0
0

Texte intégral

(1)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

Geographical Information System (GIS) and opensource signal processing tools

J.-M Friedt

FEMTO-ST Time & Frequency, Besan¸con, France Associations Projet Aurore & Sequanux, Besan¸con, France

Contact: [email protected]

All references available athttp://jmfriedt.free.fr

October 12, 2012

12 October 2012 – Brussels

(2)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition

Processing Plotting GIS GPR & SU Conlusion

Management of geographical information

• How to acquire data ?

• Embedded GPS receiver logging once every second the position of the user.

• Very basic (sophomore level ?) digital circuit which takes best advantage of mass storageof SD card (SPI communication)1

• Very rich perspective: opensource mapping (OpenStreetMap), localization of pictures, measurement of glacier snout position !

1J.-M Friedt, ´E. Carry,Acquisition et diss´emination de trames GPS `a des fins de cartographie libre, GNU/Linux Magazine France, Hors S´erie 27 (Octobre 2006), http://jmfriedt.free.fr/lm_hs27_gps.pdf

12 October 2012 – Brussels

(3)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition

Processing Plotting GIS GPR & SU Conlusion

Framework for processing scientific data

• Targetted towards plotting: gnuplot

• Targetted towards processing: GNU/Octave (mostly Matlab compatible), Scilab (INRIA, now GPL), SciPy/NumPy

• gcc(GNU Compiler Collection), ahomogeneousset of tools (preprocessor, compiler, linker, libraries) for all general purpose processors (x86, ARM, SPARC, Freescale, Renesas ...) 2

• GRASS dedicated to GIS + Google Maps (Google API) when web access is available

• Seismic Unix (SU) for processing Ground Penetrating (GPR)

“synthetic aperture antenna” datasets.

Opensource processing software no longer means opensource operating system: most mainstream processing tools have been ported to MS-Windows (and MacOS is a unix derivative)

2http://sequanux.org/jmfriedt/t/binary.isois a live-CD running Debian GNU/Linux providing all compilers and processing tools for a master2 teaching course on digital embedded electronics.

12 October 2012 – Brussels

(4)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing

Plotting GIS GPR & SU Conlusion

GNU/Octave

Design of a Finite Impulse Response (FIR) filter using GNU/Octave 3 (mostly Matlab compatible)

Findbn so that the future (y) being a linear combination (convolution) of the past (x) matches some known transfer function:

yn=P

k=0..mbkxn−k

Thesampling rate fe is normalized and knowing its value is fundamental in designing the filter

-1 -0.5 0 0.5 1

0 500 1000 1500 2000 2500 3000 3500 4000

magnitude (u.a.)

magnitude (u.a.) firls(160,[0 600 700 900 1000 fe/2]/fe*2,[0 0 1 1 0 0]);

-400 -200 0 200 400 600 800

0 500 1000 1500 2000 2500 3000 3500 4000

magntitude (u.a.)

frequence (Hz)

fe=16000;

ffin=4000;

fdeb=40;

b=firls(160,[0 600 700 900 1000 fe/2]/fe*2,[0 0 1 1 0 0]);

x=chirp([0:1/fe:5],fdeb,5,ffin);

f=linspace(fdeb,ffin,length(x));

plot(f,filter(b,1,x));

freq=[fdeb:150:ffin];

k=1;

for f=freq

x=sin(2*pi*f*[0:1/fe:1]); y=filter(b,1,x); sortie(k)=max(y);

k=k+1;

end

hold on;plot(freq,sortie,’r’)

xlabel(’frequence (Hz)’) ylabel(’magnitude (u.a.)’)

Top: modelling, blue by filtering a chirp, red by sampling discrete frequencies.

Bottom: experimental measurement of a FIR bandpass filter tuned for [700:900] Hz.

3J.-M Friedt,Affichage et traitement de donn´ees au moyen de logiciels libres, GNU/Linux Magazine France, 111 (Dec. 2008),jmfriedt.free.fr/lm_octave.pdf

12 October 2012 – Brussels

(5)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing

Plotting GIS GPR & SU Conlusion

GNU/Octave

Image processing: motion detection through cross-correlation 4

4J.-M Friedt,Auto et intercorr´elation, recherche de ressemblance dans les signaux : application l’identification d’images flout´ees, GNU/Linux Magazine France 139 (2011)

12 October 2012 – Brussels

(6)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing

Plotting GIS GPR & SU Conlusion

GNU/Octave

Image processing: motion detection through cross-correlation 4

4J.-M Friedt,Auto et intercorr´elation, recherche de ressemblance dans les signaux : application l’identification d’images flout´ees, GNU/Linux Magazine France 139 (2011)

12 October 2012 – Brussels

(7)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

gnuplot

gnuplotdoesnotlock the file it reads⇒simultaneous record and plot

pl ’front_glacier_2007/2007_tmp.txt’ u 1:2 w p t ’2007’,

’./front_glacier_2010/front2010.txt’ u 1:2 w l t ’2010’,

’./front_glacier_2011/front2011.txt’ u 1:2 w l t ’2011’,

’./front_glacier_2012/front2012.txt’ u 1:2 w l t ’2012’,

’front_glacier_2009/090921_jaune_front.txt’ u 1:2 w l t ’2009_1’,

’front_glacier_2009/090921_rouge_front.txt’ u 1:2 w l t ’2009_2’,

’front_glacier_2009/090921_rs232_front.txt’ u 1:2 w l t ’2009_3’

set xlabel ’longitude WGS84 (deg)’

set ylabel ’latitude WGS84 (deg)’

78.883 78.884 78.885 78.886 78.887 78.888 78.889 78.89 78.891

12.12 12.125 12.13 12.135 12.14 12.145 12.15 12.155 12.16 12.165 12.17 12.175

latitude WGS84 (deg)

longitude WGS84 (deg)

2007 2010 2011 2012 2009_1 2009_2 2009_3

• usual functions (point, line, ...)

• 3D and surface

• fit

• time series with date

12 October 2012 – Brussels

(8)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

GIS through the web

• Google Maps/Earth tiles are not free ... but available.

• KML language/Google API

• OpenStreetMap: combining datasets and interpreting for vectorization

J.-M Friedt, ´E. Carry,Acquisition et diss´emination de trames GPS `a des fins de cartographie libre, GNU/Linux Magazine France, Hors S´erie 27 (Octobre 2006)

12 October 2012 – Brussels

(9)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

GIS through the web

• Google Maps/Earth tiles are not free ... but available.

• KML language/Google API

• OpenStreetMap: combining datasets and interpreting for vectorization

J.-M. Friedt,eolocalistion de photographies num´eriques, GNU/Linux Magazine France 96, July/August 2007,http://jmfriedt.free.fr/lm_photos.pdf

12 October 2012 – Brussels

(10)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

GIS through the web

• Google Maps/Earth tiles are not free ... but available.

• KML language/Google API

• OpenStreetMap: combining datasets and interpreting for vectorization

J.-M Friedt,Auto et intercorr´elation, recherche de ressemblance dans les signaux : application l’identification d’images flout´ees, GNU/Linux Magazine France 139 (2011),http://jmfriedt.free.fr/xcorr.pdf

12 October 2012 – Brussels

(11)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

GIS through the web

• Google Maps/Earth tiles are not free ... but available.

• KML language/Google API

• OpenStreetMap: combining datasets and interpreting for vectorization

J.-M Friedt,Auto et intercorr´elation, recherche de ressemblance dans les signaux : application l’identification d’images flout´ees, GNU/Linux Magazine France 139 (2011),http://jmfriedt.free.fr/xcorr.pdf

12 October 2012 – Brussels

(12)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

GRASS

GIS = fusion of geographically tagged information on a common substrate (map)

Using the free Digital Elevation Model acquired by the Space Shuttle Mission (SRTM5) – 90×90 m resolution – or GDEM (Japan METI/ US NASA6) – 30×30 m.

5http://www2.jpl.nasa.gov/srtm/

6http://asterweb.jpl.nasa.gov/gdem.asp

12 October 2012 – Brussels

(13)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

Ground Penetrating RADAR

• bistatic configuration (physically separated emitter and receiver)

• electromagnetic pulse propagates in soil (εsoil εair)

• echos due to electromagnetic impedance variations (permittivityεr and conductivityσ)

v= c

s

εr

2

q

1 +εσ2ω22+ 1

• typical frequency range: 50-1600 MHz, depending on antenna dimensions

• lighweight, cost-effective geophysical characterization instrument

emitter antenna receiver antenna

12 October 2012 – Brussels

(14)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

Seismic Unix

Even (especially ?) highly specialized topics such a RADAR data processing is accessible through opensource7.

7A. Saintenoy, J.-M. Friedt &al.,Deriving ice thickness, glacier volume and bedrock morphology of the Austre Lovnbreen (Svalbard) using Ground-penetrating Radar, accepted Near Surface Geophysics,jmfriedt.free.fr/gpr-lovenbren-nsg12.pdf

12 October 2012 – Brussels

(15)

Information System (GIS) and opensource signal processing

tools J.-M Friedt

Data acquisition Processing Plotting GIS GPR & SU Conlusion

Conclusion

As an active scientist both in industry and academia, I use exclusively opensource tools for all research and development activities, and have never found myself limited in my processing capabilities by this choice 8.

The only two exceptions are FPGA (closed source) synthesis tools (Altera, Xilinx) and very dedicated electronics simulation tools (Cadence with proprietary foundry libraries).

Opensource will not make data processing easier, but it moves the issue from tool availability tohard work.

Opensource is not a choice, it is a way of life

Caveat: requires an internet connexion

8J.-M Friedt,Controle d’instruments scientifiques : les protocoles GPIB, VXI11 et USBTMC, GNU/Linux Magazine France 124, 26-39 (2010), pp.60-66

12 October 2012 – Brussels

Références

Documents relatifs

This command will copy directories (and all subdirectories) and/or files to new_location Note that this command can use standard wildcards Section 20.4.1 to copy multiple files..

cependant, une mise en échelle est nécessaire avant de la comparée au signal biologique filtré comme montré dans la figure 2.7.. 0,3

«Donner à tout utilisateur le droit d'utiliser, de modifier et de redistribuer le programme sans changer les conditions de distribution.  Le code source et les libertés

#deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main. #deb-src

wireshark: /usr/bin/wireshark Recherche dans les listes de fichiers des paquets installés. Recherche du programme dans l'arborescence

 Créer un fichier test avec la commande touch.  Donner les options de la

Ajout de l'utilisateur « etu » au groupe « sudo » Ajout de l'utilisateur etu au groupe

 Différencier les modules utilisés entre système hôte et système virtuel.  Manipulations réalisables sur