LUMIA APP LABS: CREATE STUNNING IMAGING APPS FOR LUMIA PHONES
Upcoming SlideShare
Loading in...5
×
 

LUMIA APP LABS: CREATE STUNNING IMAGING APPS FOR LUMIA PHONES

on

  • 3,958 views

The Nokia Lumia 920 with Windows Phone 8 is setting the standard in smartphone-imaging technology. In these webinar slides, you’ll learn about creating stunning imaging apps that use the ...

The Nokia Lumia 920 with Windows Phone 8 is setting the standard in smartphone-imaging technology. In these webinar slides, you’ll learn about creating stunning imaging apps that use the advancements in the Lumia 920 and the potential of the new Microsoft Windows Phone 8. You’ll learn how to capture superb images and video, control ISO and other parameters, perform multiframe image capture, get direct access to sensor data, and apply special effects. The Windows Phone 8 native camera app includes a feature called ‘lenses’ that makes it easy for users to apply the effects produced by your apps. The presentation explains how you make your apps part of this seamless user experience.

Statistics

Views

Total Views
3,958
Views on SlideShare
3,955
Embed Views
3

Actions

Likes
1
Downloads
317
Comments
1

1 Embed 3

http://anthonyalvarez.us 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • The video for this session is now available, its embedded after the last slide to available here: http://youtu.be/1ybjxRqlYaE
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

LUMIA APP LABS: CREATE STUNNING IMAGING APPS FOR LUMIA PHONES LUMIA APP LABS: CREATE STUNNING IMAGING APPS FOR LUMIA PHONES Presentation Transcript

  • LUMIA APP LABS #4CREATE STUNNINGIMAGING APPSBerthier LemieuxTechnology Wizard
  • TYPICAL CAMERA USE CASES. WP7.5 WP8 IMAGE PICKER X X AUGMENTED REALITY VIEWFINDER X X PRO-CAMERA X FILTERS X © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • IMAGE PICKERKEY APIS: Microsoft.Phone.Tasks.PhotoChooserTask Microsoft.Phone.Tasks.CameraCaptureTaskExample code:http://tinyurl.com/cqlezbn © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • IMAGE PICKER private void CameraRoll_Click(object sender, RoutedEventArgs e) { PhotoChooserTask objPhotoChooser = new PhotoChooserTask(); objPhotoChooser.Completed += objPhotoChooser_Completed; objPhotoChooser.ShowCamera = true; objPhotoChooser.Show(); } void objPhotoChooser_Completed(object sender, PhotoResult e) { switch (e.TaskResult) { case TaskResult.OK: PickedImage.Source = new BitmapImage(new Uri(e.OriginalFileName)); break; ... © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • AR VIEWFINDERKEY API: Microsoft.Devices.PhotoCamera Microsoft.Devices.Sensors.Motion System.Windows.Media.VideoBrush Example code: http://tinyurl.com/c3sdyqa © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • DISPLAY THE CAMERA FRAMES <Grid x:Name="LayoutRoot" Background="Transparent"> <Rectangle Width="640" Height="480" Canvas.ZIndex="1"> <Rectangle.Fill> <VideoBrush x:Name="viewfinderBrush" /> </Rectangle.Fill> </Rectangle> </Grid> cam = new Microsoft.Devices.PhotoCamera(); viewfinderBrush.SetSource(cam); © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • YAW ROLL PITCH See also Petzold: http://tinyurl.com/cgydz3u© 2012 Nokia. All rights reserved. 12/5/2012© 2012 Microsoft. All rights reserved.
  • AR VIEWFINDER motion = new Motion(); motion.TimeBetweenUpdates = TimeSpan.FromMilliseconds(20); motion.CurrentValueChanged += motion_CurrentValueChanged; motion.start(); ... private void CurrentValueChanged(MotionReading reading) { // Phone has moved, update the overlays on the screen according to // reading.Attitude.RotationMatrix © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • PRO-CAMERA WP8KEY API: Windows.Phone.Media.Capture.PhotoCaptureDevice Windows.Phone.Media.Capture.CameraCaptureSequenceExample code:HTTP://TINYURL.COM/CO79VKM
  • Device Nokia Lumia 820 Nokia Lumia 920 WP8Sensor Front Back Front BackAutofocus range Infinity Auto, Macro, Normal, Full, Infinity Auto, Macro, Normal, Full, Hyperfocal, Infinity Hyperfocal, InfinityPreview resolution 640x480 800x448, 640x480 1280x720, 1024x768 1280x720, 1024x768Capture resolution 640x480 3264x2448, 3552x2000, 1280x960, 1280x720, 3264x2448, 3552x2000, 2592x1936, 2592x1456, 640x480 2592x1936, 2592x1456, 2048x1536, 640x480 2048x1536, 640x480Exposure compensation -12...12 -12...12 -12...12 -12...12(EV)Exposure time 1...33333 1...500000 1...33333 1...500000(microseconds)Flash mode Off Auto, On, Off Off Auto, On, OffFocus illumination mode Off Auto, On, Off Off Auto, On, OffISO 100...800 100...800 100...800 100...800Manual focus position No Yes, 1000 positions No Yes, 1000 positionsScene mode Auto, Sport, Night, Backlit Auto, Macro, Sport, Auto, Sport, Night, Backlit Auto, Macro, Sport, Night, Night Portrait, Night, Night Portrait, Backlit BacklitWhite balance preset Cloudy, Daylight, Cloudy, Daylight, Cloudy, Daylight, Cloudy, Daylight, Fluorescent, Tungsten Fluorescent, Tungsten Fluorescent, Tungsten Fluorescent, Tungsten © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • WP8Windows.Foundation.Size resolution = new Windows.Foundation.Size(640, 480);camera = await PhotoCaptureDevice.OpenAsync(CameraSensorLocation.Back,resolution);viewfinderBrush.SetSource( camera );CameraCaptureSequence sequence = camera.CreateCaptureSequence(1);sequence.FrameAcquired += sequence_FrameAcquired;CameraCaptureFrame frame = sequence.Frames[0];frame.DesiredProperties[KnownCameraPhotoProperties.FlashMode] = FlashState.On;await camera.PrepareCaptureSequenceAsync(sequence);await sequence.StartCaptureAsync(); Open Prepare PhotoCaptureDevice.OpenAsync() PhotoCaptureDevice.PrepareCaptureSequenceAsync() Create CapturePhotoCaptureDevice.CreateCaptureSequence() CameraCaptureSequence.StartCaptureAsync() Specify Process CameraCaptureFrame.DesiredProperties[] CameraCaptureFrame.CaptureStream © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • WP8FILTERSKEY TECHNOLOGIES: DirectX ARM Neon intrinsicEXAMPLE CODE:http://tinyurl.com/cqc79n4http://tinyurl.com/cuvosezhttp://tinyurl.com/bsvoyl9 © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • HOOKINGINTO THEPLATFORM © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • WP8 LENSES WP8Documentation:http://tinyurl.com/cgcfafd © 2012 Nokia. All rights reserved. 12/5/2012 © 2012 Microsoft. All rights reserved.
  • HOOKING INTO PHOTOS HUB SHARE PICKER RICH MEDIA APPS PHOTO EDIT PICKER Documentation: http://tinyurl.com/cawyy23
  • Thank you!© 2012 Nokia. All rights reserved. 12/5/2012© 2012 Microsoft. All rights reserved.