25
GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

Embed Size (px)

Citation preview

Page 1: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

IMAGE PLUGINS FOR GIMP

By: Vera Kukić

Supervisors: Shaun Bangay and Adele Lobb

Page 2: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Plugins for GIMP

The GIMP is the acronym for GNU Image Manipulation Program.

It is a freely distributed piece of software suitable for such tasks as photo retouching, image composition and image authoring.

Page 3: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Plugins for GIMP

GIMP uses external modules called plugins

Plugins can:– Load and save images– Run effects filters– Interface other programs with GIMP

• Scanning software• Ray tracer• Other image manipulation packages

Page 4: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Plugins for GIMP

There are many things that can be accomplished with plugins

– Colouring Greyscale Images– Image Inpainting– Simulating Decorative Mosaics

Page 5: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Colouring Greyscale Images

The inspiration for my first plugin comes from the paper “Transferring Color to Greyscale Images”

General technique for colouring greyscale images– Transfer colour between the source (colour

image) and the destination (greyscale image)

Page 6: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Colouring Greyscale Images

Minimizes the human effort– Instead of choosing colours from RGB palette

the entire colour mood is transferred from the source to the destination

– This is done by matching the luminance and the texture information

Page 7: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Colouring Greyscale Images

Page 8: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Colouring Greyscale Images

Page 9: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Inpainting

The second plugin refers to the “Image Inpainting” paper

Image Inpainting is a technique used for modifying an image in an undetectable form.

Page 10: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Inpainting

The application of this plugin:

– Restoration of damaged paintings and photographs

– Removal of super imposed texts– Removal / replacement of selected objects

Page 11: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Inpainting

Page 12: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Inpainting

Page 13: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Image Inpainting

Page 14: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Simulating Decorative Mosaics

The last plugin that I will be attempting comes from the “Simulating Decorative Mosaics” paper.

Tile mosaics are images made up of small polygonal coloured patches

This method uses tiles to reproduce images

Page 15: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Simulating Decorative Mosaics

The technique relies on the hardware to find analogous minimal-energy configurations to tile the mosaic.

Page 16: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Simulating Decorative Mosaics

Page 17: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Simulating Decorative Mosaics

Page 18: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Simulating Decorative Mosaics

Page 19: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Simulating Decorative Mosaics

Page 20: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Design and Implementation

GIMP - Linux– Use C to develop the plugins

GIMP is:– Open source– Well documented– A lot of reference material available– Easy to use

Page 21: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Design and Implementation

GIMP interfaces with plugins

The position of the plugin is defined within itself– Example:

• (char *) "<Image>/Filters/Colors/ColourTransfer"

Page 22: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Extensions

The method of colouring greyscale images can be extended to:

– Work on small images– Colour images with similar tones

Page 23: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Extensions

Image inpainting can further be improved by:

– Improving the inpainting algorithm, allowing it to reproduce large textured regions.

Page 24: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Extensions

Simulating decorative mosaics can be extended further by:

– Using higher order moments of each voronoi region

– Filling in gaps between tiles by using small tile chips

Page 25: GIMP IMAGE PLUGINS FOR GIMP By: Vera Kukić Supervisors: Shaun Bangay and Adele Lobb

GIMP

Questions