SlideShare une entreprise Scribd logo
1  sur  43
Télécharger pour lire hors ligne
Image Processing and
                      Cartography with the NASA
                          Vision Workbench




                                    Matthew D. Hancher
                                Intelligent Systems Division
                               NASA Ames Research Center
                                    September 26, 2007
Intelligent Systems Division                                   NASA Ames Research Center
Talk Overview


                   •      Who We Are

                   •      Introduction to the Vision Workbench

                   •      Example Applications

                   •      FOSS and NASA




Intelligent Systems Division                                     NASA Ames Research Center
NASA Ames Research Center

          • NASA’s Silicon Valley
                 research center
               •      Small spacecraft
               •      Supercomputers
               •      Intelligent Systems
               •      Human Factors
               •      Thermal protection systems
               •      Aeronautics
               •      Astrobiology



Intelligent Systems Division                       NASA Ames Research Center
GIS & Imaging at Ames



                                                  MASTER
                NASA World Wind
                                           (MODIS/ASTER simulator)




                   NASA/Google                  Western States
                 Planetary Content         Fire Monitoring Mission

Intelligent Systems Division                                  NASA Ames Research Center
IRG & ACES




                     Intelligent Robotics       Adaptive Control &
                             Group            Evolvable Systems Group

Intelligent Systems Division                                  NASA Ames Research Center
Intro to the Vision Workbench




Intelligent Systems Division                      NASA Ames Research Center
NASA Vision Workbench

                 •      Open-source image processing and machine vision
                        library in C++

                 •      Developed as a foundation for unifying raster
                        image processing work at NASA Ames

                 •      A “second-generation” C++ image processing
                        library, drawing on lessons learned by VXL, GIL,
                        VIGRA, etc.

                 •      Designed for easy, expressive coding of
                        efficient image processing algorithms


Intelligent Systems Division                                        NASA Ames Research Center
Open-Source VW Modules
            •      Core: Low-level types & platform support

            •      Math: General-purpose mathematical tools              VW
                                                                     “Foundation”
            •      Image: Basic image operations, filters, etc.         Modules


            •      FileIO: Simple, flexible image file IO layer

            •      Camera: Camera models & related tools

            •      Cartography: Geospatial image manipulation

            •      Mosaic: Image mosaicing & multi-band blending

            •      HDR: High-dynamic-range imaging

                                     (Open source as of now)
Intelligent Systems Division                                     NASA Ames Research Center
VW Modules Underway

            •      InterestPoint: Interest point detection & matching

            •      Stereo: Stereo correlation & 3D reconstruction

            •      Python: Python bindings to many VW capabilities

            •      GPU: GPU-accelerated image operations

            •      Texture: Texture analysis & matching

            •      Display: Image display and user interaction



                                 (The first four to be released later this year)
Intelligent Systems Division                                                      NASA Ames Research Center
Design Goals & Approach

                   • A simple, clean API for easy hacking
                        •      Simple syntax: Write what you mean!

                        •      Easy to manipulate arbitrarily large images

                        •      Automatic memory management




                   • Generates high-performance code
                        •      Optimized processing via lazy evaluation

                        •      Function inlining via “generic” (template-based) C++ style



Intelligent Systems Division                                                     NASA Ames Research Center
API Philosophy

                   •      Simple, natural, mathematical, expressive

                   •      Treat images as first-class mathematical data
                          types whenever possible
                        •      Example: IIR filtering for background subtraction
                               background += alpha * ( image - background );



                   •      Direct, intuitive function calls
                        • Example: A Gaussian smoothing filter
                               result = gaussian_filter( image, 3.0 );



Intelligent Systems Division                                                      NASA Ames Research Center
Image Module Basics




Intelligent Systems Division                         NASA Ames Research Center
Under the Hood: Image Views
                • The core “image view” concept:
                      •        Can be evaluated at a location to return a pixel value
                      •        Has a width and height in pixels


                • Cannonical example: the ImageView class
                 •             ImageView<PixelRGB<uint8> > image(1024,768);



                • Data processing represented as views
                 •             image2 = gaussian_filter(image1, 3.0);



                • Lazy container for arbitrary views
                 •             ImageViewRef<PixelRGB<uint8> > image3
                                                   = gaussian_filter(image1, 3.0);

