nokia imaging sdk - windows phone 8.1

20

Upload: winstorevn

Post on 23-Jan-2017

898 views

Category:

Mobile


5 download

TRANSCRIPT

Page 1: Nokia imaging sdk - windows phone 8.1
Page 2: Nokia imaging sdk - windows phone 8.1

NOKIAIMAGING SDK

Page 3: Nokia imaging sdk - windows phone 8.1

• Includes more than 50 ready to use image processing filters and effects, with various adjustment parameters

• Supports creation of totally custom filters

• Accessible from managed and native code

• Supports various source types: bitmaps, streams, files and camera viewfinder

• Partial JPEG decoding - using RAJPEG technology, access image data without decoding a whole JPEG image for a fast previews, application of effects, rotation, and cropping of high resolution images.

WHAT IS THE NOKIA IMAGING SDK?

Page 4: Nokia imaging sdk - windows phone 8.1

NOKIA IMAGING SDKMakes imaging magic

Easy to use, 50+ filters, 1,500+ apps

1.0JUL 2013

Performance enhancements, Lens blur, HDR, Foreground picker

1.1FEB 2014

Easy GIF creation, Local image blend, Even

more performance enhancements

1.2APR 2014

BETA

Page 5: Nokia imaging sdk - windows phone 8.1

WHAT’S NEW IN THE 1.2 (BETA) VERSION?

Blend Filter Target AreaImage Aligner

Animated GIF rendererLow memory custom effects

Supports Windows Phone 8.1Extends Windows 8.1 support to include x64 configuration

Page 6: Nokia imaging sdk - windows phone 8.1

FILTERS AND EFFECTS

Page 7: Nokia imaging sdk - windows phone 8.1

CHROMAKEY

Page 8: Nokia imaging sdk - windows phone 8.1

BLEND MODE: COLOR BURNBLEND MODE: COLORBLEND MODE: ADD

BLEND MODES

Page 9: Nokia imaging sdk - windows phone 8.1

Library contains three architectural building blocks:

• Image sources (such as bitmaps, streams, files)• Effects (built-in or custom)• Renderers (outputs bitmaps or files)

Combining these building blocks, developer creates rendering pipeline

Once pipeline is created, it is possible to change filter parameters, or their sequence.

IMAGE SOURCE

FILTER EFFECTS

CARTOON FILTER

FOG FILTER

RENDERER

GENERAL ARCHITECTURE OVERVIEW

Full details in Lumia Developer Library

http://developer.nokia.com/resources/library/Lumia/

Page 10: Nokia imaging sdk - windows phone 8.1

DEMOHands-On:Taking the SDK into use, Applying filters

Page 11: Nokia imaging sdk - windows phone 8.1

GENERAL OVERVIEW OF REQUIRED STEPS

• Step 1: Include Nokia Imaging SDK Libraries into your project• Step 2: Prepare source image: uncompressed image as WriteableBitmap,

AudioVideoCaptureDevice or compressed image as IBuffer, StorageFile• Step 3: Create image source as instance of ImageSource• Step 4: Instantiate and configure one or more effects, chained together• Step 5: Create renderer with associated effect chain and target output• Step 6: Use asynchronous methods RenderAsync in order to generate output

Remember: official documentation is part of the Lumia Developer Library

http://developer.nokia.com/resources/library/Lumia/nokia-imaging-sdk.html

Page 12: Nokia imaging sdk - windows phone 8.1

NOKIA IMAGING SDK LIBRARIES

Installable via NuGet Package Manager

Make sure that in the Project’s Configuration Manager, there will remain only X86 and ARM platforms. “Any CPU” and “x64” platforms should be removed

Remember: Nokia Imaging SDK library is going to be included into your final XAP file

Page 13: Nokia imaging sdk - windows phone 8.1

INTERACTIVE FOREGROUND SEGMENTER

Page 14: Nokia imaging sdk - windows phone 8.1

LENS BLUR

Page 15: Nokia imaging sdk - windows phone 8.1

DEMOHands-On:Interactive Foreground Segmenter & Lens Blur

Page 16: Nokia imaging sdk - windows phone 8.1

SAY CHEESE!

Blended images must have same size, or they will be stretched.

SAY CHEESE!

Now you can control Blend Target area’s size.

BLEND FILTER TARGET AREA

Page 17: Nokia imaging sdk - windows phone 8.1

ANIMATED GIF RENDERER

Page 18: Nokia imaging sdk - windows phone 8.1

IMAGE ALIGNER

Page 19: Nokia imaging sdk - windows phone 8.1

DEMOHands-On:Image Aligner & GIF renderer

Page 20: Nokia imaging sdk - windows phone 8.1