Share via


Sample projects

Quick start

Dn859598.quick_start_thumb(en-us,WIN.10).png

Quick Start is a sample project accompanying the tutorial that helps get your first app utilizing the Lumia Imaging SDK up and running. This sample implements the following basic tasks: picking an image from the camera roll, applying an effect (Cartoon) to it, and processing the filtered image to be rendered and saved as a full resolution JPEG.

Sample projects

Filter Effects Filter Explorer Real-time Filter Demo
Dn859598.FilterEffects(en-us,WIN.10).png Dn859598.FilterExplorer(en-us,WIN.10).png Dn859598.RealTileFilterDemo(en-us,WIN.10).png

Filter Effects is an example app demonstrating the use of filters. This example app displays the camera viewfinder for taking a picture; alternatively an existing photo can be selected. The photo is then processed with the predefined filters. In addition, custom controls are implemented for manipulating the filter properties in real time. The processed image can be saved in JPEG format into the camera roll.

Filter Explorer is an example app demonstrating the capabilities and performance of the Lumia Imaging SDK by allowing the user to preview and apply a number of filter layers to existing or newly captured photos. When started, Filter Explorer opens up a mosaic style photo stream of user's camera roll photos with random filters applied. The photos flip at a quick pace, revealing the same photo rendered with different filters. Selecting a photo from the stream, using the gallery picker, or capturing a new photo using the camera button takes the user to the photo editing view.

Real-time Filter Demo is an example app demonstrating the use of the Lumia Imaging SDK for real-time image effects. The effects are applied to the stream received from the camera and shown in the viewfinder. The filter is changed using the buttons in the application bar. This example app does not support capturing photos.

  • Real-time Filter Demo for Windows Phone 8
Lens Blur Chroma Key Demo Real-time Blend Demo
Dn859598.LensBlurSample(en-us,WIN.10).png Dn859598.ChromaKeyDemo(en-us,WIN.10).png Dn859598.RealtimeBlendDemo(en-us,WIN.10).png
Lens Blur is an example app using Lumia Imaging SDK Interactive Foreground Segmenter to first create a mask (foreground/background). A Lens Blur Effect (aka "bokeh") is then applied to the areas that were marked as background using a user-selectable blur kernel shape and size. Foreground segments are not blurred. Chroma Key Demo is an example app demonstrating the Lumia Imaging SDK chroma key filter by making a color transparent from the camera viewfinder and showing either a video or transparency checkerboard pattern in the background. Tap on the upper original viewfinder to select a chroma key color (for example, a green backdrop canvas) and use the color distance slider to adjust the threshold of the color range to be made transparent. Tap on the lower modified viewfinder to toggle between a video background and a "transparent" background. Real-time Blend Demo is a Lumia Developer example app demonstrating real-time use of the blend filter provided by the Lumia Imaging SDK. The selected texture, using the selected blend mode and blend effect level, is applied to a stream of images from the phone's camera. The user can explore the results using different textures, blend modes, and blend effect levels. In addition, the example app demonstrates the usage of a gradient input image (GradientImageSource), meaning that one of the available textures is generated in-code, instead of being a bitmap. The latest update adds blending of smaller images with drag, pinch-zoom, and rotate gestures for exact positioning, size, and orientation.
Image Sequencer
Dn859598.screenshot-preview(en-us,WIN.10).png
Image Sequencer is an example app demonstrating the use of the Image Aligner and Gif Renderer APIs (new in the Lumia Imaging SDK 1.2) for creating Cinemagraph-style animations in animated GIF format. The image sequences are captured using the sequence capture functionality of the device camera. There are also some example image sequences that can be used as a basis for the alignment and animation. The user can manipulate the animation by limiting the animated area to a small rectangular section, and by stabilizing the images in order to eliminate unwanted shaking.