Intelligent Systems Division                                                            NASA Ames Research Center
Image Views II
         • Eliminates unnecessary temporaries
             •      background += alpha * ( image - background );




         • Supports procedurally generated images
             •      image2 = fixed_grid(10,10,white,black,1024,768);




         • Allows greater control over processing
          •         image2 = block_rasterize( gaussian_filter(image1, 3.0) );



         • Views of images on disk
          •         DiskImageView<PixelRGB<uint8> > disk_image(filename);

Intelligent Systems Division                                           NASA Ames Research Center
Applications & Modules




Intelligent Systems Division                            NASA Ames Research Center
GigaPan Panorama Stitcher




           (As featured in the GigaPan layer in Google Earth.)
Intelligent Systems Division                          NASA Ames Research Center
Mosaic Module

                 • ImageComposite
                       •       Composite an arbitrary number of arbitrarily large images

                       •       It’s “just another image view”

                       •       Supports multi-band blending for seamless composites



                 • QuadTreeGenerator
                       •       Generates a tiled pyramid representation of an arbitrary
                               image view on disk

                       •       Great for building e.g. KML superoverlays or TMS maps


Intelligent Systems Division                                                      NASA Ames Research Center
Cartographic Reprojection




                 (As seen in the newly updated Google Moon.)
Intelligent Systems Division                           NASA Ames Research Center
Cartography Module
                   • GeoReference
                        •      Uses PROJ.4 for standard projections, GDAL to read/write


                   • GeoTransform
                        •      Reprojects image data between GeoReferences
                        •      Makes “just another image view”


                   • OrthoImageView
                        •      Ortho-rectifies an aerial or satellite image against an
                               arbitrary DEM (in conjunction with the Camera module).
                        •      Also “just another image view”



Intelligent Systems Division                                                      NASA Ames Research Center
Automated Image Alignment
              •      Problem: Given two images, find and align the overlap region.




Intelligent Systems Division                                            NASA Ames Research Center
Image Alignment w/ Interest Points




                           Point correspondencesto be aligned image
                                 Locate interest points inin first image
                                   Locate interest points second alignment
                                          Images determine image




Intelligent Systems Division                                            NASA Ames Research Center
Interest Point Module
       • Interest point detectors, descriptors, and matching
         ScaledInterestPointDetector<LoGInterest> detector;
         InterestPointList ip1 = interest_points( image1, detector );
         InterestPointList ip2 = interest_points( image2, detector );

         PatchDescriptor descriptor;
         compute_descriptors( image1, ip1, descriptor );
         compute_descriptors( image2, ip2, descriptor );

         DefaultMatcher matcher(threshold);
         InterestPointList matched1, matched2;
         matcher.match( ip1, ip2, matched1, matched2 );

         Matrix2x2 homography = ransac( matched1, matched2,
                                        SimilarityFittingFunctor(),
                                        InterestPointErrorMetric() );



Intelligent Systems Division                                 NASA Ames Research Center
The Ames Stereo Pipeline
                                      Fast, high quality, automated stereogrammetric
                                      surface reconstruction originally developed for
                                                  Mars Pathfinder science operations




     Disparity




                               Now a Vision Workbench application.
Intelligent Systems Division                                                NASA Ames Research Center
The Ames Stereo Pipeline
                               Primary Image             Secondary Image

                                                                             Ephemeris or
                                                            Registration
                                                                           Automated Interest
                                                                                Points
                                 Mask / Sign of Laplacian of Gaussian


                                       Fast Stereo Correlation


                                   Outlier Rejection / Hole Filling /
                                             Smoothing
                                                                             Disparity Map
                                Camera Model (e.g. Linear Pushbroom)
                                                                           Point Cloud/DTM
                                          Mesh Generation
                                                                               3D Mesh


             Surprise: It’s all just Vision Workbench image views!
Intelligent Systems Division                                                             NASA Ames Research Center
Mars Stereo: MOC NA
                                          MGS MOC-Narrow Angle
                                          •   Malin Space Science Systems
                                          •   Altitude: 388.4 km (typical)
                                          •   Line Scan Camera: 2048 pixels
                                          •   Focal length: 3.437m
                                          •   Resolution: 1.5-12m / pixel
                                          •   FOV: 0.5 deg




