+ All Categories
Home > Documents > Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Date post: 25-Dec-2015
Category:
Upload: vanessa-randall
View: 217 times
Download: 1 times
Share this document with a friend
Popular Tags:
26
Augmented Reality with .NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008
Transcript
Page 1: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Augmented Reality with .NET

casey chesnutbrains-N-brawn.com

Dallas C# SIGJanuary 2008

Page 2: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

brains-N-brawn.com• Pervasive Computing

– Tablet PC (MVP 03)

– Compact Framework (MVP 04)

– Advanced Web Services (MVP 05)

– Media Center (MVP 06)

– Speech / Office Communication Server (MVP 07)

– Location Based Services– Artificial Intelligence– 3D– Image Processing– Augmented Reality

Page 3: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Source

• http://www.brains-N-brawn.com/wpfAugReal/• http://www.brains-N-brawn.com/wpf3dPart• Environment : 32-bit Vista, VS 2005, .NET 3.0,

Logitech QuickCam Pro Web Cam for Notebooks

Page 4: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Audience

• DirectShow?

• 3D?

• WPF?

• Augmented Reality?

Page 5: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Outline

• Intro to Augmented Reality

• DirectShow

• Augmented Reality (AR) Libraries

• WPF 3D

Page 6: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Introduction

• Augmented Reality (AR) - is the combination of real world data with virtual data.

Page 7: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Audience

• What are some current examples?

Page 8: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Current Examples

• Fighter Pilot HUDs• QuickCam video conferencing• PS3 Eye of Judgment• Sports : Football, Hockey, Nascar• Aircraft maintenance• ARQuake• Car GPS HUD• …• Star Wars chess!

Page 9: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Videos

• QuickCam

• Eye of Judgment

Page 10: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Steps

• Acquire real-world data (camera, HMD, mobile devices)

• Recognize real-world data (computer vision, face detection, fudicial markers, GPS)

• Determine relative position of real-world marker to input source.

• Display composite of real-world data and virtual object (monitor, HMD, mobile device, projector).

Page 11: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Acquire real-world data

• OpenCV / SharperCV

• DirectShow / DirectShow .NET

• Windows Media Foundation

• …

Page 12: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

DirectShow

• Used by Windows Media Player, Media Center Edition, Windows Media Encoder, Movie Maker, …

• User for audio/video playback, DVD, TV tuners, web cams, media capture, media transcoding, …

Page 13: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

DirectShow

• COM

• GraphEdt tool

• Graph, Filter, Pin, Configuration

• Filters (Source, Transform, Sink)

• DirectShow .NET (C# wrapper)– http://directshownet.sourceforge.net/

• Learning the filters is key

• Not WPF 3D friendly

Page 14: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

DirectShow .NET

• C# wrapper

• Wraps a majority of DirectShow

• Many samples available, along with GraphEdt.exe, and MSDN documentation

• Also has beta wrappers for Windows Media Lib and Windows Media Foundation

Page 15: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Demo

• GraphEdt

• /dshowPlay

• /wpfArBasic - capture

Page 16: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Recognize real-world data

• Computer Vision

• Face tracking

• AR Libraries (fudicial markers)

• GPS

• …

Page 17: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

AR Libraries

• ArToolKit

• ArTag

• ArToolKitPlus– http://studierstube.icg.tu-graz.ac.at/

handheld_ar/artoolkitplus.php

• Studierstube Tracker

• Goblin XNA (coming)

Page 18: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

ArToolKitPlus

• Optimized for mobile devices

• C++ Lib

• GPL, no longer under development– Studierstube Tracker is the latest

• Not well documented, but ArToolKit is

• Single, Multi-config, Multi-distinct tracking

• Markers (ID, BCH, Patterns)

Page 19: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Videos

• ARTag Magic Lens

• Studierstube Mobile

Page 20: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Demo

• /wpfArBasic – AR tracking

• /wpfArTest

Page 21: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Composite real and virtual data

• GDI

• OpenGL / Tao

• Direct3D

• XNA

• WPF 3D

• …

Page 22: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

WPF 3D

• Viewport3D

• MatrixCamera

• Light

• ModelVisual3D / Model3DGroup

• Material

• Transform3D

• HitTest

Page 23: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

WPF 3D

• 3D Programming for Windows (Petzold)

• Windows SDK Samples

Page 24: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Demo

• Simple WPF 3D

• /wpfArBasic – 3D model

• /wpfArVideo

Page 25: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Future

• Augmented Reality @ Home (book)– Mostly OpenGL and C++, but at least one C#

and Tao sample. Based on ArTag library.

• Goblin XNA (AR library)– For PC use, not on 360 until XNA is extended

• …

Page 26: Augmented Reality with.NET casey chesnut brains-N-brawn.com Dallas C# SIG January 2008.

Questions


Recommended