Madagascar2011 - 05 - Monteverdi first steps

1,704 views

Published on

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,704
On SlideShare
0
From Embeds
0
Number of Embeds
429
Actions
Shares
0
Downloads
61
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Madagascar2011 - 05 - Monteverdi first steps

  1. 1. First use with the Orfeo Toolbox framework Monteverdi Stéphane MAY stephane.may@cnes.fr orfeo-toolbox.org 1
  2. 2. Use case 1 : open an image, and discover the viewer Menu File > Open Im4_C_29042009_170_395/372076101/SPVIEW01/IMAGERY.TIF Menu Visualization > Viewer Select your input images Discover the viewer functionalities Alternative : right click on the module in the pipeline orfeo-toolbox.org 2
  3. 3. Monteverdi – ViewerVisualization Viewer (1/5) orfeo-toolbox.org 3
  4. 4. Monteverdi - ViewerVisualization Viewer (2/5) orfeo-toolbox.org 4
  5. 5. Monteverdi - ViewerVisualization Viewer (3/5) orfeo-toolbox.org 5
  6. 6. Monteverdi - ViewerVisualization Viewer (4/5) orfeo-toolbox.org 6
  7. 7. Monteverdi - ViewerVisualization Viewer (5/5) orfeo-toolbox.org 7
  8. 8. Use case 2 : create a pipeline, save an imageMenu File > Open Im4_C_29042009_170_395/372076101/SPVIEW01/IMAGERY.TIFMenu Visualization > Viewer (lock the pipeline !)File > Extract ROI from dataset Positions (x,y) = [3000,3000], sizeX=500 (w), sizeY=600 (h)File > Save datasetFile > Save dataset (advanced) Save only Channel 1 in Float typeSeel also : Right click on pipeline module ExtractROI > Show module Cache dataset orfeo-toolbox.org 8
  9. 9. Monteverdi - ROIFile > Extract ROI orfeo-toolbox.org 9
  10. 10. Monteverdi – Save datasetFile > Save dataset (advanced) Choice of data type Choice of output channels orfeo-toolbox.org 10
  11. 11. Use case 3 : threshold an imageMenu File > Open ./theme2/extraitIm2_C/Im2_c_extrait.tifMenu Filtering > Threshold Generic Threshold / Threshold Above / Change Lower threshold Generic Threshold / Threshold Below / Change Upper Threshold ➢ Role of outside value ➢ Role of alpha (alpha blending) : alpha=0 Generic Threshold / Threshold outside / Change upper & lower th. Binary threshold / Lower & Upper threshold / Outside & Inside values orfeo-toolbox.org 11
  12. 12. Monteverdi - ThresholdFiltering Threshold orfeo-toolbox.org 12
  13. 13. Monteverdi – Feature extractionFiltering Feature Extraction (1/3) orfeo-toolbox.org 13
  14. 14. Monteverdi – Feature extractionFiltering Feature Extraction (2/3) orfeo-toolbox.org 14
  15. 15. Monteverdi – Feature extractionFiltering Feature Extraction (3/3) ➢ More than 65 features ! Mean, variance, Gradient, spectral angle Textures (energy, entropy, contrast, etc) Morphological filters Radiometric indexes • Vegetation (NDVI, ARVI, etc), Soil, Built up, Water Edge density Mean shift Original data (=> no need to concatenate channels after filtering) Etc orfeo-toolbox.org 15
  16. 16. Use case 4 : Feature extraction (1/3)Menu File > Open ./theme2/extraitIm2_C/Im2_c_extrait.tifMenu Filtering > Feature extraction Test the following features (See OTB-Software-Guide.pdf for technical details on algorithms) ➢ Original data (=> no need to concatenate channels after filtering) ➢ Edge detection : Touzi ➢ Spectral angle : choose one vegetation pixel ➢ Variance ➢ Mean ➢ Rec. gradient ➢ Morphology > Morphology opening ➢ Edge density > Sobel orfeo-toolbox.org 16
  17. 17. Use case 4 : Feature extraction (2/3)Menu Filtering > Feature extraction Test the following features (See OTB-Software-Guide.pdf for technical details on algorithms) : ➢ Radiometric indexes Vegetation • NDVI, RVI, PVI, etc Soil • BI2 Built up • ISU Further work : ➢ Rename output image channels ➢ Save your result ➢ Build Mean, variance image on a Touzi image orfeo-toolbox.org 17
  18. 18. Use case 4 : Feature extraction (3/3)Solution : mean, variance over Touzi image Reader Feature Extraction (Reader0) > Touzi Feature Extraction (FeatureExtraction1) > Mean, Variance Save your result orfeo-toolbox.org 18
  19. 19. Use case 5 : concatenate your resultsMenu File > Open ./theme2/extraitIm2_C/Im2_c_extrait.tifMenu Filtering > Feature extraction > NDVIMenu File > Concatenate Image Add Reader0 → Channel 1 Add Reader0 → Channel 2 Add FeatureExtraction1 → OutputImageView the result orfeo-toolbox.org 19
  20. 20. Monteverdi – Concatenate imagesFile > Concatenate images orfeo-toolbox.org 20
  21. 21. OTB – Concatenate imagesCommand line tool otbConcatenateImages-cli -il image1.tif image2.tif -out img_concat.tif orfeo-toolbox.org 21
  22. 22. MonteverdiThank you for your attention ! orfeo-toolbox.org 22

×