Image Processing

Samer Mestom

7/20/2019

Application Overview

This presentation is aimed to show the development of the image processing software. It is made of Shiny ui.R and server.R scripts. The ui.R captures the user interactions, while the server.R performs the calculations based on the inputs from ui.R. The whole idea behind the application is to play with the 3-dimensional plane structure (RGB) of a PNG image. The PNG stucture is made of three planes, each contributes to a color. The intensity is a decimal value between 0 and 1.

Background

The application is easy to use,but behind the scenes there are lot of mathematical operations that do the background calculations.

library(imager)
plot(load.image("pngmanip.png")) 

PNG Multi-dimentional Plane

you can toggle Red, Green, or Blue check boxes to activate or deactive the respective color plane. Turning off (multiplying by 0) all the three planes will render a black image.

library(imager)
plot(load.image("pngmanip1.png")) 

Bluring Effect

Also you can blur out the whole image using the blur slide bar. Actually it activates a low pass filter in the background and uses convolution equation which multiplicates the square neighbours of the pixel by the filter, then it replaces the pixel value with its neighbour average.

library(imager)
plot(load.image("pngmanip2.png")) 

THANK YOU