+ All Categories
Home > Technology > LUMIA APP LABS: CREATE STUNNING IMAGING APPS FOR LUMIA PHONES

LUMIA APP LABS: CREATE STUNNING IMAGING APPS FOR LUMIA PHONES

Date post: 12-Jan-2015
Category:
Author: nokia-developer
View: 3,324 times
Download: 3 times
Share this document with a friend
Description:
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.
Embed Size (px)
Popular Tags:
of 16 /16
CREATE STUNNING IMAGING APPS Berthier Lemieux Technology Wizard LUMIA APP LABS #4
Transcript
  • 1. LUMIA APP LABS #4CREATE STUNNINGIMAGING APPSBerthier LemieuxTechnology Wizard

2. TYPICAL CAMERA USE CASES.WP7.5 WP8 IMAGE PICKERX X AUGMENTED REALITY VIEWFINDERX X PRO-CAMERAX FILTERS X 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved. 3. IMAGE PICKERKEY APIS:Microsoft.Phone.Tasks.PhotoChooserTaskMicrosoft.Phone.Tasks.CameraCaptureTaskExample code:http://tinyurl.com/cqlezbn 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved. 4. 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. 5. AR VIEWFINDERKEY API:Microsoft.Devices.PhotoCameraMicrosoft.Devices.Sensors.MotionSystem.Windows.Media.VideoBrush Example code: http://tinyurl.com/c3sdyqa 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved. 6. DISPLAY THE CAMERA FRAMES cam = new Microsoft.Devices.PhotoCamera();viewfinderBrush.SetSource(cam); 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved. 7. YAW ROLL PITCH See also Petzold: http://tinyurl.com/cgydz3u 2012 Nokia. All rights reserved.12/5/2012 2012 Microsoft. All rights reserved. 8. AR VIEWFINDERmotion = 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. 9. PRO-CAMERA WP8KEY API: Windows.Phone.Media.Capture.PhotoCaptureDevice Windows.Phone.Media.Capture.CameraCaptureSequenceExample code:HTTP://TINYURL.COM/CO79VKM 10. DeviceNokia Lumia 820 Nokia Lumia 920WP8SensorFrontBack Front BackAutofocus range Infinity Auto, Macro, Normal, Full, InfinityAuto, Macro, Normal, Full, Hyperfocal, Infinity Hyperfocal, InfinityPreview resolution640x480800x448, 640x480 1280x720, 1024x7681280x720, 1024x768Capture resolution640x4803264x2448, 3552x2000, 1280x960, 1280x720,3264x2448, 3552x2000, 2592x1936, 2592x1456, 640x4802592x1936, 2592x1456, 2048x1536, 640x480 2048x1536, 640x480Exposure compensation -12...12 -12...12 -12...12-12...12(EV)Exposure time 1...333331...500000 1...33333 1...500000(microseconds)Flash modeOffAuto, On, OffOff Auto, On, OffFocus illumination mode OffAuto, On, OffOff Auto, On, OffISO 100...800100...800100...800 100...800Manual focus position No Yes, 1000 positionsNoYes, 1000 positionsScene modeAuto, Sport, Night, Backlit Auto, Macro, Sport, Auto, Sport, Night, Backlit Auto, Macro, Sport,Night, Night Portrait,Night, Night Portrait,Backlit BacklitWhite balance presetCloudy, 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. 11. 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 PreparePhotoCaptureDevice.OpenAsync() PhotoCaptureDevice.PrepareCaptureSequenceAsync() CreateCapturePhotoCaptureDevice.CreateCaptureSequence()CameraCaptureSequence.StartCaptureAsync() Specify ProcessCameraCaptureFrame.DesiredProperties[] CameraCaptureFrame.CaptureStream 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved. 12. WP8FILTERSKEY TECHNOLOGIES:DirectXARM 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. 13. HOOKINGINTO THEPLATFORM 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved. 14. WP8 LENSESWP8Documentation:http://tinyurl.com/cgcfafd 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved. 15. HOOKING INTO PHOTOS HUBSHARE PICKERRICH MEDIA APPSPHOTO EDIT PICKERDocumentation:http://tinyurl.com/cawyy23 16. Thank you! 2012 Nokia. All rights reserved. 12/5/2012 2012 Microsoft. All rights reserved.


Recommended