Intelligent Systems Division                                       NASA Ames Research Center
NE Terra Meridiani

                                 !%
                                  quot;quot;
                                  #$
                !!




                                                            $
                                                        #
                   quot;




                                                     quot;quot;
                  quot;quot;




                                                  !%
                       #$




                                                                               !!quot;quot;quot; $
                                                                           !%quot;quot;#$




             Upper Left: This DTM was generated from MOC images E04-01109 and M20-01357 (2.38°N, 6.40°E). The contour lines (20m
             spacing) overlay an ortho-image generated from the 3D terrain model. Lower Right: An oblique view of the corresponding VRML
             model.




Intelligent Systems Division                                                                                             NASA Ames Research Center
Preliminary MOLA Comparison
      Elevation at boresight pixel (m)




                                                  Scanline Capture Time (s)

Intelligent Systems Division                                                  NASA Ames Research Center
Lunar Stereo: Apollo Orbiter Cameras

            ITEK Panoramic Camera
            • Focal length: 610 mm (24”)
            • Optical bar camera
            • Apollo 15,16,17 Scientific
              Instrument Module (SIM)
            • Film image: 1.149 x 0.1149 m
            • Resolution: 108-135 lines/mm




Intelligent Systems Division                 NASA Ames Research Center
Apollo 17 Landing Site




             Top: Stereo reconstruction

             Right: Handheld photo taken by an
             orbiting Apollo 17 astronaut




Intelligent Systems Division                            NASA Ames Research Center
Public Outreach: Hayden Planetarium




Intelligent Systems Division        NASA Ames Research Center
Public Outreach: Hayden Planetarium




Intelligent Systems Division        NASA Ames Research Center
Application: Image Matching
                               •   Problem: Given an image, find others like it.




                                Example database: Apollo Metric Camera images

Intelligent Systems Division                                                      NASA Ames Research Center
Texture-Based Image Matching
                     Model
                     image

                                    Texture bank filtering
                    Filtering
                                    (Gaussian 1st derivative and LOG)

                                    Grouping to remove orientation
            Output Representation
                                    Energy in a window

                                    E-M Gaussian mixture model
                 Segmentation
                                    Iterative tryouts, MDL

                                    Max vote
                Post-processing


                                    Grouping
                Summarization
                                    Mean energy in segment

                                    Euclidian distance
              Vector Comparison



                    Matched
                     image


Intelligent Systems Division                                            NASA Ames Research Center
Image Matching: Results




Intelligent Systems Division                             NASA Ames Research Center
FOSS and NASA




Intelligent Systems Division                   NASA Ames Research Center
The NOSA
            •      The NASA Open Source Agreement, an OSI-approved
                   non-viral open source license

            •      Intended to protect users from contributor patent
                   licensing issues.

            •      Yes, we know: The current version (1.3) has several
                   well-known peculiarities.




Intelligent Systems Division                                     NASA Ames Research Center
U.S. Contractor Rights
            • The University and Small Business Patent
                   Procedures Act of 1980, a.k.a. “Bayh-Dole”.
                  •      A university, small business, or non-profit can claim patent
                         ownership of a federally-funded invention before the government.

                  •      The government must actively promote and attempt to
                         commercialize the invention.



            • Severely complicates open-source
                   initiatives within the government that involve
                   universities, small businesses, or non-profits.

Intelligent Systems Division                                                   NASA Ames Research Center
The Open Source Process

                 • Open-source approval stages include:
                       •       Invention disclosure

                       •       Copyright assignment (all parties)

                       •       Legal review (copyright & patent issues)

                       •       Export control review (e.g. ITAR)

                       •       Computer security review

                       •       more....



Intelligent Systems Division                                              NASA Ames Research Center
Signs of Improvement
                   • The old model: (e.g.VW 1.0)
                        •      Seek approvals after code completion
                        •      Long, slow, high-latency release cycle


                   • The new model: ??                  (e.g. WV 2.0 ??)
                        •      Seek periodic approval for upcoming development
                        •      Allows regular updates within prescribed bounds


                   • On the horizon: ??
                        •      User contribution process ?
                        •      Publicly-accessible subversion repository ???


Intelligent Systems Division                                                     NASA Ames Research Center
Free and Open Data
               • Free and open data has received much
                      less attention than free and open software.

               • The National Aeronautics & Space Act:
                     •         The Administration, in order to carry out the purpose of this
                               Act, shall... provide for the widest practicable and
                               appropriate dissemination of information concerning
                               its activities and the results thereof.


               • Alas, NASA does not own much of what
                      is often imagined to be “NASA data”.

