Nokia imaging sdk - windows phone 8.1

Post on 23-Jan-2017

898 views 5 download

Transcript of Nokia imaging sdk - windows phone 8.1

NOKIAIMAGING SDK

• 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?

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

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

FILTERS AND EFFECTS

CHROMAKEY

BLEND MODE: COLOR BURNBLEND MODE: COLORBLEND MODE: ADD

BLEND MODES

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/

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

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

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

INTERACTIVE FOREGROUND SEGMENTER

LENS BLUR

DEMOHands-On:Interactive Foreground Segmenter & Lens Blur

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

ANIMATED GIF RENDERER

IMAGE ALIGNER

DEMOHands-On:Image Aligner & GIF renderer