Nokia Imaging SDK and Lumia 1020

Post on 12-Jan-2015

442 views 6 download

Tags:

description

Presented at Mobile Monday Tampere 16.09.2013

transcript

CAN I ACCESS ALL THOSE PIXELS?

CAN I EFFICIENTLY HANDLE THEM?

WHAT’S IN IT FOR ME?

SHOW ME … THE PIXELS!

By default, the PhotoCaptureDevice doesn’t expose the 34 or 38 megapixels resolutions.

DO YOU NEED IT?

Without any changes, your app will capture awesome 5 MP images.

captureResolution = PhotoCaptureDevice.GetAvailableCaptureResolutions(SENSOR_LOCATION).Last();var deviceName = Microsoft.Phone.Info.DeviceStatus.DeviceName; if (deviceName.Contains("RM-875") || deviceName.Contains("RM-876") || deviceName.Contains("RM-877")) { // We now knows that the application runs on a Lumia 1020 captureResolution = new Windows.Foundation.Size(7712, 4352); // 16:9 ratio } _device = await PhotoCaptureDevice.OpenAsync(SENSOR_LOCATION, captureResolution);

DO YOU REALLY WANT IT?

Applications must to be aware of high resolution in order to use it

• High res images requires special attention and may break other applications.

BE NICE TO YOUR NEIGHBOURS!

• Don’t save full resolution images to the camera roll.

Full guide at Lumia App Labs https://developer.nokia.com/Develop/Windows_Phone/Learn/

Episode 14: Working with high resolution images on Windows Phone 8

PIXEL CRUNCHING

Experts in imaging algorithmsAcquired by Nokia, 24 July 2012

Their technology drives: Nokia Smart Camera Nokia Cinemagraph Nokia Creative studio

SCALADO

Really fast preview of any region of the image

Complete set of base filters and effects (52 filters). Combine them to generate more complex ones

Highest performance and low memory consumption through RAJPEG technology (>15 patents)

Cropping and JPEG compression parameter control

NOKIA IMAGING SDK

Apps developed with the SDK can be used on any Windows Phone 8, including non-Nokia, devices

The library is a WinPRT library. Routines are available via a C# interface as well as a C/C++ interface

Nokia Imaging SDK License Agreement: Free to use, attribution

GOOD TO KNOW

Easy to use …EditingSession session = new EditingSession(jpegData);

session.AddFilter(FilterFactory.CreateCartoonFilter(true));session.AddFilter(FilterFactory.CreateFogFilter());

await session.RenderToImageAsync(FilteredImage);

Full guide at Lumia App Labs https://developer.nokia.com/Develop/Windows_Phone/Learn/

Episode 15: Working with the Nokia Imaging SDK

Filter Effects, simple illustration

of basics

Example projectsReal-time Filter

Demo, live viewfinder stream

processing

Filter Explorer, complex

illustration of various usage

scenarios

• Random Access JPEG (RAJPEG)• Fast downscaling of the image• Instant partial decoding• Reduce memory up to 20x• Up to 10x better performance

More than just filters

ONE MORE THING...

ENTER NOW > Nokia.ly/create

8 CATEGORIES. 14 MISSIONS. 141 WINNERS.

A global app development competition for Nokia Lumia and Windows Phone 8.

It’s your chance to win prizes that will get you noticed.

THANK YOU!