Intelligent Systems Division                                                         NASA Ames Research Center
Outreach: Google Earth




                               Astronaut Photography         MODIS Coverages



                •      Make more datasets publicly available as KML (and soon
                       WMS) for mash-ups.

                •      Increase the visibility of existing public repositories
                       of NASA data and imagery.

Intelligent Systems Division                                              NASA Ames Research Center
Outreach: Google Moon




                         Data coming soon via KML and WMS from NASA.

Intelligent Systems Division                                      NASA Ames Research Center
Obtaining the Vision Workbench


                               • VW version 1.0.1 available now.
                               • VW version 2.0 coming this fall!
                      http://ti.arc.nasa.gov/visionworkbench/



                               • To contact me:
                                 Matthew.D.Hancher@nasa.gov



Intelligent Systems Division                                        NASA Ames Research Center

Contenu connexe

En vedette

On NASA Space Shuttle Program Hardware and Software
On NASA Space Shuttle Program Hardware and SoftwareOn NASA Space Shuttle Program Hardware and Software
On NASA Space Shuttle Program Hardware and SoftwareMartin Dvorak
 
User Centered Agile Development at NASA - One Groups Path to Better Software
User Centered Agile Development at NASA - One Groups Path to Better SoftwareUser Centered Agile Development at NASA - One Groups Path to Better Software
User Centered Agile Development at NASA - One Groups Path to Better SoftwareBalanced Team
 
Agile Leadership – Is a Servant Leader always the Right Approach?
Agile Leadership – Is a Servant Leader always the Right Approach?Agile Leadership – Is a Servant Leader always the Right Approach?
Agile Leadership – Is a Servant Leader always the Right Approach?IvanaTerrorBull
 
Thirty months of microservices. Stairway to heaven or highway to hell
Thirty months of microservices. Stairway to heaven or highway to hellThirty months of microservices. Stairway to heaven or highway to hell
Thirty months of microservices. Stairway to heaven or highway to hellSander Hoogendoorn
 
Crumbley.tim
Crumbley.timCrumbley.tim
Crumbley.timNASAPMC
 

En vedette (8)

On NASA Space Shuttle Program Hardware and Software
On NASA Space Shuttle Program Hardware and SoftwareOn NASA Space Shuttle Program Hardware and Software
On NASA Space Shuttle Program Hardware and Software
 
User Centered Agile Development at NASA - One Groups Path to Better Software
User Centered Agile Development at NASA - One Groups Path to Better SoftwareUser Centered Agile Development at NASA - One Groups Path to Better Software
User Centered Agile Development at NASA - One Groups Path to Better Software
 
Agile Leadership – Is a Servant Leader always the Right Approach?
Agile Leadership – Is a Servant Leader always the Right Approach?Agile Leadership – Is a Servant Leader always the Right Approach?
Agile Leadership – Is a Servant Leader always the Right Approach?
 
Thirty months of microservices. Stairway to heaven or highway to hell
Thirty months of microservices. Stairway to heaven or highway to hellThirty months of microservices. Stairway to heaven or highway to hell
Thirty months of microservices. Stairway to heaven or highway to hell
 
Building Better Software Faster
Building Better Software FasterBuilding Better Software Faster
Building Better Software Faster
 
Crumbley.tim
Crumbley.timCrumbley.tim
Crumbley.tim
 
2011 NASA Open Source Summit - Terry Fong
2011 NASA Open Source Summit - Terry Fong2011 NASA Open Source Summit - Terry Fong
2011 NASA Open Source Summit - Terry Fong
 
Doom in SpaceX
Doom in SpaceXDoom in SpaceX
Doom in SpaceX
 

Similaire à Image Processing and Cartography with the NASA Vision Workbench

Overview of computer vision and machine learning
Overview of computer vision and machine learningOverview of computer vision and machine learning
Overview of computer vision and machine learningsmckeever
 
PCI Geomatics Overview
PCI Geomatics OverviewPCI Geomatics Overview
PCI Geomatics OverviewPci Geomatics
 
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...Channy Yun
 
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine LearningMakine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine LearningAli Alkan
 
Virtual Earth And ESRI
Virtual Earth And ESRIVirtual Earth And ESRI
Virtual Earth And ESRITim Warr
 
