Difference between revisions of "International Charter Products To KML"

From OTBWiki
Jump to: navigation, search
m (Reverted edits by Bsen (Talk) to last revision by SebastienDinot)
Line 4: Line 4:
 
*Development of the GUI
 
*Development of the GUI
 
*Redefine the architecture of the Monteverdi repository to allow the management of new modules and applications based on it
 
*Redefine the architecture of the Monteverdi repository to allow the management of new modules and applications based on it
Nothing change? create Sub repositories for Google Earth <span class="plainlinks">[http://www.intivarreview.info/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">intivar</span>] application's modules?
+
Nothing change? create Sub repositories for Google Earth application's modules?
  
 
==Part 2 : 15/06/2010==
 
==Part 2 : 15/06/2010==
Line 14: Line 14:
 
*Process : Automatic Extract Roi (image + legend) -> Affine estimation ->  KMZ production
 
*Process : Automatic Extract Roi (image + legend) -> Affine estimation ->  KMZ production
 
*TODO:
 
*TODO:
**Generic test to validate the <span class="plainlinks">[http://www.performer5pills.info/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">performer5</span>] procedure (Module without GUI!!)
+
**Generic test to validate the procedure (Module without GUI!!)
 
**Automatic extract ROI
 
**Automatic extract ROI
 
====Case 2:supervised process without orthorectification====
 
====Case 2:supervised process without orthorectification====
Line 22: Line 22:
 
====<del>Case 3:supervised process with orthorectification</del>====
 
====<del>Case 3:supervised process with orthorectification</del>====
 
*Data : Charter Product (.jpg)
 
*Data : Charter Product (.jpg)
*Process : Manual or automatic <span class="plainlinks">[http://maleextrareviews.info/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">maleextra</span>] Extract Roi -> GCP to sensor model (use OSM datas) -> Orthorectification -> KMZ Production  
+
*Process : Manual or automatic Extract Roi -> GCP to sensor model (use OSM datas) -> Orthorectification -> KMZ Production  
 
Teh orthorectification process is now realised by the 3D engine of Google Earth!
 
Teh orthorectification process is now realised by the 3D engine of Google Earth!
  
Line 42: Line 42:
 
*DEV:
 
*DEV:
 
**Freeze if no network interface available -> Search Error: fallback on the origin
 
**Freeze if no network interface available -> Search Error: fallback on the origin
'''NOTE:''' to prevent the freeze, check if it is <span class="plainlinks">[http://www.smartpixels.net/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">seo India</span>] possible to use the same method as in the CoordinateToName class: call to the network methods in a separate thread.
+
'''NOTE:''' to prevent the freeze, check if it is possible to use the same method as in the CoordinateToName class: call to the network methods in a separate thread.
 
*ENH:
 
*ENH:
 
**PostGIS access
 
**PostGIS access
Line 65: Line 65:
 
*ajouter des données vecteur via Postgis -> ???
 
*ajouter des données vecteur via Postgis -> ???
 
*ouverture d'un kml sertit ne fonctionne pas et ne libère pas la données image associée
 
*ouverture d'un kml sertit ne fonctionne pas et ne libère pas la données image associée
*Pertinence d'un outil de recalage vecteur/vecteur -> se servir de la <span class="plainlinks">[http://www.instantperformeroil.info/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">instant performer</span>] classe ITK ImageDistanceMap dispo cf Examples/Filtering/DanielssonDistanceMapImageFilter.cxx.
+
*Pertinence d'un outil de recalage vecteur/vecteur -> se servir de la classe ITK ImageDistanceMap dispo cf Examples/Filtering/DanielssonDistanceMapImageFilter.cxx.
  
 
=Datas=
 
=Datas=
Line 79: Line 79:
 
**<del>KMZ filter to produce a pyramid image (=>OTB contribution, for now it is in the GE-Project)</del>
 
**<del>KMZ filter to produce a pyramid image (=>OTB contribution, for now it is in the GE-Project)</del>
 
**<del>Monteverdi Module for KMZ exportation</del>
 
**<del>Monteverdi Module for KMZ exportation</del>
** 2 km errors during <span class="plainlinks">[http://www.herbalweightlossaid.com/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">slimming pills</span>] exportation to GE (problem precision in lat/long) -> Use Physical Points
+
** 2 km errors during exportation to GE (problem precision in lat/long) -> Use Physical Points
 
** Production of a KMZ not KML: Need to provide GUI to allow user to integrate images, logos, dates (based on the "Simple Text Editor") example of FLTK
 
** Production of a KMZ not KML: Need to provide GUI to allow user to integrate images, logos, dates (based on the "Simple Text Editor") example of FLTK
 
** <del>Add orthorectification to WGS84 (OTB library)</del>
 
** <del>Add orthorectification to WGS84 (OTB library)</del>
 
** Implement the Case 1 (automatic) KML to KMZ
 
** Implement the Case 1 (automatic) KML to KMZ
** Review of the GCP to sensor model : Estimate a affine <span class="plainlinks">[http://www.eyesecretsreview.info/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">eye secrets</span>] transformation + allow to load a list of GCP need to complete
+
** Review of the GCP to sensor model : Estimate a affine transformation + allow to load a list of GCP need to complete
 
** Module wizard
 
** Module wizard
 
** Automatic segmentation of vector layers
 
** Automatic segmentation of vector layers
Line 92: Line 92:
  
 
=Screenshots=
 
=Screenshots=
*Extract the region of interest on the VA <span class="plainlinks">[http://buybreastenlargement.com/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">breast enlargements</span>] product (we can imagine an automatic procedure which will extract the ROI and the corresponding legend from the product)
+
*Extract the region of interest on the VA product (we can imagine an automatic procedure which will extract the ROI and the corresponding legend from the product)
 
[[Image:ScreenshotExtractROI.jpg]]
 
[[Image:ScreenshotExtractROI.jpg]]
 
*Georeferencing the input VA product with Open Street Map layer (or by import a GCP list from a XML file)
 
*Georeferencing the input VA product with Open Street Map layer (or by import a GCP list from a XML file)
 
[[Image:Screenshot_GCPToSensorModel.jpg]]
 
[[Image:Screenshot_GCPToSensorModel.jpg]]
*Export the new <span class="plainlinks">[http://buysexualenhancers.com/ <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">sexual enhancers</span>] product as a KMZ file in Google Earth (Note that the legend area appears in a separate file)
+
*Export the new product as a KMZ file in Google Earth (Note that the legend area appears in a separate file)
 
[[Image:Screenshot_GE.jpg]]
 
[[Image:Screenshot_GE.jpg]]

Revision as of 10:37, 18 November 2011

Description

Planning

Part 1 : 15/12/2010

  • Development of the GUI
  • Redefine the architecture of the Monteverdi repository to allow the management of new modules and applications based on it

Nothing change? create Sub repositories for Google Earth application's modules?

Part 2 : 15/06/2010

Use cases

Case 1: Automatic process

Data : Charter Product (.jpg?) + (.kml)

  • Process : Automatic Extract Roi (image + legend) -> Affine estimation -> KMZ production
  • TODO:
    • Generic test to validate the procedure (Module without GUI!!)
    • Automatic extract ROI

Case 2:supervised process without orthorectification

  • Data : Charter Product (.jpg)
  • Process : Manual or automatic Extract Roi -> GCP to sensor model (use OSM datas) -> KMZ Production

Case 3:supervised process with orthorectification

  • Data : Charter Product (.jpg)
  • Process : Manual or automatic Extract Roi -> GCP to sensor model (use OSM datas) -> Orthorectification -> KMZ Production

Teh orthorectification process is now realised by the 3D engine of Google Earth!


Dont forget

  • Production of a structured KML products needs a good analysis of the Charter products
  • How introduce temporal informations in the final product?
  • Customized applicaton based on Monteverdi
  • Focus on the need to a simple IO applications for producing "Image to KML"

Monteverdi Modules

Extract ROI

Import Tile Map (OSM)

  • DEV:
    • Freeze if no network interface available -> Search Error: fallback on the origin

NOTE: to prevent the freeze, check if it is possible to use the same method as in the CoordinateToName class: call to the network methods in a separate thread.

  • ENH:
    • PostGIS access
    • Import PNG (need generic approch - not now)
    • Rescale png image (cf mail otb-dev EC). TODO : contribution from C-S -> compression module
    • Replace OSM level by associated cartographic projection (1/20 000...)
    • Asynchrone connection to improve ergonomy

GCP to sensor model

  • ENH:
    • refresh GUI (in progress)
    • Add multiple viewer for OSM


Segmentation

    • Existing tools in gimp to perform palette segmentation?

General Questions/Remarks

  • Google earth proj geographic -> lib proj comme QGIS (lien avec OSSIM discussion à avoir avec EC)
  • streaming données vecteurs VectorDataProperties a la lecture dans le reader -> ??? Is there a size constraint on the vector data? What is the worse case we plan to have?
  • Visu -> hors perimètre car outil n'est pas un outil de visu
  • Cache obliger des données OSM -> forcé le cache
  • ajouter des données vecteur via Postgis -> ???
  • ouverture d'un kml sertit ne fonctionne pas et ne libère pas la données image associée
  • Pertinence d'un outil de recalage vecteur/vecteur -> se servir de la classe ITK ImageDistanceMap dispo cf Examples/Filtering/DanielssonDistanceMapImageFilter.cxx.

Datas

  • Test with real Datas.

With different resolutions, jpg, kml...

    • Sertit :
    • ZKI
    • Haiti SRTM 3

ROADMAP

    • Generic test to validate the procedure
    • KMZ filter to produce a pyramid image (=>OTB contribution, for now it is in the GE-Project)
    • Monteverdi Module for KMZ exportation
    • 2 km errors during exportation to GE (problem precision in lat/long) -> Use Physical Points
    • Production of a KMZ not KML: Need to provide GUI to allow user to integrate images, logos, dates (based on the "Simple Text Editor") example of FLTK
    • Add orthorectification to WGS84 (OTB library)
    • Implement the Case 1 (automatic) KML to KMZ
    • Review of the GCP to sensor model : Estimate a affine transformation + allow to load a list of GCP need to complete
    • Module wizard
    • Automatic segmentation of vector layers
    • Generic process to export datas to Google Earth

Drawbacks

    • Size of associated windows of gcp to sensor model module

Screenshots

  • Extract the region of interest on the VA product (we can imagine an automatic procedure which will extract the ROI and the corresponding legend from the product)

ScreenshotExtractROI.jpg

  • Georeferencing the input VA product with Open Street Map layer (or by import a GCP list from a XML file)

Screenshot GCPToSensorModel.jpg

  • Export the new product as a KMZ file in Google Earth (Note that the legend area appears in a separate file)

Screenshot GE.jpg