• Tidak ada hasil yang ditemukan

Efficient Implementation of Mean Formula for Image Processing using FPGA Device

N/A
N/A
Protected

Academic year: 2018

Membagikan "Efficient Implementation of Mean Formula for Image Processing using FPGA Device"

Copied!
19
0
0

Teks penuh

(1)

Efcient Implementation

of Mean Formula for Image

Processing

using FPGA Device

(2)

Introduction

Digital image processing is a proses for manipulating and analysing image with computer.

Image processing can be divided into two kind of activities :

 Increasing the quality of image for easy interpretation by human eye, this activity known as image enhancement

(3)

Previous Research

(1)

Some image processing uses basic statistic formula such as :

histogram, mean, variance, etc. In embedded environtment those formula must be implemented in hardware base, like FPGA for example.

A research for histogram calculation for 8x8 image need 256 addition,

(4)

Previous Research

(2)

 Other research for histogram and mean calculation base on

(5)

IMAGE PROCCESSING FORMULA

(1)

Histogram Formula

Image histogram is a diagram that draw frequency of the appearance every intensity value from the whole image pixel element. The higher value of histogram show the number of pixels with that intensity value is high and vice versa. Histogram can show the brightness and contrast of the image. A lot of use histogram in image texture analysis because of the simplicity of the algorithm.

Histogram mathematical formula is :

H(i) is histogram of the image with NxM size and

i is intensity value of the pixel in the image.

(6)

Example of a histogram diagram comming from several

image.

http://www.freeimages.com/search/texture

Histogram smooth texture

Histogram regular texture

(7)

IMAGE PROCCESSING FORMULA

(2)

From the histogram value we can calculate the ‘mean’ value from the image.

Mathematical formula for ‘mean’ (µ) is :

 In this formula i is grey level of intensity pixel in the image and p(i) is the probability of occurence i.

L is the higher value of grey level i. This formula will produce an average brightness of objects

(8)

Pixel Image (NxM)

(9)

AGORITHM (1)

 Mean is the frst-order statistical analysis methods used for segmentation and feature extraction processes an image.

Psudo code 1. Mean formula ( 1st version)

(10)

 Referring to the equation (2) and (1) where the mean is calculated by using the calculation result histogram, equation (3) is proposed :

Psudo code 2 is the revised algorihtm with some efciency,

reducing the loop and mathematical operation.

PROPOSED ALGORITHM (2)

Psudo code 2. Mean formula ( revised version)

(11)

Result Matlab

(12)

HARDWARE IMPLEMENTATION (1)

 Component design for psudo code[1] :

Shown in the picture, is the frst design based on frst pseudo

code, this design need a selector to select intensity value of pixel from the image between 0 to 255 and send to thier respective accummulator (256 accumulator with 256 addition component).

All these accumulator value will be send to 256 input

addition (or another 256 addition),

So we need 512 addition for this design. And fnnally to

(13)

HARDWARE

IMPLEMENTATION

(2)

Component design for psudo code[2] :

Further, shown in the picture is new design of the design of the

previous image.

To calculate mean value actually we don’t have to calculate

histogram, to hold the total value of pixel element value

(htsum) in the 2nd pseudo code

This approach give us the reduction of mathematical operation

(component)

This design only need one addition in one accumulator and one

(14)

Entity Diagram of efficient component

(15)

Simulation result for proposed

component

(16)

CONCLUSSION

 The efcient implementation of mean formula into harware

base compponent using FPGA device has been proposed.

This component use one addition and one shift right register

with 64 clock cycles to calculate mean value for 8x8 image size.

 This design needs 14 slices of fip-fops and 14 of 4 input

LUTs.

 The diference (as an error) of mean value comparing to

(17)

References

Nitin Sachdeva and Tarun Sachdeva,“ An FPGA Based Real-time Histogram Equalization Circuit for Image Enhancement”, International Journal of Electronics and Communication Technology (IJECT) Vol 1 Issue 1 December 2010.

Atit Pertiwi, “Optimalisasi Metode Implementasi Algoritma Histogram, Mean Dan Variansi Ke Dalam IC-FPGA Untuk Aplikasi Analisis Tekstur Citra Real Time”, Disertasi, Teknologi Informasi, Universitas Gunadarma, 2015.

Luca Maggiani, Claudio Salvadori, Matteo Petracca, Paolo Pagano, Roberto Saletti, “Reconfgurable Archictecture for Computing Histograms in Real-Time Tailored to FPGA-based Smart Camera”, Industrial Electronics (ISIE), IEEE 23rd International Symposium on , Istambul Turkey, June 2014.

Wendy L. Martinez and Angel R. Martinez, “Computational Statistics Handbook

with MATLAB”, Chapman & Hall/CRC, USA, 2002.

R.E. Woods , S.L. Eddins , dan R.C. Gonzales, “Digital Image Processing Using MATLAB . Pearson Educatio, 2005.

(18)
(19)

Referensi

Dokumen terkait

If the histogram value has a significant distribution of diversity of cipher image and also have significant differences with plain image histogram, it can be said that

The input color coordinates of each pixel are independently transformed into another set of color coordinates, where the image in each coordinate is enhanced by its own

In an OFDM domain the info bit can be multiplexed into number of N image, every last with image time of T, and every image stream can be utilized to regulate the parallel sub bearers

"Intensity average value of image segmentation for infrared image of environmental condition", 2015 2nd International Conference on Information Technology, Computer, and Electrical

Figure 4.3 Grayscale image with resolution of 80-by-60 The image has the same value now as it is in black and white form.. This is easier to process as the image can be read as 0 and 1

3.1.3 Light intensity calibration The knowledge about the camera parameters, the ge- ometry of the scene, and the light position allow us to compute, for each pixel in the planar

Figure 3.6 Edge processing program After calling out the added image, in this case the unknown is A, as the use of median filtering and set the pixel to 3-by-3 format and from here the

The determination of histogram value as object features and Extreme Learning Machine as classifier incorporated with value comparison of average color intensity is able to detect the