Machine Learning with JavaScript
Machine Learning with JavaScriptMachine Learning with JavaScript
Machine Learning with JavaScriptIvo Andreev
 
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...npinto
 
AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...
AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...
AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...Amazon Web Services
 
A Novel Approach to Image Denoising and Image in Painting
A Novel Approach to Image Denoising and Image in PaintingA Novel Approach to Image Denoising and Image in Painting
A Novel Approach to Image Denoising and Image in PaintingEswar Publications
 
Creating A Multi-wavelength Galactic Plane Atlas With Amazon Web Services
Creating A Multi-wavelength Galactic Plane Atlas With Amazon Web ServicesCreating A Multi-wavelength Galactic Plane Atlas With Amazon Web Services
Creating A Multi-wavelength Galactic Plane Atlas With Amazon Web Services G. Bruce Berriman
 
Identifying Auxiliary Web Images Using Combinations of Analyses
Identifying Auxiliary Web Images Using Combinations of AnalysesIdentifying Auxiliary Web Images Using Combinations of Analyses
Identifying Auxiliary Web Images Using Combinations of AnalysesTewson Seeoun
 
Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks Cameron Vetter
 
Mirko Lucchese - Deep Image Processing
Mirko Lucchese - Deep Image ProcessingMirko Lucchese - Deep Image Processing
Mirko Lucchese - Deep Image ProcessingMeetupDataScienceRoma
 
Convolutional Neural Network for pixel-wise skyline detection
Convolutional Neural Network for pixel-wise skyline detectionConvolutional Neural Network for pixel-wise skyline detection
Convolutional Neural Network for pixel-wise skyline detectionDarian Frajberg
 
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptxDeep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptxpmgdscunsri
 
Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ...
 Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ... Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ...
Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ...Tatsuya Shirakawa
 
Scene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural NetworkScene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural NetworkDhirajGidde
 
Skills portfolio
Skills portfolioSkills portfolio
Skills portfolioyeboyerp
 
DNR - Auto deep lab paper review ppt
DNR - Auto deep lab paper review pptDNR - Auto deep lab paper review ppt
DNR - Auto deep lab paper review ppttaeseon ryu
 
Introduction to Generative Adversarial Networks (GAN) with Apache MXNet
Introduction to Generative Adversarial Networks (GAN) with Apache MXNetIntroduction to Generative Adversarial Networks (GAN) with Apache MXNet
Introduction to Generative Adversarial Networks (GAN) with Apache MXNetAmazon Web Services
 

Similaire à Image Processing and Cartography with the NASA Vision Workbench (20)

Overview of computer vision and machine learning
Overview of computer vision and machine learningOverview of computer vision and machine learning
Overview of computer vision and machine learning
 
PCI Geomatics Overview
PCI Geomatics OverviewPCI Geomatics Overview
PCI Geomatics Overview
 
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
 
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine LearningMakine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
 
Virtual Earth And ESRI
Virtual Earth And ESRIVirtual Earth And ESRI
Virtual Earth And ESRI
 
Machine Learning with JavaScript
Machine Learning with JavaScriptMachine Learning with JavaScript
Machine Learning with JavaScript
 
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
 
AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...
AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...
AWS re:Invent 2016: Transforming Industrial Processes with Deep Learning (MAC...
 
A Novel Approach to Image Denoising and Image in Painting
A Novel Approach to Image Denoising and Image in PaintingA Novel Approach to Image Denoising and Image in Painting
A Novel Approach to Image Denoising and Image in Painting
 
Creating A Multi-wavelength Galactic Plane Atlas With Amazon Web Services
Creating A Multi-wavelength Galactic Plane Atlas With Amazon Web ServicesCreating A Multi-wavelength Galactic Plane Atlas With Amazon Web Services
Creating A Multi-wavelength Galactic Plane Atlas With Amazon Web Services
 
Identifying Auxiliary Web Images Using Combinations of Analyses
Identifying Auxiliary Web Images Using Combinations of AnalysesIdentifying Auxiliary Web Images Using Combinations of Analyses
Identifying Auxiliary Web Images Using Combinations of Analyses
 
Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks Azure Batch AI for Neural Networks
Azure Batch AI for Neural Networks
 
Mirko Lucchese - Deep Image Processing
Mirko Lucchese - Deep Image ProcessingMirko Lucchese - Deep Image Processing
Mirko Lucchese - Deep Image Processing
 
Convolutional Neural Network for pixel-wise skyline detection
Convolutional Neural Network for pixel-wise skyline detectionConvolutional Neural Network for pixel-wise skyline detection
Convolutional Neural Network for pixel-wise skyline detection
 
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptxDeep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
 
Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ...
 Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ... Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ...
Taskonomy: Disentangling Task Transfer Learning -- Scouty Meetup 2018 Feb., ...
 
Scene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural NetworkScene recognition using Convolutional Neural Network
Scene recognition using Convolutional Neural Network
 
Skills portfolio
Skills portfolioSkills portfolio
Skills portfolio
 
DNR - Auto deep lab paper review ppt
DNR - Auto deep lab paper review pptDNR - Auto deep lab paper review ppt
DNR - Auto deep lab paper review ppt
 
Introduction to Generative Adversarial Networks (GAN) with Apache MXNet
Introduction to Generative Adversarial Networks (GAN) with Apache MXNetIntroduction to Generative Adversarial Networks (GAN) with Apache MXNet
Introduction to Generative Adversarial Networks (GAN) with Apache MXNet
 

Dernier

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 

Dernier (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Image Processing and Cartography with the NASA Vision Workbench

  • 1. Image Processing and Cartography with the NASA Vision Workbench Matthew D. Hancher Intelligent Systems Division NASA Ames Research Center September 26, 2007 Intelligent Systems Division NASA Ames Research Center
  • 2. Talk Overview • Who We Are • Introduction to the Vision Workbench • Example Applications • FOSS and NASA Intelligent Systems Division NASA Ames Research Center
  • 3. NASA Ames Research Center • NASA’s Silicon Valley research center • Small spacecraft • Supercomputers • Intelligent Systems • Human Factors • Thermal protection systems • Aeronautics • Astrobiology Intelligent Systems Division NASA Ames Research Center
  • 4. GIS & Imaging at Ames MASTER NASA World Wind (MODIS/ASTER simulator) NASA/Google Western States Planetary Content Fire Monitoring Mission Intelligent Systems Division NASA Ames Research Center
  • 5. IRG & ACES Intelligent Robotics Adaptive Control & Group Evolvable Systems Group Intelligent Systems Division NASA Ames Research Center
  • 6. Intro to the Vision Workbench Intelligent Systems Division NASA Ames Research Center
  • 7. NASA Vision Workbench • Open-source image processing and machine vision library in C++ • Developed as a foundation for unifying raster image processing work at NASA Ames • A “second-generation” C++ image processing library, drawing on lessons learned by VXL, GIL, VIGRA, etc. • Designed for easy, expressive coding of efficient image processing algorithms Intelligent Systems Division NASA Ames Research Center
  • 8. Open-Source VW Modules • Core: Low-level types & platform support • Math: General-purpose mathematical tools VW “Foundation” • Image: Basic image operations, filters, etc. Modules • FileIO: Simple, flexible image file IO layer • Camera: Camera models & related tools • Cartography: Geospatial image manipulation • Mosaic: Image mosaicing & multi-band blending • HDR: High-dynamic-range imaging (Open source as of now) Intelligent Systems Division NASA Ames Research Center
  • 9. VW Modules Underway • InterestPoint: Interest point detection & matching • Stereo: Stereo correlation & 3D reconstruction • Python: Python bindings to many VW capabilities • GPU: GPU-accelerated image operations • Texture: Texture analysis & matching • Display: Image display and user interaction (The first four to be released later this year) Intelligent Systems Division NASA Ames Research Center
  • 10. Design Goals & Approach • A simple, clean API for easy hacking • Simple syntax: Write what you mean! • Easy to manipulate arbitrarily large images • Automatic memory management • Generates high-performance code • Optimized processing via lazy evaluation • Function inlining via “generic” (template-based) C++ style Intelligent Systems Division NASA Ames Research Center
  • 11. API Philosophy • Simple, natural, mathematical, expressive • Treat images as first-class mathematical data types whenever possible • Example: IIR filtering for background subtraction background += alpha * ( image - background ); • Direct, intuitive function calls • Example: A Gaussian smoothing filter result = gaussian_filter( image, 3.0 ); Intelligent Systems Division NASA Ames Research Center
  • 12. Image Module Basics Intelligent Systems Division NASA Ames Research Center
  • 13. Under the Hood: Image Views • The core “image view” concept: • Can be evaluated at a location to return a pixel value • Has a width and height in pixels • Cannonical example: the ImageView class • ImageView<PixelRGB<uint8> > image(1024,768); • Data processing represented as views • image2 = gaussian_filter(image1, 3.0); • Lazy container for arbitrary views • ImageViewRef<PixelRGB<uint8> > image3 = gaussian_filter(image1, 3.0); Intelligent Systems Division NASA Ames Research Center
  • 14. Image Views II • Eliminates unnecessary temporaries • background += alpha * ( image - background ); • Supports procedurally generated images • image2 = fixed_grid(10,10,white,black,1024,768); • Allows greater control over processing • image2 = block_rasterize( gaussian_filter(image1, 3.0) ); • Views of images on disk • DiskImageView<PixelRGB<uint8> > disk_image(filename); Intelligent Systems Division NASA Ames Research Center
  • 15. Applications & Modules Intelligent Systems Division NASA Ames Research Center
  • 16. GigaPan Panorama Stitcher (As featured in the GigaPan layer in Google Earth.) Intelligent Systems Division NASA Ames Research Center
  • 17. Mosaic Module • ImageComposite • Composite an arbitrary number of arbitrarily large images • It’s “just another image view” • Supports multi-band blending for seamless composites • QuadTreeGenerator • Generates a tiled pyramid representation of an arbitrary image view on disk • Great for building e.g. KML superoverlays or TMS maps Intelligent Systems Division NASA Ames Research Center
  • 18. Cartographic Reprojection (As seen in the newly updated Google Moon.) Intelligent Systems Division NASA Ames Research Center
  • 19. Cartography Module • GeoReference • Uses PROJ.4 for standard projections, GDAL to read/write • GeoTransform • Reprojects image data between GeoReferences • Makes “just another image view” • OrthoImageView • Ortho-rectifies an aerial or satellite image against an arbitrary DEM (in conjunction with the Camera module). • Also “just another image view” Intelligent Systems Division NASA Ames Research Center
  • 20. Automated Image Alignment • Problem: Given two images, find and align the overlap region. Intelligent Systems Division NASA Ames Research Center
  • 21. Image Alignment w/ Interest Points Point correspondencesto be aligned image Locate interest points inin first image Locate interest points second alignment Images determine image Intelligent Systems Division NASA Ames Research Center
  • 22. Interest Point Module • Interest point detectors, descriptors, and matching ScaledInterestPointDetector<LoGInterest> detector; InterestPointList ip1 = interest_points( image1, detector ); InterestPointList ip2 = interest_points( image2, detector ); PatchDescriptor descriptor; compute_descriptors( image1, ip1, descriptor ); compute_descriptors( image2, ip2, descriptor ); DefaultMatcher matcher(threshold); InterestPointList matched1, matched2; matcher.match( ip1, ip2, matched1, matched2 ); Matrix2x2 homography = ransac( matched1, matched2, SimilarityFittingFunctor(), InterestPointErrorMetric() ); Intelligent Systems Division NASA Ames Research Center
  • 23. The Ames Stereo Pipeline Fast, high quality, automated stereogrammetric surface reconstruction originally developed for Mars Pathfinder science operations Disparity Now a Vision Workbench application. Intelligent Systems Division NASA Ames Research Center
  • 24. The Ames Stereo Pipeline Primary Image Secondary Image Ephemeris or Registration Automated Interest Points Mask / Sign of Laplacian of Gaussian Fast Stereo Correlation Outlier Rejection / Hole Filling / Smoothing Disparity Map Camera Model (e.g. Linear Pushbroom) Point Cloud/DTM Mesh Generation 3D Mesh Surprise: It’s all just Vision Workbench image views! Intelligent Systems Division NASA Ames Research Center
  • 25. Mars Stereo: MOC NA MGS MOC-Narrow Angle • Malin Space Science Systems • Altitude: 388.4 km (typical) • Line Scan Camera: 2048 pixels • Focal length: 3.437m • Resolution: 1.5-12m / pixel • FOV: 0.5 deg Intelligent Systems Division NASA Ames Research Center
  • 26. NE Terra Meridiani !% quot;quot; #$ !! $ # quot; quot;quot; quot;quot; !% #$ !!quot;quot;quot; $ !%quot;quot;#$ Upper Left: This DTM was generated from MOC images E04-01109 and M20-01357 (2.38°N, 6.40°E). The contour lines (20m spacing) overlay an ortho-image generated from the 3D terrain model. Lower Right: An oblique view of the corresponding VRML model. Intelligent Systems Division NASA Ames Research Center
  • 27. Preliminary MOLA Comparison Elevation at boresight pixel (m) Scanline Capture Time (s) Intelligent Systems Division NASA Ames Research Center
  • 28. Lunar Stereo: Apollo Orbiter Cameras ITEK Panoramic Camera • Focal length: 610 mm (24”) • Optical bar camera • Apollo 15,16,17 Scientific Instrument Module (SIM) • Film image: 1.149 x 0.1149 m • Resolution: 108-135 lines/mm Intelligent Systems Division NASA Ames Research Center
  • 29. Apollo 17 Landing Site Top: Stereo reconstruction Right: Handheld photo taken by an orbiting Apollo 17 astronaut Intelligent Systems Division NASA Ames Research Center
  • 30. Public Outreach: Hayden Planetarium Intelligent Systems Division NASA Ames Research Center
  • 31. Public Outreach: Hayden Planetarium Intelligent Systems Division NASA Ames Research Center
  • 32. Application: Image Matching • Problem: Given an image, find others like it. Example database: Apollo Metric Camera images Intelligent Systems Division NASA Ames Research Center
  • 33. Texture-Based Image Matching Model image Texture bank filtering Filtering (Gaussian 1st derivative and LOG) Grouping to remove orientation Output Representation Energy in a window E-M Gaussian mixture model Segmentation Iterative tryouts, MDL Max vote Post-processing Grouping Summarization Mean energy in segment Euclidian distance Vector Comparison Matched image Intelligent Systems Division NASA Ames Research Center
  • 34. Image Matching: Results Intelligent Systems Division NASA Ames Research Center
  • 35. FOSS and NASA Intelligent Systems Division NASA Ames Research Center
  • 36. The NOSA • The NASA Open Source Agreement, an OSI-approved non-viral open source license • Intended to protect users from contributor patent licensing issues. • Yes, we know: The current version (1.3) has several well-known peculiarities. Intelligent Systems Division NASA Ames Research Center
  • 37. U.S. Contractor Rights • The University and Small Business Patent Procedures Act of 1980, a.k.a. “Bayh-Dole”. • A university, small business, or non-profit can claim patent ownership of a federally-funded invention before the government. • The government must actively promote and attempt to commercialize the invention. • Severely complicates open-source initiatives within the government that involve universities, small businesses, or non-profits. Intelligent Systems Division NASA Ames Research Center
  • 38. The Open Source Process • Open-source approval stages include: • Invention disclosure • Copyright assignment (all parties) • Legal review (copyright & patent issues) • Export control review (e.g. ITAR) • Computer security review • more.... Intelligent Systems Division NASA Ames Research Center
  • 39. Signs of Improvement • The old model: (e.g.VW 1.0) • Seek approvals after code completion • Long, slow, high-latency release cycle • The new model: ?? (e.g. WV 2.0 ??) • Seek periodic approval for upcoming development • Allows regular updates within prescribed bounds • On the horizon: ?? • User contribution process ? • Publicly-accessible subversion repository ??? Intelligent Systems Division NASA Ames Research Center
  • 40. Free and Open Data • Free and open data has received much less attention than free and open software. • The National Aeronautics & Space Act: • The Administration, in order to carry out the purpose of this Act, shall... provide for the widest practicable and appropriate dissemination of information concerning its activities and the results thereof. • Alas, NASA does not own much of what is often imagined to be “NASA data”. Intelligent Systems Division NASA Ames Research Center
  • 41. Outreach: Google Earth Astronaut Photography MODIS Coverages • Make more datasets publicly available as KML (and soon WMS) for mash-ups. • Increase the visibility of existing public repositories of NASA data and imagery. Intelligent Systems Division NASA Ames Research Center
  • 42. Outreach: Google Moon Data coming soon via KML and WMS from NASA. Intelligent Systems Division NASA Ames Research Center
  • 43. Obtaining the Vision Workbench • VW version 1.0.1 available now. • VW version 2.0 coming this fall! http://ti.arc.nasa.gov/visionworkbench/ • To contact me: Matthew.D.Hancher@nasa.gov Intelligent Systems Division NASA Ames Research Center